stopReading doesn't stop reading immediately on pollreactor and epollreactor
[email protected] Mon, 22 Feb 2010 22:06:48 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from PenguinOfDoom <[email protected]>: Suppose we have two file descriptors ready for reading. poll() returns both of them. pollreactor runs doRead for fd1, which calls stopReading on fd2. pollreactor might then call doRead on fd2, despite the stopReading. Specifically, this will happen if fd2 is also registered for writing. Branch has a test attached. ---------- Type : defect Component: core Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4296