Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pull request, Cygwin fix and one more change.#71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 3 commits intocpp-netlib:masterfromwilx:master
Oct 8, 2011
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
boost\network\protocol\http\server\impl\parsers.ipp: Use intermediate…
… variable to fix compilation.
  • Loading branch information
@wilx
wilx authored andunknown committedOct 3, 2011
commitb16cc29d17aa271c00c07599d2714de386349237
6 changes: 4 additions & 2 deletionsboost/network/protocol/http/server/impl/parsers.ipp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,8 +24,9 @@ namespace boost { namespace network { namespace http {

BOOST_NETWORK_INLINE void parse_version(std::string const & partial_parsed, fusion::tuple<uint8_t,uint8_t> & version_pair) {
using namespace boost::spirit::qi;
std::string::const_iterator it = partial_parsed.begin();
parse(
partial_parsed.begin(), partial_parsed.end(),
it, partial_parsed.end(),
(
lit("HTTP/")
>> ushort_
Expand All@@ -37,8 +38,9 @@ namespace boost { namespace network { namespace http {

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

[8]ページ先頭

©2009-2025 Movatter.jp