|
|
@@ -6,6 +6,7 @@ import (
|
|
|
"crypto/tls"
|
|
|
"encoding/base64"
|
|
|
"io"
|
|
|
+ "log"
|
|
|
"net/http"
|
|
|
"strings"
|
|
|
"sync"
|
|
|
@@ -40,6 +41,8 @@ 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 request.URL.Path != h.path {
|