short-circuit connection callbacks onto same thread
Summary: When we have a single thread handling both connections and requests, we end up call the accept callback on the same thread. The code handling the incoming connections does intend to short-circuit such connection and not place them on EventBase's queue but it only checks only whether there is no EventBase registerd for the accept callback. However, by default, we are registering an EventBase for this callback so this short-circuit falls short (yay puns). Reviewed By: djwatson Differential Revision: D8986246 fbshipit-source-id: 45b817669ae4fd908b39c93ae5b82bb9a14cc2ed
Showing
Please register or sign in to comment