aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-11-12 12:28:46 +0100
committerLoïc Hoguin <[email protected]>2020-11-12 12:28:46 +0100
commit1ebad8acf803eb797a6c61f6522ebc3b79f104a1 (patch)
tree886ad0a176f067d90c6f2a85bb6e478ab5034d43 /src/gun_http.erl
parented8979a130247492269de262ac599df4752b786d (diff)
downloadgun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.tar.gz
gun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.tar.bz2
gun-1ebad8acf803eb797a6c61f6522ebc3b79f104a1.zip
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.
Diffstat (limited to 'src/gun_http.erl')
-rw-r--r--src/gun_http.erl1
1 files changed, 0 insertions, 1 deletions
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};