From 91c1820b9ad8812b2a8c9960da0a460b0522b6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 16 Oct 2020 11:57:42 +0200 Subject: Remove commented code --- src/gun.erl | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/gun.erl') 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}) -> -- cgit v1.2.3