Closed zostay closed 9 years ago
I am recommending a Supply be provided in an extension named p6sgix.body.blocked
that emits True whenever the server polls and discovers the output is blocking and False every time it is not. Since NBIO is not implemented, this extension is moot for the time being.
I have added some extension for handling this today. These will require experimentation and review, but this is now initially complete.
Implementations may want to be able to provide some mechanism for polling the output handle for blocking in case sends get backed up going to a slow client. This may be useful for detecting client disconnects as well.
HT: LeoNerd