BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE

This commit is contained in:
Daniel Stenberg 2017-04-25 15:31:14 +02:00
parent 799c7048dc
commit e3ed5cb380
3 changed files with 18 additions and 18 deletions

View file

@ -722,7 +722,7 @@ CURLcode Curl_read(struct connectdata *conn, /* connection data */
}
/* If we come here, it means that there is no data to read from the buffer,
* so we read from the socket */
bytesfromsocket = CURLMIN(sizerequested, (size_t)data->set.buffer_size);
bytesfromsocket = CURLMIN(sizerequested, MASTERBUF_SIZE);
buffertofill = conn->master_buffer;
}
else {