Comment 10 for bug 1533606

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16266
Committed: http://github.org/Juniper/contrail-controller/commit/c12c7466deb0a4230f68a4667eaab9d3011b6d56
Submitter: Zuul
Branch: master

commit c12c7466deb0a4230f68a4667eaab9d3011b6d56
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:
----
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

Closes-Bug: 1533606
Closes-Bug: 1533608
Related-Bug: 1530539
Change-Id: I60773eaef30b10008c693254de51933553b9561f