-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SocketReactor: Remove not useful handlers calls #3701
Comments
onIdle and onBusy handlers, can be usefull to handle a dead socket, for example a socket that do not send you nothing for X seconds. That was the main reason I use it now |
Agreed with @micheleselea . One need a way to smoothly cleanup the socket space otherwise, one could get an exhaust exception |
I'm not following, When there are registered handlers but no activity, there is timeout notification: poco/Net/include/Poco/Net/SocketReactor.h Lines 88 to 92 in 5c3f827
|
In any case, |
yes @aleks-f you are right, it's onBusy that do the "socket checker" in my project and I already had to extend the SocketReacor |
This issue is stale because it has been open for 365 days with no activity. |
This issue was closed because it has been inactive for 60 days since being marked as stale. |
There are handler calls in the
SocketReactor::run()
that are of no use (onIdle()
), or little use (onBusy()
).These calls will be removed from
SocketReactor::run()
. Subscribers to these events will have to overide the run() function to keep the functionality.The text was updated successfully, but these errors were encountered: