Github user oknet commented on the issue:
https://github.com/apache/trafficserver/pull/701
@shinrich I remember that SSL_write would return âSSL_WANT_READâ error
code.
from: https://www.openssl.org/docs/manmaster/ssl/SSL_write.html
If the underlying BIO is non-blocking, SSL_write() will also return, when
the underlying BIO could not satisfy the needs of SSL_write() to continue the
operation. In this case a call to SSL_get_error with the return value of
SSL_write() will yield SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. As at any
time a re-negotiation is possible, a call to SSL_write() can also cause read
operations! The calling process then must repeat the call after taking
appropriate action to satisfy the needs of SSL_write(). The action depends on
the underlying BIO. When using a non-blocking socket, nothing is to be done,
but select() can be used to check for the required condition. When using a
buffering BIO, like a BIO pair, data must be written into or retrieved out of
the BIO before being able to continue.
Is the code added for handle SSL_ERROR_WANT_READ or related ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---