|
@@ -6,7 +6,6 @@ import (
|
|
|
"crypto/tls"
|
|
|
"encoding/base64"
|
|
|
"io"
|
|
|
- "log"
|
|
|
"net/http"
|
|
|
"strings"
|
|
|
"sync"
|
|
@@ -41,8 +40,6 @@ var upgrader = &websocket.Upgrader{
|
|
|
func (h *requestHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request) {
|
|
|
responseHeader := http.Header{}
|
|
|
|
|
|
- log.Printf("request-path: %s h-path: %s", request.URL.Path, h.path)
|
|
|
-
|
|
|
var earlyData io.Reader
|
|
|
if !h.earlyDataEnabled { // nolint: gocritic
|
|
|
if !strings.HasPrefix(request.URL.Path, h.path) {
|