|
@@ -48,7 +48,7 @@ func (h *requestHandler) ServeHTTP(writer http.ResponseWriter, request *http.Req
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
} else if h.earlyDataHeaderName != "" {
|
|
} else if h.earlyDataHeaderName != "" {
|
|
|
- if strings.HasPrefix(request.URL.Path, h.path) {
|
|
|
|
|
|
|
+ if !strings.HasPrefix(request.URL.Path, h.path) {
|
|
|
writer.WriteHeader(http.StatusNotFound)
|
|
writer.WriteHeader(http.StatusNotFound)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|