You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we add a new `/websocket/echo` endpoint, which implements a basic
WebSocket echo service.
The endpoint is powered by our own basic, zero-dependency WebSocket
implementation, which passes _almost_ every test in the invaluable
[Autobahn Testsuite](https://github.com/crossbario/autobahn-testsuite)
"fuzzingclient" set of integration tests, which will be run
automatically as part of our continuous integration tests going forward.
Closes#151.
writeError(w, http.StatusBadRequest, fmt.Errorf("invalid max_message_size: %d not in range [1, %d]", maxMessageSize, h.MaxBodySize))
1145
+
return
1146
+
}
1147
+
}
1148
+
1149
+
ifmaxFragmentSize>maxMessageSize {
1150
+
writeError(w, http.StatusBadRequest, fmt.Errorf("max_fragment_size %d must be less than or equal to max_message_size %d", maxFragmentSize, maxMessageSize))
0 commit comments