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

Introduced new chunked transfer encoding parser to remove chunk markers#720

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 7 commits intocpp-netlib:masterfromumennel:master-integration
Mar 31, 2017
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
Removed commented lines.
  • Loading branch information
@umennel
umennel committedDec 18, 2016
commitff5c7c8fb2af00b2ea52f6c8b410380922865152
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -576,37 +576,6 @@ struct http_async_connection
}
}

// string_type parse_chunk_encoding(string_type& body_string) {
// string_type body;
// string_type crlf = "\r\n";

// typename string_type::iterator begin = body_string.begin();
// for (typename string_type::iterator iter =
// std::search(begin, body_string.end(), crlf.begin(), crlf.end());
// iter != body_string.end();
// iter =
// std::search(begin, body_string.end(), crlf.begin(), crlf.end())) {
// string_type line(begin, iter);
// if (line.empty()) {
// break;
// }
// std::stringstream stream(line);
// int len;
// stream >> std::hex >> len;
// std::advance(iter, 2);
// if (len == 0) {
// break;
// }
// if (len <= body_string.end() - iter) {
// body.insert(body.end(), iter, iter + len);
// std::advance(iter, len + 2);
// }
// begin = iter;
// }

// return body;
// }

int timeout_;
bool remove_chunk_markers_;
boost::asio::steady_timer timer_;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp