Non-blocking ap_get_brigade() doesn't return EAGAIN?

2015-10-19 Thread Jacob Champion
The patchset I recently folded into mod_websocket [1] rails the CPU when using ws:// instead of wss://. The problem appears to be that an empty non-blocking read from ap_get_brigade() returns EAGAIN when using SSL, but without SSL it is returning SUCCESS with an empty brigade. Yann, I noticed

Re: Non-blocking ap_get_brigade() doesn't return EAGAIN?

2015-10-20 Thread Jacob Champion
On 10/19/2015 01:07 PM, Yann Ylavic wrote: I'll (re)take a look at the thread [2] you mentioned (and refresh my mind, I don't remember all the details :), and then propose something to dev@... Great, thanks! Looking forward to the discussion. --Jacob