partial SSL_read()

Felipe Gasper felipe at felipegasper.com
Tue Apr 30 15:06:04 UTC 2019


Hello,

	I’ve got an OpenSSL client that’s showing the behavior in strace:

read 5 bytes - OK
read 11228 bytes - gets partial response
read remainder - ECONNRESET

	That ECONNRESET causes OpenSSL to fail the entire SSL_read().

	My question is, does TLS allow a client to be _able_ to parse an incomplete message? Or is it that only the entire message can be decoded?

	Thank you!

-Felipe Gasper
Mississauga, Ontario


More information about the openssl-users mailing list