ninenines / gun

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

Flushing informational responses by stream reference #273

Closed Yozhig closed 2 years ago

Yozhig commented 2 years ago

https://github.com/ninenines/gun/blob/f9175998687678e227bdd49669e2d83f0648fa57/src/gun.erl#L877 Shouldn't there be a call to flush_ref/1 instead of flush_pid/1?

essen commented 2 years ago

Yes.

essen commented 2 years ago

Closing in favor of the PR. Thanks!