diff options
author | Andrey Suvorov <a.suvorov@f5.com> | 2021-05-26 11:11:58 -0700 |
---|---|---|
committer | Andrey Suvorov <a.suvorov@f5.com> | 2021-05-26 11:11:58 -0700 |
commit | 3efffddd95e564fe10f59e1de45afc2b551a5cba (patch) | |
tree | e1efa2f511c68878405a3c45c3458ddb300f71d5 /docs/changes.xml | |
parent | d67a0c871157454d591fa1d2a8b2d831b32e4040 (diff) | |
download | unit-3efffddd95e564fe10f59e1de45afc2b551a5cba.tar.gz unit-3efffddd95e564fe10f59e1de45afc2b551a5cba.tar.bz2 |
Fixing crash during TLS connection shutdown.
A crash was caused by an incorrect timer handler nxt_h1p_idle_timeout() if
SSL_shutdown() returned SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE.
The flag SSL_RECEIVED_SHUTDOWN is used to avoid getting SSL_ERROR_WANT_READ, so
the server won't wait for a close notification from a client.
For SSL_ERROR_WANT_WRITE, a correct timer handler is set up.
Diffstat (limited to 'docs/changes.xml')
-rw-r--r-- | docs/changes.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index 5717f1bd..cbe6269a 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -70,6 +70,12 @@ compatibility with Ruby 3.0. <change type="bugfix"> <para> +the router process could crash while closing TLS connection. +</para> +</change> + +<change type="bugfix"> +<para> a segmentation fault might have occurred in the PHP module if fastcgi_finish_request() was used with the "auto_globals_jit" option enabled. </para> |