mirror of
https://github.com/curl/curl.git
synced 2026-07-30 00:58:06 +03:00
Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and
KEEP_RECV to better match the general terminology: receive and send is what we do from the (remote) servers. We read and write from and to the local fs.
This commit is contained in:
parent
75585f771a
commit
3aa3d7e629
6 changed files with 66 additions and 66 deletions
|
|
@ -341,7 +341,7 @@ static CURLcode pausewrite(struct SessionHandle *data,
|
|||
data->state.tempwritetype = type;
|
||||
|
||||
/* mark the connection as RECV paused */
|
||||
k->keepon |= KEEP_READ_PAUSE;
|
||||
k->keepon |= KEEP_RECV_PAUSE;
|
||||
|
||||
DEBUGF(infof(data, "Pausing with %d bytes in buffer for type %02x\n",
|
||||
(int)len, type));
|
||||
|
|
@ -373,7 +373,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
|
|||
/* If reading is actually paused, we're forced to append this chunk of data
|
||||
to the already held data, but only if it is the same type as otherwise it
|
||||
can't work and it'll return error instead. */
|
||||
if(data->req.keepon & KEEP_READ_PAUSE) {
|
||||
if(data->req.keepon & KEEP_RECV_PAUSE) {
|
||||
size_t newlen;
|
||||
char *newptr;
|
||||
if(type != data->state.tempwritetype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue