mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE
This commit is contained in:
parent
799c7048dc
commit
e3ed5cb380
3 changed files with 18 additions and 18 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue