> for v8.0.0 documentation for drain states:
> This option modifies the behavior of traffic_ctl server restart ...
> So will drain also work for traffic_ctl server stop ?

Oh, docs looks wrong. According to the source, server stop also has --drain
option.

https://github.com/apache/trafficserver/blob/82bbd37f80dec30315c86bbeb8803d73a487387e/src/traffic_ctl/server.cc#L122

> for older version:
> do you recommend to always inject "Connection: close" , or can we trigger
it
> before shutdown ?

We can trigger it before shutdown. Example of this case is here.

# Close Connections for draining
https://docs.trafficserver.apache.org/en/8.0.x/admin-guide/plugins/header_rewrite.en.html#close-connections-for-draining

- Masaori

2018年10月24日(水) 23:09 ezko <erez.ko...@harmonicinc.com>:

> Thanks.
> a few follow up questions.
> for v8.0.0 documentation for drain states:
> This option modifies the behavior of traffic_ctl server restart ...
> So will drain also work for traffic_ctl server stop ?
>
> for older version:
> do you recommend to always inject "Connection: close" , or can we trigger
> it
> before shutdown ?
> Thanks.
>
>
>
> --
> Sent from: http://apache-traffic-server.24303.n7.nabble.com/
>

Reply via email to