-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Networking
-
Labels:None
-
Fully Compatible
-
Platforms 2017-04-17, Platforms 2017-08-21
Right now there is no protection against network layer worker threads being blocked by misbehaving callbacks. We can't easily prevent this behavior, but it would be possible to add instrumentation that would note (or, more aggressively, fail an invariant) if any callback out of the ASIO network layer ran beyond a certain configurable threshold.
If those warnings or invariants trip, it gives a good indication that a blocking callback may exist.