add webtransport tunnel

This commit is contained in:
ginuerzh
2023-11-10 21:29:11 +08:00
parent 6bface4581
commit 696d10fc28
12 changed files with 521 additions and 35 deletions

View File

@ -156,6 +156,7 @@ func (l *wsListener) upgrade(w http.ResponseWriter, r *http.Request) {
conn, err := l.upgrader.Upgrade(w, r, l.md.header)
if err != nil {
l.logger.Error(err)
w.WriteHeader(http.StatusInternalServerError)
return
}