aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-21 23:48:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-21 23:48:58 +0000
commitef0ed9b7206e186c7d3d08b91885efdd0d0db9df (patch)
tree160d1f8e9e1b01f55e968957093d7c91a21291dc /lib/sendf.c
parenta674654f83b61f1c83714e99af59b789bc747bea (diff)
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...
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 32a8655b2..1671e3ae8 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -419,11 +419,6 @@ CURLcode Curl_client_write(struct connectdata *conn,
struct SessionHandle *data = conn->data;
size_t wrote;
- if(data->state.cancelled) {
- /* We just suck everything into a black hole */
- return CURLE_OK;
- }
-
/* 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. */