aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
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. */