Skip to content

Instantly share code, notes, and snippets.

@julian-klode
Created January 8, 2025 17:54
Show Gist options
  • Save julian-klode/7ea2bccd0c6cb61dd14e1790af269c92 to your computer and use it in GitHub Desktop.
Save julian-klode/7ea2bccd0c6cb61dd14e1790af269c92 to your computer and use it in GitHub Desktop.
diff --git a/methods/connect.cc b/methods/connect.cc
index b00e73eb7..1049afe50 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -849,6 +849,7 @@ struct TlsFd final : public MethodFd
break;
case SSL_ERROR_SYSCALL:
broken = true;
+ _error->Errno("openssl", "OpenSSL error when calling kernel function");
break;
case SSL_ERROR_SSL:
broken = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment