httpx/tests/dispatch
Tom Christie ec365c0e8e
Check disconnections on connection reacquiry (#145)
* Detect EOF signaling remote server closed connection

Raise ConnectionClosedByRemote and handle on `send`

* Fix linting

* Use existing NotConnected exception

* Add `Reader.is_connection_dropped` method

* Check connection before sending h11 events as well

* Add test covering connection lost before reading response content

* Check for connection closed on acquiring it from the pool

* Clean up ConnectionPool logic around reaquiry of connections
2019-07-25 22:52:41 +01:00
..
__init__.py Support alternate concurrency backends from client & rejig tests 2019-05-14 14:11:13 +01:00
test_connection_pools.py Check disconnections on connection reacquiry (#145) 2019-07-25 22:52:41 +01:00
test_connections.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_http2.py Check disconnections on connection reacquiry (#145) 2019-07-25 22:52:41 +01:00
test_threaded.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
utils.py Check disconnections on connection reacquiry (#145) 2019-07-25 22:52:41 +01:00