Commit 974ce554 authored by Omar Kallel's avatar Omar Kallel

CR: Fix HTTP path issue

parent 3880aca2
Pipeline #13635 passed with stage
in 7 seconds
......@@ -299,8 +299,7 @@ static void http_cr_new_client(int client, bool service_available)
service_available = false;
goto http_end;
asprintf(&cr_http_get_head, "GET %s", cwmp_main.conf.connection_request_path);
asprintf(&cr_http_get_head, "GET %s HTTP/1.1", cwmp_main.conf.connection_request_path);
while (fgets(buffer, sizeof(buffer), fp)) {
if (!strncasecmp(buffer, cr_http_get_head, strlen(cr_http_get_head)))
method_is_get = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment