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 secure tcpclient works in most cases. But I've found a few where the server would reply with either:
503 Service Unavailable
422 Unexpected end of input
I've also noticed the 422 error in two cases while using the tcpclient. The only workaround I've found so far is disabling the cnx.sink.close() call after body and headers are sent, which I think should signal the end of the request, and by adding extra headers (connection: close and content-length: 0).
I don't really have a clue why this happens or how to properly solve it, any ideas are welcome :) In all cases the (Secure)StdClient did work, but since it buffers the whole body (#67) it's not suitable for my needs.
The text was updated successfully, but these errors were encountered:
The secure tcpclient works in most cases. But I've found a few where the server would reply with either:
I've also noticed the 422 error in two cases while using the tcpclient. The only workaround I've found so far is disabling the
cnx.sink.close()
call after body and headers are sent, which I think should signal the end of the request, and by adding extra headers (connection: close and content-length: 0).I don't really have a clue why this happens or how to properly solve it, any ideas are welcome :) In all cases the (Secure)StdClient did work, but since it buffers the whole body (#67) it's not suitable for my needs.
The text was updated successfully, but these errors were encountered: