You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client often gets socket receive errors when it sends many requests concurrently.
This did not happen on the 0.1 tag.
I think this is related to gen_statem now returning {stop, {shutdown, tcp_closed}, S} a lot more often, before 0.1 would call transport_close on the socket, but the process would stay alive. Now we both call transport_close and shutdown.
Maybe the shutdown happens before the connection can send all data?
Currently this is how we handle a http request without a "Connection: keep-alive|upgrade" header.
The client often gets socket receive errors when it sends many requests concurrently.
This did not happen on the 0.1 tag.
I think this is related to gen_statem now returning {stop, {shutdown, tcp_closed}, S} a lot more often, before 0.1 would call transport_close on the socket, but the process would stay alive. Now we both call transport_close and shutdown.
Maybe the shutdown happens before the connection can send all data?
Currently this is how we handle a http request without a "Connection: keep-alive|upgrade" header.
{http_close, RespBin, D2} -> ?TRANSPORT_SEND(Socket, RespBin), ?TRANSPORT_CLOSE(Socket), {stop, {shutdown, tcp_closed}, D2};The text was updated successfully, but these errors were encountered: