Skip to content

Commit c56cadd

Browse files
committed
Update async_normal.hpp
If response has ...<chunk>CLRF<hex>CLRF<data>... We need to skip past chunk-data ending CLRF, otherwise we find it again and on next iteration begin==iter
1 parent 62e2ad7 commit c56cadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/client/connection/async_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ namespace boost { namespace network { namespace http { namespace impl {
452452
break;
453453
if (len <= body_string.end() - iter) {
454454
body.insert(body.end(), iter, iter + len);
455-
std::advance(iter, len);
455+
std::advance(iter, len+2);
456456
}
457457
begin = iter;
458458
}

0 commit comments

Comments
 (0)