SSL_read empty -> close?
Felipe Gasper
felipe at felipegasper.com
Wed Oct 26 17:15:12 UTC 2022
Hello,
I’m seeing that OpenSSL 3, when it reads empty on a socket, sends some sort of response, e.g.:
----- before read
[pid 42417] read(7<UNIX:[276782->276781]>, "", 5) = 0
[pid 42417] sendmsg(7<UNIX:[276782->276781]>, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0022", iov_len=2}], msg_iovlen=1, msg_control=[{cmsg_len=17, cmsg_level=SOL_TLS, cmsg_type=0x1}], msg_controllen=17, msg_flags=0}, 0) = -1 EPIPE (Broken pipe)
----- after read
What is that being sent after the read()? Is there a way to disable it?
Thank you!
cheers,
-Felipe Gasper
More information about the openssl-users
mailing list