You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HHVM does not appear to raise an error if the remote connection is closed and will never fail the pending write. stream_socket_get_name() appears to be a reliable way to detect the closed remote connection.
// Only report errors if *nothing* could be sent and an error has been raised.
340
+
// Only report errors if *nothing* could be sent and an error has been raised, or we are unable to retrieve the remote socket name (connection dead) [HHVM].
343
341
// Ignore non-fatal warnings if *some* data could be sent.
344
342
// Any hard (permanent) error will fail to send any data at all.
345
343
// Sending excessive amounts of data will only flush *some* data and then
346
344
// report a temporary error (EAGAIN) which we do not raise here in order
347
345
// to keep the stream open for further tries to write.
348
346
// Should this turn out to be a permanent error later, it will eventually
0 commit comments