diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-01-08 14:52:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-01-08 14:52:05 +0000 |
commit | de23b98522991dbc1f2c184216d9f73bead83895 (patch) | |
tree | a0fe7c7ee352274f5d1adbc299a806575142c2a6 /lib/multi.c | |
parent | 5e1c9e90d9a12033b1f1a4d09f2864580a662471 (diff) |
Introducing curl_easy_pause() and new magic return codes for both the read
and the write callbacks that now can make a connection's reading and/or
writing get paused.
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/multi.c b/lib/multi.c index 042694ca5..a88a0b74a 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1255,13 +1255,13 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, k = &easy->easy_handle->req; if(!(k->keepon & KEEP_READ)) { - /* We're done reading */ - easy->easy_conn->readchannel_inuse = FALSE; + /* We're done reading */ + easy->easy_conn->readchannel_inuse = FALSE; } if(!(k->keepon & KEEP_WRITE)) { - /* We're done writing */ - easy->easy_conn->writechannel_inuse = FALSE; + /* We're done writing */ + easy->easy_conn->writechannel_inuse = FALSE; } if(easy->result) { |