pr → main · Jul 2026 · released in v0.41.1
Fix TLS 1.3 KeyUpdate causing Connection reset by peer
Fixed a production crash in high-throughput MySQL CDC connectors on Java 17+: TLS 1.3 post-handshake KeyUpdate raced with keepalive pings, corrupting the SSL stream. Reconnect then deadlocked on SSLSocket.shutdownOutput(). Upstreamed to Debezium's mysql-binlog-connector-java and merged after maintainer review.
- *Pin TLS protocol after socket creation so TLS 1.3 is not selected by JVM defaults
- *Skip
shutdownOutput()when SO_LINGER(0) is active to avoid SSL close_notify deadlocks - *Always apply SO_LINGER(0) on SSL channel disconnect so reconnect cannot hang
- *Added unit tests for protocol pinning and SSL disconnect behavior
