aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-10-16 11:57:42 +0200
committerLoïc Hoguin <[email protected]>2020-10-16 11:57:42 +0200
commit91c1820b9ad8812b2a8c9960da0a460b0522b6e0 (patch)
tree77c94eca496f3733eee5780f7f69798170d4aa11 /src/gun.erl
parentbe93437f45446ef8109538a3614ba538c9ce6715 (diff)
downloadgun-91c1820b9ad8812b2a8c9960da0a460b0522b6e0.tar.gz
gun-91c1820b9ad8812b2a8c9960da0a460b0522b6e0.tar.bz2
gun-91c1820b9ad8812b2a8c9960da0a460b0522b6e0.zip
Remove commented code
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gun.erl b/src/gun.erl
index d78af0d..2af6b94 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -1440,19 +1440,6 @@ handle_common_connected_no_input(info,
Res ->
Res
end;
-%% @todo
-% NewProtocol = protocol_negotiated(Negotiated, Protocols),
-% EvHandlerState = EvHandler:tls_handshake_end(HandshakeEvent#{
-% socket => Socket,
-% protocol => NewProtocol
-% }, EvHandlerState0),
-% commands([{switch_protocol, NewProtocol, ReplyTo}], State0#state{event_handler_state=EvHandlerState});
-%%
-% State=#state{socket=Socket, event_handler=EvHandler, event_handler_state=EvHandlerState0}) ->
-% EvHandlerState = EvHandler:tls_handshake_end(HandshakeEvent#{
-% error => Reason
-% }, EvHandlerState0),
-% commands([Error], State#state{event_handler_state=EvHandlerState});
handle_common_connected_no_input(info, {handle_continue, StreamRef, Msg}, _,
State0=#state{protocol=Protocol, protocol_state=ProtoState,
event_handler=EvHandler, event_handler_state=EvHandlerState0}) ->