New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pending multipart request with angular rxjs #3220
Comments
Got the same issue, thank you for your fixing, hope the PR be merged asap. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i`m facing a very strange issue when i have multipart endpoints in actix using angular app (rxjs client):
actix endpoint
angular http client request
after first bad request, the next request get in pending status forever in network tab.
i have switched to spring boot endpoint, that works nice without pending behaviour, to check headers difference. So spring after bad request send header
[only header, not closing server socket]
Connection: close
actix does not sent nothing, after explore actix source code
i have, just for test, force connection close on encoder.rs even is keep alive was sent by client and stop hanging pending request in client after that. There is some way to add feature like force_close_header only ? because i have tryied force_close but this close socket generating error. Another idea maybe is respect if add_header(("Connection", "close")) was added instead use connection type to write connection header. Some idea ? i can write a pull request if need it.
The text was updated successfully, but these errors were encountered: