Merge "Force to close http connection after notify about HA router status" into stable/train

This commit is contained in:
Zuul 2021-06-23 19:00:49 +00:00 committed by Gerrit Code Review
commit a7fac51723
1 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,8 @@ class MonitorDaemon(daemon.Daemon):
# the URL doesn't matter.
'http://127.0.0.1/',
headers={'X-Neutron-Router-Id': self.router_id,
'X-Neutron-State': state},
'X-Neutron-State': state,
'Connection': 'close'},
connection_type=KeepalivedUnixDomainConnection)
if resp.status != 200: