Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
90f869e7
Unverified
Commit
90f869e7
authored
Nov 04, 2020
by
Frank
Committed by
GitHub
Nov 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BUG: Parsing of first line fails (#4484)
..because a firstLine = false; is missing ;)
parent
be4d3b6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
libraries/HTTPClient/src/HTTPClient.cpp
libraries/HTTPClient/src/HTTPClient.cpp
+1
-0
No files found.
libraries/HTTPClient/src/HTTPClient.cpp
View file @
90f869e7
...
@@ -1199,6 +1199,7 @@ int HTTPClient::handleHeaderResponse()
...
@@ -1199,6 +1199,7 @@ int HTTPClient::handleHeaderResponse()
log_v
(
"RX: '%s'"
,
headerLine
.
c_str
());
log_v
(
"RX: '%s'"
,
headerLine
.
c_str
());
if
(
firstLine
)
{
if
(
firstLine
)
{
firstLine
=
false
;
if
(
_canReuse
&&
headerLine
.
startsWith
(
"HTTP/1."
))
{
if
(
_canReuse
&&
headerLine
.
startsWith
(
"HTTP/1."
))
{
_canReuse
=
(
headerLine
[
sizeof
"HTTP/1."
-
1
]
!=
'0'
);
_canReuse
=
(
headerLine
[
sizeof
"HTTP/1."
-
1
]
!=
'0'
);
}
}
...
...
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