Closed yokonao closed 2 months ago
The recent changes enhance the project's error handling during connection establishment, specifically addressing scenarios where a context is canceled. A new check in the writeHandshakeResponsePacket
function allows for early termination of the handshake process, improving responsiveness and reducing the likelihood of encountering "use of closed network connection" errors. Additionally, Nao Yokotsuka has been added to the contributors list, acknowledging their contributions to the project.
Files | Change Summary |
---|---|
AUTHORS |
Added Nao Yokotsuka's name and email to the contributors list. |
packets.go |
Modified writeHandshakeResponsePacket to include a check for a canceled context, improving error handling during TLS handshake. |
Objective | Addressed | Explanation |
---|---|---|
Resolve "use of closed network connection" when context is canceled (#[1614]) | ✅ |
🐇 In the code we hop with glee,
A check for cancel, oh so free!
Nao's name now shines bright and clear,
In theAUTHORS
list, we cheer!
Bugs retreat, the flow is fine,
Let’s connect and sip some wine! 🍷
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@shogo82148
Thanks for your review!
We would like to apply this patch to our application, are there plans to release new version?
Description
Check if the context is canceled when failed to TLS handshake.
fix: #1614
Checklist
Summary by CodeRabbit
New Features
Bug Fixes