Called on a keep-alive connection if no new data is received after a short delay.
(self)
| 361 | self.flow.resume_writing() # pragma: full coverage |
| 362 | |
| 363 | def timeout_keep_alive_handler(self) -> None: |
| 364 | """ |
| 365 | Called on a keep-alive connection if no new data is received after a short |
| 366 | delay. |
| 367 | """ |
| 368 | if not self.transport.is_closing(): |
| 369 | event = h11.ConnectionClosed() |
| 370 | self.conn.send(event) |
| 371 | self.transport.close() |
| 372 | |
| 373 | |
| 374 | class RequestResponseCycle: |
nothing calls this directly
no test coverage detected