python-hyper / h11

A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
https://h11.readthedocs.io/
MIT License
490 stars 62 forks source link

Call `conn.send_failed` if `stream.send_all` fails with an exception. #149

Closed GalaxySnail closed 2 years ago

GalaxySnail commented 2 years ago

See details:

[1] https://trio.readthedocs.io/en/latest/reference-io.html#trio.abc.SendStream.send_all [2] https://h11.readthedocs.io/en/latest/api.html#h11.Connection.send_failed

pgjones commented 2 years ago

Thanks