Cowboy2: disable HTTP2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cowboy2: disable HTTP2

Frank Muller
Hi guys,

Does anyone know how to tell Cowboy2 to disable HTTP2 (+ also forbid to upgrade connection)?

Thanks
/Frank

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Cowboy2: disable HTTP2

Loïc Hoguin-3
Copy the cowboy:start_tls function and don't include the h2 protocol in
the list.

I don't think there's an option to forbid upgrades yet.

On 10/16/2017 07:48 PM, Frank Muller wrote:

> Hi guys,
>
> Does anyone know how to tell Cowboy2 to disable HTTP2 (+ also forbid to
> upgrade connection)?
>
> Thanks
> /Frank
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>

--
Loïc Hoguin
https://ninenines.eu
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Cowboy2: disable HTTP2

Frank Muller
Thank you. Working now. 


Copy the cowboy:start_tls function and don't include the h2 protocol in
the list.

I don't think there's an option to forbid upgrades yet.

On 10/16/2017 07:48 PM, Frank Muller wrote:
> Hi guys,
>
> Does anyone know how to tell Cowboy2 to disable HTTP2 (+ also forbid to
> upgrade connection)?
>
> Thanks
> /Frank
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>

--
Loïc Hoguin
https://ninenines.eu

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions