From 1ebad8acf803eb797a6c61f6522ebc3b79f104a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Nov 2020 12:28:46 +0100 Subject: Review and remove many todos HTTP/1.1 Upgrade to HTTP/2 will not be implemented. There are discussions for this functionality to be removed from the HTTP/2 spec. HTTP/1.1 Upgrade to TLS will most likely not be implemented. --- src/gun_http.erl | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gun_http.erl') diff --git a/src/gun_http.erl b/src/gun_http.erl index a2c3303..67c774b 100644 --- a/src/gun_http.erl +++ b/src/gun_http.erl @@ -368,7 +368,6 @@ handle_inform(Rest, State=#http_state{ status => Status, headers => Headers }, EvHandlerState0), - %% @todo We might want to switch to the HTTP/2 protocol or to the TLS transport as well. case {Version, Status, StreamRef} of {'HTTP/1.1', 101, #websocket{}} -> {ws_handshake(Rest, State, StreamRef, Headers), CookieStore, EvHandlerState}; -- cgit v1.2.3