On Tue, 22 Oct 2013, Patrick Schaaf wrote:
> BTW and a bit off-topic: is there a good reason for
> session_write_close not returning a success indicator? Right now it
> spams the log with a misleading message, but gives me no chance (short
> of setting up a global error handler to catch and handle that message)
> to see (and maybe retry / use a fallback) on failure
It's likely because the utility function that throws the warning is also
called during request shutdown, where you can not really show errors
anymore. Logging errors is still fine at that stage.
cheers,
Derick