This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, pitrou, vstinner, yselivanov
Date 2015-01-28.23:48:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422488933.27.0.949836664159.issue23333@psf.upfronthosting.co.za>
In-reply-to
Content
> The call to loop.add_reader() should maybe be scheduled after the call to connection_made()? To ensure that protocol methods (feed_data) are not called before connection_made() has been called.

Fixed by:
---
changeset:   94360:1b35bef31bf8
branch:      3.4
tag:         tip
user:        Victor Stinner <victor.stinner@gmail.com>
date:        Thu Jan 29 00:36:51 2015 +0100
files:       Lib/asyncio/selector_events.py Lib/test/test_asyncio/test_selector_events.py
description:
asyncio: Fix _SelectorSocketTransport constructor

Only start reading when connection_made() has been called:
protocol.data_received() must not be called before protocol.connection_made().
---

Other fix related to this issue:
---
changeset:   94358:1da90ebae442
branch:      3.4
parent:      94355:263344bb2107
user:        Victor Stinner <victor.stinner@gmail.com>
date:        Thu Jan 29 00:35:56 2015 +0100
files:       Lib/asyncio/sslproto.py Lib/test/test_asyncio/test_sslproto.py
description:
asyncio: Fix SSLProtocol.eof_received()

Wake-up the waiter if it is not done yet.
---
History
Date User Action Args
2015-01-28 23:48:53vstinnersetrecipients: + vstinner, gvanrossum, pitrou, yselivanov
2015-01-28 23:48:53vstinnersetmessageid: <1422488933.27.0.949836664159.issue23333@psf.upfronthosting.co.za>
2015-01-28 23:48:53vstinnerlinkissue23333 messages
2015-01-28 23:48:53vstinnercreate