diff options
author | Vincent Michel <vxgmichel@gmail.com> | 2018-11-08 12:21:47 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2018-11-08 12:21:47 (GMT) |
commit | fd512d76456b65c529a5bc58d8cfe73e4a10de7a (patch) | |
tree | 0a3f0c1943f446a886837ea1234021b4e1a9203c /Misc | |
parent | 5d95312fb8eb1684879b9fb8c5c928089326d0df (diff) | |
download | cpython-fd512d76456b65c529a5bc58d8cfe73e4a10de7a.zip cpython-fd512d76456b65c529a5bc58d8cfe73e4a10de7a.tar.gz cpython-fd512d76456b65c529a5bc58d8cfe73e4a10de7a.tar.bz2 |
bpo-35065: Remove `StreamReaderProtocol._untrack_reader` (#10212)
The call to `_untrack_reader` is performed too soon, causing the protocol
to forget about the reader before `connection_lost` can run and feed the
EOF to the reader. See bpo-35065.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-10-29-10-18-31.bpo-35065.CulMN8.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-29-10-18-31.bpo-35065.CulMN8.rst b/Misc/NEWS.d/next/Library/2018-10-29-10-18-31.bpo-35065.CulMN8.rst new file mode 100644 index 0000000..9d5d612 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-10-29-10-18-31.bpo-35065.CulMN8.rst @@ -0,0 +1,3 @@ +Remove `StreamReaderProtocol._untrack_reader`. The call to `_untrack_reader` +is currently performed too soon, causing the protocol to forget about the +reader before `connection_lost` can run and feed the EOF to the reader. |