Skip to content

Commit

Permalink
drop debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Mar 22, 2018
1 parent 96f93e0 commit 51f6471
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions proxy/http_raw_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package proxy

import (
"bytes"
"fmt"
"io"
"log"
"net"
Expand Down Expand Up @@ -78,7 +77,6 @@ func newRawProxy(host string, dial dialFunc) http.Handler {
}

if !bytes.HasPrefix(b, []byte("HTTP/1.1 101")) {
fmt.Println("boom")
log.Printf("[INFO] WS Upgrade failed for %s", r.URL)
http.Error(w, "error handling ws upgrade", http.StatusInternalServerError)
return
Expand Down

0 comments on commit 51f6471

Please sign in to comment.