ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
891 stars 232 forks source link

Implement graceful shutdown for all protocols #206

Closed essen closed 4 years ago

essen commented 4 years ago

As part of this work a new 'closing' state had to be implemented. This state is used to gracefully shutdown the connection when we send many frames including a close frame. The new state applies to all protocols.

This PR is focused on implementing tickets #45, #60 and #203 at a minimum.

essen commented 4 years ago

Rebased and ready to be merged.

essen commented 4 years ago

All good, merging.