summaryrefslogtreecommitdiffhomepage
path: root/test/test_asgi_websockets.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-09-20Fixed WebSocket connection hang issue after listener reconfigure.Max Romanov1-0/+17
Because the configuration values were read from the listener's configuration, an established WebSocket connection was unable to work properly (i. e. stuck) if the listener was removed. The correct source of configuration values is the request config joint. This is related to issue #581 on GitHub.
2021-04-05Tests: style.Andrei Zeliankou1-100/+108
2021-03-24Tests: fixed racing condition in websocket test 5_15.Max Romanov1-3/+11
Test case: "send a text message split into two fragments, then a continuation frame with FIN = false where there is nothing to continue, then an unfragmented text message, all sent in one chop". The test case investigates immediate connection closing since there is no message to continue. The mirror server may send a response for the first frame before the test сontinuation frame is received by the router. In this case, the test will receive a text frame before the close frame.
2021-01-28Router: fixing crash after WebSocket processing.Max Romanov1-0/+24
After WebSocket processing, the application port was released with incorrect reason ("got request"), unnecessarily decrementing the active request counter. The assertion was triggered only on application removal; a test was added for this case.
2021-01-13Tests: style.Andrei Zeliankou1-1/+0
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+2
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-2/+0
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+4
2020-10-05Tests: added websocket test with long length.Andrei Zeliankou1-0/+12
2020-10-01Tests: added ASGI WebSocket.Max Romanov1-0/+1432