« Previous | Next » 

Revision fa170dd2

IDfa170dd2b241bc0f22f88071158686075c3b269e
Parent 28f4c15e
Child 4f14221f

Added by Fedor Indutny about 11 years ago

tls: ignore .shutdown() syscall error

Quote from SSL_shutdown man page:

The output of SSL_get_error(3) may be misleading,
as an erroneous SSL_ERROR_SYSCALL may be flagged even though
no error occurred.

Also, handle all other errors to prevent assertion in `ClearError()`.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences