server fixes and simple python client added

This commit is contained in:
GitProtogen
2026-03-09 15:16:15 +01:00
parent 80cc56292a
commit 150b4492de
3 changed files with 71 additions and 2 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
s.OnOpen(conn)
}
ctx, cancel := context.WithTimeout(r.Context(), 30*time.Second)
defer cancel()
ctx := r.Context()
var readErr error
for {