]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix two QUIC issues:
authorBob Halley <halley@dnspython.org>
Sun, 22 Oct 2023 14:12:41 +0000 (07:12 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 22 Oct 2023 14:12:41 +0000 (07:12 -0700)
commit954856b07e53f135691e372e3bd30a98d5d33ce0
treebaffd9acda138e3882d9a2af2bcda88ac56b7737
parent1957961b31725209528f5efce6daa8a5047ab33c
Fix two QUIC issues:

  1) We treated stream reset like connection terminated, which
     is just wrong.  We should send EOF to the stream but leave
     the connection alone.

  2) When we got an unexpected EOF on a stream, we raised the
     exception in the wrong place, killing the QUIC connection
     but leaving the stream blocked.  Now we deliver the exception
     to the stream and don't kill the connection.
dns/quic/_asyncio.py
dns/quic/_common.py
dns/quic/_sync.py
dns/quic/_trio.py