Message84850
You are right. Handling OOB data is within the "exceptional condition"
that the select document specifies.
I've added a check for error conditions within handle_expt_event(),
which induces a handle_close() on discovery of an error, handle_expt()
otherwise.
One thing to consider is that when there is OOB data, and when
handle_expt() isn't overridden, we will get churn because that data will
never be read from the socket. I'm thinking about tossing a
handle_close() as part of the default handle_expt() call.
Attached is an updated patch without the handle_close() in
handle_expt(). |
|
Date |
User |
Action |
Args |
2009-03-31 18:16:33 | josiahcarlson | set | recipients:
+ josiahcarlson, tim.peters, akuchling, brett.cannon, gregory.p.smith, anadelonbrin, giampaolo.rodola, ajaksu2, alexer |
2009-03-31 18:16:33 | josiahcarlson | set | messageid: <1238523393.54.0.962602388514.issue1161031@psf.upfronthosting.co.za> |
2009-03-31 18:16:32 | josiahcarlson | link | issue1161031 messages |
2009-03-31 18:16:31 | josiahcarlson | create | |
|