Skip to content
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

Added 'strategy' to pool configartion options. #15

Merged
merged 10 commits into from
May 17, 2019
Prev Previous commit
Next Next commit
Enable http2 over tcp. Add response trailers handler.
  • Loading branch information
MouseRider committed Apr 29, 2019
commit 049de4e45377b6469b76816c39e1f7cab3e7b752
2 changes: 1 addition & 1 deletion lib/machine_gun.ex
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ defmodule MachineGun do

{transport, protocols} =
case scheme do
"http" -> {:tcp, [:http]}
"http" -> {:tcp, [:http2, :http]}
"https" -> {:ssl, [:http2, :http]}
end

Expand Down