Repository navigation
TS-4861: Turn ECONNRESET into an end-of-file. - #1014
Conversation
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.
|
FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/796/ for details. |
|
Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/692/ for details. |
|
FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/797/ for details. |
|
Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/693/ for details. |
|
FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/798/ for details. |
|
Please test on docs, cursory code review looks good. 👍 |
|
This is running on |
|
👍 - Looks good |
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.