Skip to content

Commit 4f9a550

Browse files
committed
Header parsing assumes whitespace after colon
Not sure how, but fix line was deleted rather than committed.
1 parent b6f2037 commit 4f9a550

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Release/src/http/client/http_client_asio.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,7 @@ class asio_context : public request_context, public std::enable_shared_from_this
11231123
if (colon != std::string::npos)
11241124
{
11251125
auto name = header.substr(0, colon);
1126+
auto value = header.substr(colon + 1, header.size() - colon - 2);
11261127
boost::algorithm::trim(name);
11271128
boost::algorithm::trim(value);
11281129

0 commit comments

Comments
 (0)