We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd19dd2b commitb16cc29Copy full SHA for b16cc29
boost/network/protocol/http/server/impl/parsers.ipp
@@ -24,8 +24,9 @@ namespace boost { namespace network { namespace http {
24
25
BOOST_NETWORK_INLINEvoidparse_version(std::stringconst & partial_parsed, fusion::tuple<uint8_t,uint8_t> & version_pair) {
26
usingnamespaceboost::spirit::qi;
27
+ std::string::const_iterator it = partial_parsed.begin();
28
parse(
-partial_parsed.begin(), partial_parsed.end(),
29
+it, partial_parsed.end(),
30
(
31
lit("HTTP/")
32
>> ushort_
@@ -37,8 +38,9 @@ namespace boost { namespace network { namespace http {
37
38
39
BOOST_NETWORK_INLINEvoidparse_headers(std::stringconst & input, std::vector<request_header_narrow> & container) {
40
41
+ std::string::const_iterator it = input.begin();
42
-input.begin(), input.end(),
43
+it, input.end(),
44
*(
45
+(alnum|(punct-':'))
46
>>lit(":")