Message301491
My reading of the man page is that if SSL_shutdown returns 0, this means that it succeeded at doing the first phase of shutdown. If there are errors then they should be ignored, because it actually succeeded.
If you want to then complete the second phase of shutdown, of course, you have to call it again, but that's no different than any other use of SSL_shutdown.
If two calls to SSL_shutdown both return zero, then that's definitely a bug in OpenSSL. A return value of zero means that previously the SSL_SENT_SHUTDOWN flag was not set, and now it is set, so that can only happen once per connection. But that's orthogonal to the SSL_ERROR_SYSCALL issue. |
|
Date |
User |
Action |
Args |
2017-09-06 17:43:18 | njs | set | recipients:
+ njs, janssen, christian.heimes, alex, martin.panter, dstufft |
2017-09-06 17:43:18 | njs | set | messageid: <1504719798.41.0.30037971779.issue30437@psf.upfronthosting.co.za> |
2017-09-06 17:43:18 | njs | link | issue30437 messages |
2017-09-06 17:43:18 | njs | create | |
|