File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
boost/network/protocol/http/client/connection Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -576,37 +576,6 @@ struct http_async_connection
576
576
}
577
577
}
578
578
579
- // string_type parse_chunk_encoding(string_type& body_string) {
580
- // string_type body;
581
- // string_type crlf = "\r\n";
582
-
583
- // typename string_type::iterator begin = body_string.begin();
584
- // for (typename string_type::iterator iter =
585
- // std::search(begin, body_string.end(), crlf.begin(), crlf.end());
586
- // iter != body_string.end();
587
- // iter =
588
- // std::search(begin, body_string.end(), crlf.begin(), crlf.end())) {
589
- // string_type line(begin, iter);
590
- // if (line.empty()) {
591
- // break;
592
- // }
593
- // std::stringstream stream(line);
594
- // int len;
595
- // stream >> std::hex >> len;
596
- // std::advance(iter, 2);
597
- // if (len == 0) {
598
- // break;
599
- // }
600
- // if (len <= body_string.end() - iter) {
601
- // body.insert(body.end(), iter, iter + len);
602
- // std::advance(iter, len + 2);
603
- // }
604
- // begin = iter;
605
- // }
606
-
607
- // return body;
608
- // }
609
-
610
579
int timeout_;
611
580
bool remove_chunk_markers_;
612
581
boost::asio::steady_timer timer_;
You can’t perform that action at this time.
0 commit comments