Connection was closed without sending request headers of the stream. This happens when a stream is waiting for other streams to close and connection is lost.
| 32 | |
| 33 | |
| 34 | class InactiveStreamClosed(ConnectionClosed): |
| 35 | """Connection was closed without sending request headers |
| 36 | of the stream. This happens when a stream is waiting for other |
| 37 | streams to close and connection is lost.""" |
| 38 | |
| 39 | def __init__(self, request: Request) -> None: |
| 40 | self.request = request |
| 41 | |
| 42 | def __str__(self) -> str: |
| 43 | return f"InactiveStreamClosed: Connection was closed without sending the request {self.request!r}" |
| 44 | |
| 45 | |
| 46 | class InvalidHostname(H2Error): |