Merge "Force to close http connection after notify about HA router status" into stable/train
This commit is contained in:
commit
a7fac51723
@ -128,7 +128,8 @@ class MonitorDaemon(daemon.Daemon):
|
|||||||
# the URL doesn't matter.
|
# the URL doesn't matter.
|
||||||
'http://127.0.0.1/',
|
'http://127.0.0.1/',
|
||||||
headers={'X-Neutron-Router-Id': self.router_id,
|
headers={'X-Neutron-Router-Id': self.router_id,
|
||||||
'X-Neutron-State': state},
|
'X-Neutron-State': state,
|
||||||
|
'Connection': 'close'},
|
||||||
connection_type=KeepalivedUnixDomainConnection)
|
connection_type=KeepalivedUnixDomainConnection)
|
||||||
|
|
||||||
if resp.status != 200:
|
if resp.status != 200:
|
||||||
|
Loading…
Reference in New Issue
Block a user