We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2634e commit bf64ef9Copy full SHA for bf64ef9
boost/network/protocol/http/client/connection/sync_base.hpp
@@ -169,11 +169,11 @@ struct sync_connection_base_impl {
169
bool stopping_inner = false;
170
do {
171
if (response_buffer.size() < (chunk_size+2)){
172
- std::size_t toRead = (chunk_size+2) - response_buffer.size();
+ std::size_t bytes_to_read = (chunk_size+2) - response_buffer.size();
173
std::size_t chunk_bytes_read =
174
read(socket_,
175
response_buffer,
176
- boost::asio::transfer_at_least(toRead),
+ boost::asio::transfer_at_least(bytes_to_read),
177
error);
178
if (chunk_bytes_read == 0) {
179
if (error != boost::asio::error::eof)
0 commit comments