ninenines / gun

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

implement gun_raw:down/1, gun_raw:update_flow/4 #276

Closed chilikk closed 1 year ago

chilikk commented 2 years ago

Avoid crash (undefined gun_raw:down) on TCP connection being closed when the connection is handled by gun_raw by implementing a rudimentary gun_raw:down/1.

Implement flow control in gun_raw by adding a flow option in raw_opts and implementing gun_raw:update_flow/4

essen commented 2 years ago

Hello, thanks for the patch. Please add tests so we know it works.

essen commented 1 year ago

Merged, thanks!