Fabian Fett
0c36de21d6
HTTPConnectionPool timeout requests: preserve connection errors
...
If a request times out because no connection could be attained, we should fail the request with the last connection creation error. If no connection creation error is present and there is no active connection, we fail the request with a connectTimeout error.
2021-09-13 18:22:29 +02:00
Fabian Fett
7bb58e536c
Fix a race between shutdown and backoff timer ( #419 )
2021-09-09 17:01:07 +02:00
Fabian Fett
4d726bad8d
Add ConnectionPool HTTP1StateMachine ( #416 )
2021-09-09 15:34:03 +02:00
Fabian Fett and Cory Benfield
05e570dd87
Add MockTools for testing HTTP1ConnectionPool.StateMachine ( #417 )
...
Co-authored-by: Cory Benfield <lukasa@apple.com >
2021-09-08 17:45:09 +02:00
Fabian Fett and George Barnett
7d3c578472
HTTP1Connections state machine for ConnectionPool ( #413 )
...
Co-authored-by: George Barnett <gbarnett@apple.com >
2021-09-06 12:56:20 +02:00
Fabian Fett
1f5b633457
Add a RequestQueue for the ConnectionPool ( #412 )
2021-09-01 13:55:06 +02:00