iocpreactor events do not occur at the time they should
|Reported by:||BrianM||Owned by:|
When multiple writes are queued to a Perspective Broker connection, the success callbacks all occur at the same time. When using the default select reactor, the events occur as each write succeeds.
Attached are two scripts, pbecho.py (server) and pbechoclient.py (the client) with the select reactor (iocpreactor commented out) the 'Transfer Done' messages in the client occur when 'Transfer some data' messages appear in the server.
With the iocpreactor, the 'Transfer Done' messages all occur at once when all 4 data transfers are complete.
Change History (10)
comment:2 Changed 4 years ago by
|Keywords:||twisted reactor removed|
|Priority:||high → normal|