Autobahn WebSocket Testsuite Report
Autobahn WebSocket

gws-server/async/context_take_over - Case 13.6.5 : Pass - 467 ms @ 2024-01-18T07:45:26.983Z

Case Description

Send 1000 compressed messages each of payload size 4096, auto-fragment to 0 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 /connect HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.2-0.10.9
Host: 127.0.0.1:8001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: u004nLykPHbmeaQi+/MR3g==
Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits; server_no_context_takeover; server_max_window_bits=15
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover; client_no_context_takeover; server_max_window_bits=12; client_max_window_bits=12
Sec-WebSocket-Accept: p70xz7sUxSmsoPeu91WiLVCvK1w=


Closing Behavior

KeyValueDescription
isServerFalseTrue, 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.
droppedByMeFalseTrue, 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
414
2621262
2691269
27251360
27551375
27641104
27782216
278123336
27971953
2802560
281133653
282123384
28382264
284102840
285185130
286123432
287102870
288154320
289113179
290123480
291144074
292102920
293154395
294164704
295154425
296133848
297185346
298113278
299133887
30082400
301185418
302103020
303144242
304113344
305154575
30692754
307103070
308144312
309247416
31092790
311134043
312144368
31392817
314113454
3152630
31672212
317196023
3183954
31992871
32092880
32172247
32292898
32382584
32482592
325154875
326113586
327123924
32892952
329206580
330175610
331216951
332196308
333185994
334155010
335165360
336186048
337217077
338103380
339124068
340165440
341124092
34293078
343103430
34462064
34582760
34672422
34731041
34831044
3491349
35031050
3521352
35331059
35451770
3551355
35631068
35751785
3582716
35931077
36041440
36162166
36231086
3632726
36441456
36541460
36731101
36851840
36931107
37041480
37151855
37241488
37372611
3741374
37631128
37772639
37931137
3801380
38141524
38241528
38431152
38541540
3862772
3872774
3882776
39031170
3911391
3931393
3942788
3951395
39631188
4001400
4041404
4081408
4101410
Total1002319944

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
2641264
2701270
27141084
2721272
27341092
2743822
27551375
276102760
27761662
27871946
27941116
28051400
281164496
282123384
283195377
28461704
285143990
28672002
287185166
288133744
289164624
290144060
291205820
292164672
293133809
294133822
295216195
296164736
297175049
298247152
29982392
30092700
30192709
302133926
303164848
304164864
305113355
306175202
307164912
308134004
309154635
310123720
3113933
312113432
313103130
314123768
315113465
316103160
31761902
318103180
319154785
320134160
32182568
32261932
32341292
32492916
325134225
32692934
327144578
328123936
329206580
330175610
331216951
332144648
333196327
334196346
335155025
336206720
337124044
338165408
339124068
34041360
34172387
34262052
343103430
34441376
34541380
3461346
34751735
34872436
34931047
35031050
35193159
3521352
3532706
35431062
35551775
3562712
3571357
35841432
3592718
3601360
3612722
3621362
36382904
36441456
36531095
3662732
36731101
36841472
36962214
37031110
37151855
37231116
37362238
37441496
3752750
3762752
37731131
37831134
3831383
3841384
3851385
3861386
3881388
3891389
39041560
4001400
Total1002316310

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
11000
81
Total1001


Wire Log

000 TX OCTETS: 474554202f636f6e6e65637420485454502f312e310d0a557365722d4167656e743a204175746f6261686e54657374537569
               74652f302e382e322d302e31302e ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
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=9cc39538, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
006 TX OCTETS: 88829cc395389f2b
007 RX OCTETS: 880203e8
008 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
009 TCP DROPPED BY PEER