Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IOPSYS
icwmp
Commits
974ce554
Commit
974ce554
authored
Feb 15, 2021
by
Omar Kallel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CR: Fix HTTP path issue
parent
3880aca2
Pipeline
#13635
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
http.c
http.c
+1
-2
No files found.
http.c
View file @
974ce554
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment