GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/1014
TS-4861: Turn ECONNRESET into an end-of-file.
If you do traffic_ctl server restart, then traffic_manager is getting
an ECONNRESET error on the management socket after traffic_server
exits. traffic_manager takes this as a fatal error and exits too.
The fix is to turn ECONNRESET into an EOF (0) return from
mgmt_read_pipe() so that traffic_manager correctly sees that
traffic_server has gone away.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver fix/4861
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1014.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 #1014
----
commit abf11d66871f630b6d8151c7eba8e8348e3fb7f5
Author: James Peach <[email protected]>
Date: 2016-09-13T20:10:16Z
TS-4861: Turn ECONNRESET into an end-of-file.
If you do traffic_ctl server restart, then traffic_manager is getting
an ECONNRESET error on the management socket after traffic_server
exits. traffic_manager takes this as a fatal error and exits too.
The fix is to turn ECONNRESET into an EOF (0) return from
mgmt_read_pipe() so that traffic_manager correctly sees that
traffic_server has gone away.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---