AlexStocks / getty

a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Apache License 2.0
883 stars 184 forks source link

fix: closing websocket connection returns invalid status code #74

Closed Jardaliao closed 7 months ago

Jardaliao commented 7 months ago

What this PR does: 修复异常关闭连接问题

Which issue(s) this PR fixes: 服务端关闭连接时,客户端异常关闭 #73

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (929d524) 70.26% compared to head (31cf517) 70.42%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #74 +/- ## ========================================== + Coverage 70.26% 70.42% +0.15% ========================================== Files 7 7 Lines 1490 1491 +1 ========================================== + Hits 1047 1050 +3 + Misses 337 336 -1 + Partials 106 105 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

AlexStocks commented 7 months ago

good job