File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
protocol/http/server/impl Expand file tree Collapse file tree 3 files changed +6
-4
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 (" : " )
Original file line number Diff line number Diff line change @@ -23,4 +23,4 @@ namespace boost { namespace network {
23
23
24
24
} // namespace boost
25
25
26
- #endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622
26
+ #endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ namespace boost { namespace network {
24
24
25
25
} // namespace boost
26
26
27
- #endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
27
+ #endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
You can’t perform that action at this time.
0 commit comments