We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6064f3 commit 3cfc334Copy full SHA for 3cfc334
rpc/server_test.go
@@ -273,7 +273,8 @@ func TestServerWebsocketReadLimit(t *testing.T) {
273
}
274
} else if !errors.Is(err, websocket.ErrReadLimit) &&
275
!strings.Contains(strings.ToLower(err.Error()), "1009") &&
276
- !strings.Contains(strings.ToLower(err.Error()), "message too big") {
+ !strings.Contains(strings.ToLower(err.Error()), "message too big") &&
277
+ !strings.Contains(strings.ToLower(err.Error()), "connection reset by peer") {
278
// Not the error we expect from exceeding the message size limit.
279
t.Fatalf("unexpected error for read limit violation: %v", err)
280
0 commit comments