Skip to content

Commit 17816af

Browse files
committed
Revert "Merge pull request #71 from wilx/master"
This reverts commit 30a4f12, reversing changes made to d19dd2b.
1 parent 30a4f12 commit 17816af

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

boost/network/protocol/http/server/impl/parsers.ipp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ namespace boost { namespace network { namespace http {
2424

2525
BOOST_NETWORK_INLINE void parse_version(std::string const & partial_parsed, fusion::tuple<uint8_t,uint8_t> & version_pair) {
2626
using namespace boost::spirit::qi;
27-
std::string::const_iterator it = partial_parsed.begin();
2827
parse(
29-
it, partial_parsed.end(),
28+
partial_parsed.begin(), partial_parsed.end(),
3029
(
3130
lit("HTTP/")
3231
>> ushort_
@@ -38,9 +37,8 @@ namespace boost { namespace network { namespace http {
3837

3938
BOOST_NETWORK_INLINE void parse_headers(std::string const & input, std::vector<request_header_narrow> & container) {
4039
using namespace boost::spirit::qi;
41-
std::string::const_iterator it = input.begin();
4240
parse(
43-
it, input.end(),
41+
input.begin(), input.end(),
4442
*(
4543
+(alnum|(punct-':'))
4644
>> lit(": ")

boost/network/support/is_tcp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ namespace boost { namespace network {
2323

2424
} // namespace boost
2525

26-
#endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622
26+
#endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622

boost/network/support/is_udp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ namespace boost { namespace network {
2424

2525
} // namespace boost
2626

27-
#endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
27+
#endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622

0 commit comments

Comments
 (0)