diff options
Diffstat (limited to '59')
-rw-r--r-- | 59/index.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/59/index.md b/59/index.md new file mode 100644 index 0000000..4e9f8c3 --- /dev/null +++ b/59/index.md @@ -0,0 +1,24 @@ +Title: Free SSL connection before closing file descriptor +Author: rodarima +Created: Sun, 14 Jan 2024 07:43:12 +0000 +State: closed + +Attempting to shutdown an SSL conection in LibreSSL was causing an error to be queued in the error queue, which was triggering the `assert(!ERR_get_error())` for a new connection. In OpenSSL this error was not queue in the "main" error queue, but only recorded for that SSL connection. so it was not triggering the assert. + +The fix simply closes the file descriptor *after* performing the free operation. + +@badsectoracula could you test this PR and check that fixes the #51 issue? + +Fixes #51 + +--%-- +From: badsectoracula +Date: Mon, 15 Jan 2024 09:48:49 +0000 + +I checked the branch and the bug seems to be gone, https sites load fine. + +--%-- +From: rodarima +Date: Mon, 15 Jan 2024 18:01:00 +0000 + +Thanks! I'll merge it then.
\ No newline at end of file |