Closed vbickov closed 5 years ago
The common check for invalid descriptor in the code is (ssl_data->fd <= 0), which is wrong. Zero is a valid descriptor.
.... with a proper check (ssl_data->fd < 0) the SSLUserData constructor should be changed accordingly.
The common check for invalid descriptor in the code is (ssl_data->fd <= 0), which is wrong. Zero is a valid descriptor.