File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ func (proxyCtx *OurProxyCtx) DoRequest(req *http.Request, respW http.ResponseWri
249249 }()
250250
251251 if isWebSocketReq (req ) {
252- proxyCtx .Logger .Debugf ("Handling WebSocket Handshake : %v" , req .URL )
252+ proxyCtx .Logger .Debugf ("handling WebSocket handshake : %v" , req .URL )
253253 cm , err := proxyCtx .Tr .ConnectMethodForRequest (& httpx.TransportRequest {Request : req , Extra : nil })
254254 if err != nil {
255255 return nil , errors .Wrapf (err , "failed to create a ConnectMethod struct" )
@@ -284,9 +284,9 @@ func (proxyCtx *OurProxyCtx) DoRequest(req *http.Request, respW http.ResponseWri
284284 obConn .Close ()
285285 return nil , errors .Errorf ("client sent data before handshake is complete" )
286286 }
287- proxyCtx .Logger .Debugf ("Established bidi tunnel between %v and %v" , obConn .RemoteAddr (), ibConn .RemoteAddr ())
287+ proxyCtx .Logger .Debugf ("established bidi tunnel between %v and %v" , obConn .RemoteAddr (), ibConn .RemoteAddr ())
288288 proxyCtx .Proxy .Ctx .bidiTunnel (obConn , ibConn )
289- proxyCtx .Logger .Debugf ("Discarded bidi tunnel between %v and %v" , obConn .RemoteAddr (), ibConn .RemoteAddr ())
289+ proxyCtx .Logger .Debugf ("discarded bidi tunnel between %v and %v" , obConn .RemoteAddr (), ibConn .RemoteAddr ())
290290 return nil , nil
291291 } else {
292292 timer := (* time .Timer )(nil )
You can’t perform that action at this time.
0 commit comments