Skip to content

TS-4861: Turn ECONNRESET into an end-of-file. - #1014

Merged
jpeach merged 1 commit into
apache:masterfrom
jpeach:fix/4861
Sep 14, 2016
Merged

TS-4861: Turn ECONNRESET into an end-of-file.#1014
jpeach merged 1 commit into
apache:masterfrom
jpeach:fix/4861

Conversation

@jpeach

@jpeach jpeach commented Sep 13, 2016

Copy link
Copy Markdown
Contributor

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.

@zwoop zwoop added the Manager label Sep 13, 2016
@zwoop zwoop added this to the 7.0.0 milestone Sep 13, 2016
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.
@atsci

atsci commented Sep 13, 2016

Copy link
Copy Markdown

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/796/ for details.

@atsci

atsci commented Sep 13, 2016

Copy link
Copy Markdown

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/692/ for details.

@atsci

atsci commented Sep 13, 2016

Copy link
Copy Markdown

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/797/ for details.

@atsci

atsci commented Sep 13, 2016

Copy link
Copy Markdown

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/693/ for details.

@atsci

atsci commented Sep 13, 2016

Copy link
Copy Markdown

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/798/ for details.

@zwoop

zwoop commented Sep 13, 2016

Copy link
Copy Markdown
Contributor

Please test on docs, cursory code review looks good.

👍

@jpeach

jpeach commented Sep 13, 2016

Copy link
Copy Markdown
Contributor Author

This is running on docs on top of latest master.

@bryancall

Copy link
Copy Markdown
Contributor

👍 - Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants