Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8
-
None
Description
Context is: I've employed NonblockingServer & ThreadManager, with setTaskExpireTime() used in my app. Under heavy load, it crashed. Crash point is forceClose()::throw TException (to be specific, send(NotificationSocketFD) failed).
I went through the code, noted that during removeExpiredTasks() there is no try-catch involved. On the contrary, Task::run() is enclosed by try-catch.
Is it by design, or just a bug ? Thanks.