mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
comment < 80 columns
This commit is contained in:
parent
a4da82a43b
commit
387521bb6d
@ -658,9 +658,9 @@ static CURLcode readwrite_data(struct SessionHandle *data,
|
|||||||
|
|
||||||
if(((k->keepon & (KEEP_READ|KEEP_WRITE)) == KEEP_WRITE) &&
|
if(((k->keepon & (KEEP_READ|KEEP_WRITE)) == KEEP_WRITE) &&
|
||||||
conn->bits.close ) {
|
conn->bits.close ) {
|
||||||
/* When we've read the entire thing and the close bit is set, the server may
|
/* When we've read the entire thing and the close bit is set, the server
|
||||||
now close the connection. If there's now any kind of sending going on from
|
may now close the connection. If there's now any kind of sending going
|
||||||
our side, we need to stop that immediately. */
|
on from our side, we need to stop that immediately. */
|
||||||
infof(data, "we are done reading and this is set to close, stop send\n");
|
infof(data, "we are done reading and this is set to close, stop send\n");
|
||||||
k->keepon &= ~KEEP_WRITE; /* no writing anymore either */
|
k->keepon &= ~KEEP_WRITE; /* no writing anymore either */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user