Does keep-alive 's https, need to shake hands every time?

when I enable https, to establish a connection for the first time, there must be a tls handshake, so if I open a keep-alive, multiplex connection, do I still need to do a tls handshake every time I reuse a connection?

Nov.11,2021

the handshake between keep-alive and tls has nothing to do with it.
keep-alive refers to how long the connection has been idle (keepalivetimeout) or how many requests (maxKeepAliaveRequests) has been processed before closing.

tls shake hands, one connection only once.


if the connection is not disconnected, you don't need


every handshake, keep-live is meaningless.


keep-alive is mainly to allow multiple http requests to share a Tcp connection, instead of creating a new TCP connection every time!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beae02-31a36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beae02-31a36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?