File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ async def test_connection_disconect_race(parser_class):
158
158
"""
159
159
This test reproduces the case in issue #2349
160
160
where a connection is closed while the parser is reading to feed the
161
- internal buffer.The stremam read() will succeed, but when it returns,
162
- another task hasalready called `disconnect()` and is waiting for
163
- close to finish. When it attempts to feed the buffer, it will fail
161
+ internal buffer.The stream ` read()` will succeed, but when it returns,
162
+ another task has already called `disconnect()` and is waiting for
163
+ close to finish. When we attempts to feed the buffer, we will fail
164
164
since the buffer is no longer there.
165
165
166
166
This test verifies that a read in progress can finish even
You can’t perform that action at this time.
0 commit comments