Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Redirects from the RDAP server were causing an SSL EOF error
The root of the issue appears to be a change made in later versions of OpenSSL that raises a `SSL_read: unexpected eof while reading` if the server sends an `EOF` before sending `close notify` see openssl/openssl#11378 It seems that `Net::HTTP` can handle this situation when the session is manually started (`http.start`) but not when it is auto started as soon as the request is made. This may be a bug in `Net::HTTP``, and something I'd like to investigate further given time, but for now manually starting session fixes the issue
- Loading branch information