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

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