Skip to content

Commit 9c50310

Browse files
authored
doc: typo fix /serveHTTP/serveWebSocket/s (#176)
1 parent 764bd1e commit 9c50310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward/fwd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (f *httpForwarder) modifyRequest(outReq *http.Request, target *url.URL) {
327327
}
328328
}
329329

330-
// serveHTTP forwards websocket traffic
330+
// serveWebSocket forwards websocket traffic
331331
func (f *httpForwarder) serveWebSocket(w http.ResponseWriter, req *http.Request, ctx *handlerContext) {
332332
if f.log.GetLevel() >= log.DebugLevel {
333333
logEntry := f.log.WithField("Request", utils.DumpHttpRequest(req))

0 commit comments

Comments
 (0)