Issue:
------
usage of same variable name in local scope caused the
parsed value being destroyed with the scope, causing
url path to remain unset
Fix:
----
use http_parser to parse url provided for HTTP method,
where in case of error agent fall backs to use
http://<interface_primary_ip>/ as health check url
Reviewed: https:/ /review. opencontrail. org/16266 github. org/Juniper/ contrail- controller/ commit/ c12c7466deb0a42 30f68a4667eaab9 d3011b6d56
Committed: http://
Submitter: Zuul
Branch: master
commit c12c7466deb0a42 30f68a4667eaab9 d3011b6d56
Author: Prabhjot Singh Sethi <email address hidden>
Date: Mon Feb 1 16:12:02 2016 +0530
Fix Health Check HTTP url parsing
Issue:
------
usage of same variable name in local scope caused the
parsed value being destroyed with the scope, causing
url path to remain unset
Fix: primary_ ip>/ as health check url
----
use http_parser to parse url provided for HTTP method,
where in case of error agent fall backs to use
http://<interface_
Closes-Bug: 1533606 008c693254de519 33553b9561f
Closes-Bug: 1533608
Related-Bug: 1530539
Change-Id: I60773eaef30b10