Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 13.6.14 : Pass - 50366 ms @ 2024-06-08T15:36:14.740Z

Case Description

Send 1000 compressed messages each of payload size 65536, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 15)]

Case Expectation

Receive echo'ed messages (with payload as sent). Timeout case after 480 secs.

Case Outcome

Ok, received all echo'ed messages in time.

Expected:
{}

Observed:
[]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET /runCase?case=495&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: 0l9T53Fv8jPsb4DlW/G6fA==
sec-websocket-version: 13
sec-websocket-extensions: permessage-deflate; client_max_window_bits
accept: */*
accept-language: *
sec-fetch-mode: websocket
user-agent: undici
pragma: no-cache
cache-control: no-cache
accept-encoding: gzip, deflate
HTTP/1.1 101 Switching Protocols
Server: AutobahnTestSuite/0.8.2-0.10.9
X-Powered-By: AutobahnPython/0.10.9
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: QcCecjGO60NILZucps6z1OFS+Bg=
Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits=15


Closing Behavior

KeyValueDescription
isServerTrueTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP.
droppedByMeTrueTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1000The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
818
14114
4071407
14480114480
1638499816351232
22110122110
28960128960
4916699849067668
65536165536
Total200365550415

Octets Transmitted by Chop Size

Chop SizeCountOctets
21734
32163
428112
525125
622132
726182
820160
934306
1020200
1114154
12896
139117
1417238
1516240
1617272
1716272
1810180
199171
205100
21363
22122
23369
24496
25250
28256
29129
31131
32132
33266
35135
36136
37274
393117
414164
42142
444176
453135
46292
48296
49149
50150
51151
52152
54154
60160
61161
642128
65165
66166
67167
682136
69169
702140
74174
77177
79179
813243
822164
832166
845420
858680
865430
877609
884352
898712
902180
913273
923276
935465
9410940
95111045
96161536
9710970
98111078
996594
100191900
101121212
1026612
1039927
104121248
105121260
106121272
1079963
1087756
1099981
1107770
1116666
1124448
1134452
1142228
1153345
1161116
1176702
118111298
1198952
120131560
121101210
12291098
1235615
1242248
1253375
1411141
2412482
2421242
2432486
24451220
2454980
24661476
24751235
24861488
249122988
250174250
251225522
252266552
253287084
254174318
255358925
256194864
257317967
258205160
259235957
260107192786940
3071307
Total117212897844

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
010719
11000
81
Total11720


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d343935266167656e743d756e6469636920485454502f312e310d0a686f73743a
               206c6f63616c686f73743a393030 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f302e382e ...
002 WIRELOG DISABLED
003 CLOSE CONNECTION AFTER 480.000000 sec
004 WIRELOG ENABLED
005 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
006 TX OCTETS: 880203e8
007 RX OCTETS: 88820000000003e8
008 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=3030303030303030
               0x03e8
009 TCP DROPPED BY ME