Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed

that it is bad anyway. Starting now, removing a handle that is in used in a
pipeline will break the pipeline - it'll be set back up again but still...
This commit is contained in:
Daniel Stenberg
2008-01-21 23:48:58 +00:00
parent a674654f83
commit ef0ed9b720
6 changed files with 19 additions and 45 deletions

View File

@@ -2477,7 +2477,7 @@ ConnectionExists(struct SessionHandle *data,
}
if(match) {
if(!Curl_isPipeliningEnabled(data)) {
if(!check->is_in_pipeline) {
/* The check for a dead socket makes sense only in the
non-pipelining case */
bool dead = SocketIsDead(check->sock[FIRSTSOCKET]);