Skip to content

NetSSL_OpenSSL and NetSSL_Win: non-blocking support, shutdown behavior fix#4787

Merged
obiltschnig merged 15 commits intomainfrom
fix-ssl-shutdown
Nov 29, 2024
Merged

NetSSL_OpenSSL and NetSSL_Win: non-blocking support, shutdown behavior fix#4787
obiltschnig merged 15 commits intomainfrom
fix-ssl-shutdown

Conversation

@obiltschnig
Copy link
Copy Markdown
Member

@obiltschnig obiltschnig commented Nov 28, 2024

This fixes a whole lot of issues in NetSSL_OpenSSL and NetSSL_Win.
Specifically:

  • we now have full support for non-blocking TLS sockets in both NetSSL_OpenSSL and NetSSL_Win
  • fixed TLS shutdown behavior, hopefully once and for all in both NetSSL_OpenSSL and NetSSL_Win
  • cleaned up and fixed NetSSL_Win, including workaround for Schannel bugs

@obiltschnig obiltschnig self-assigned this Nov 28, 2024
@obiltschnig obiltschnig added this to the Release 1.14.0 milestone Nov 28, 2024
Copy link
Copy Markdown
Contributor

@matejk matejk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly I don't feel fully competent for review, because I don't know all of the background. Some parts are complete rewrites.

@matejk matejk linked an issue Nov 28, 2024 that may be closed by this pull request
@obiltschnig obiltschnig merged commit d8a423c into main Nov 29, 2024
karthick-palanisamy-t added a commit to shasta-cloud/poco that referenced this pull request Jan 3, 2025
Non-blocking sockets support (TLS, WebSocket)
pocoproject#4774

NetSSL_OpenSSL and NetSSL_Win: non-blocking support, shutdown behavior fix
pocoproject#4787

Signed-off-by: Karthick Palanisamy <karthick.palanisamy@truminds.com>
@matejk matejk deleted the fix-ssl-shutdown branch March 15, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NetSSL_Win: TLS handshake may fail for non-blocking sockets

2 participants