GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/701
TS-4522: check EPIPE instead r==0 man 2 write, Return value, On Success, the number of bytes written is returned (zero indicates nothing was written). On error, -1 is returned, and errno is set appropriately. You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-14 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/701.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #701 ---- commit d381a2d4ea5511696484f278b9aa80e4bdea545f Author: Oknet <xuc...@gmail.com> Date: 2016-06-12T13:08:47Z TS-4522: check EPIPE instead r==0 man 2 write, Return value, On Success, the number of bytes written is returned (zero indicates nothing was written). On error, -1 is returned, and errno is set appropriately. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---