|
2015-09-23
| ||
| 17:16 | • Closed ticket [e0a7b3e5f8]: DoRead() omits needed call to UpdateInterest() p... artifact: e67afb64dd user: dgp | |
| 17:15 | [e0a7b3e5f8] Add missing UpdateInterest call in DoRead(). check-in: 59229a9240 user: dgp tags: trunk | |
| 17:07 | [e0a7b3e5f8] Add missing UpdateInterest call in DoRead(). check-in: f2cd284bdc user: dgp tags: core-8-5-branch | |
|
2015-08-13
| ||
| 19:28 | New test attempting to demo Bug [e0a7b3e5f8]. Doesn't work yet. check-in: 10e3ec0c71 user: dgp tags: bug-32ae34e63a | |
|
2015-08-10
| ||
| 17:35 | • New ticket [e0a7b3e5f8] DoRead() omits needed call to UpdateInterest(). artifact: 17639dc6a7 user: dgp | |
DoRead() omits needed call to UpdateInterest()
Closed / Fixede0a7b3e5f8291c5de9fb54fc753543e4da699d0aCreated 11 years agoUpdated 11 years ago
Descriptionplain2015-08-10 17:35:35
Brian Griffin has uncovered this, and it's been dissected in several messages on the TCLCORE mailing list. Any time the DoRead() routine acts so that the state of the input buffers on the channel toggles between EMPTY or NOT-EMPTY, there must be a call to UpdateInterest() to get the notifier and file event machinery to function properly. This has been broken for about a year, where there is no call to UpdateInterest() in the case where a read of exactly the number of bytes requested also has the effect of precisely emptying the buffer. The fix is easy, will commit it to a branch shortly. I hold back putting it on the main branches only briefly because I'm attempting to devise a test of the matter to go in the test suite.
Referenced by3
59229a9240[e0a7b3e5f8] Add missing UpdateInterest call in DoRead(). check-in2015-09-23 17:15:53f2cd284bdc[e0a7b3e5f8] Add missing UpdateInterest call in DoRead(). check-in2015-09-23 17:07:4010e3ec0c71New test attempting to demo Bug [e0a7b3e5f8]. Doesn't work yet. check-in2015-08-13 19:28:26
dgpplain2015-09-23 17:16:28
Fix committed.
Log in (anonymous is fine) to add a comment.