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
connection_type == worker causes connection failure #1513
Comments
It's only been tested with supervisor connection type. To allow setting it to worker we would need to disable spawning of processes, and supposedly fix the error you got. A stacktrace or other would be helpful. |
No stacktrace went to the Erlang/OTP kernel logger for the problem. Only got a timeout from the HTTP client on the second request. Was using current cowboy master, current cowlib master, ranch 2.0.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, if HTTP/1.1 is used with a cowboy connection that has been configured with
connection_type == worker
, the first request will succeed with the connection and a second request performed immediately will fail. If that should not occur, it appears like source code would need to change, so currentlyconnection_type
must always besupervisor
, right? Is there a way to useconnection_type == worker
now that isn't documented?The text was updated successfully, but these errors were encountered: