Bug #76663 [Nab]: fwrite(): send of X bytes failed with errno=32 Broken pipe

From: Date: Wed, 25 Jul 2018 16:54:11 +0000
Subject: Bug #76663 [Nab]: fwrite(): send of X bytes failed with errno=32 Broken pipe
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216454@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76663&edit=1 ID: 76663 Updated by: requinix@php.net Reported by: standus at post dot cz Summary: fwrite(): send of X bytes failed with errno=32 Broken pipe Status: Not a bug Type: Bug Package: *General Issues Operating System: CentOS, linux, windows PHP Version: 7.0.31 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2018-07-25 16:50:09] standus at post dot cz This problem happened to me every day with any long time running script. And it has not solution. Thats why I wrote this bug because I mean it must be solved in PHP function code. ------------------------------------------------------------------------ [2018-07-25 16:41:49] requinix@php.net The code you linked, which hasn't received any updates in more than four years, and was clearly written for PHP 4, does not check the return value of fwrite at all. But verifying an email account with the SMTP server is not even reliable in the first place. Require the address be entered twice by the user, validate the email address syntax is correct, and send a confirmation email with a link to your site that the user clicks so you know they received it. ------------------------------------------------------------------------ [2018-07-25 16:25:12] standus at post dot cz By me when some function is impossible catch it or prevent problem with @ prefix its big problem which broken long running script. I except when fwrite function return false when some uncatchable problem will happen. ------------------------------------------------------------------------ [2018-07-25 16:22:24] standus at post dot cz Other way is that in documentation for fwrite is return status if this function will fail but its not happen. ------------------------------------------------------------------------ [2018-07-25 15:45:58] requinix@php.net The only place in that code with an fwrite() is where it tries to write to a socket. Sockets break. It happens. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76663 -- Edit this bug report at https://bugs.php.net/bug.php?id=76663&edit=1

« previous php.bugs (#216454) next »