File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
boost/network/protocol/http/server/impl Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ namespace boost { namespace network { namespace http {
24
24
25
25
BOOST_NETWORK_INLINE void parse_version (std::string const & partial_parsed, fusion::tuple<uint8_t ,uint8_t > & version_pair) {
26
26
using namespace boost ::spirit::qi;
27
+ std::string::const_iterator it = partial_parsed.begin ();
27
28
parse (
28
- partial_parsed. begin () , partial_parsed.end (),
29
+ it , partial_parsed.end (),
29
30
(
30
31
lit (" HTTP/" )
31
32
>> ushort_
@@ -37,8 +38,9 @@ namespace boost { namespace network { namespace http {
37
38
38
39
BOOST_NETWORK_INLINE void parse_headers (std::string const & input, std::vector<request_header_narrow> & container) {
39
40
using namespace boost ::spirit::qi;
41
+ std::string::const_iterator it = input.begin ();
40
42
parse (
41
- input. begin () , input.end (),
43
+ it , input.end (),
42
44
*(
43
45
+(alnum|(punct-' :' ))
44
46
>> lit (" : " )
You can’t perform that action at this time.
0 commit comments