aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-24 16:53:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-24 16:53:53 +0000
commita6206a3aefa2814959dad1bc84ef96b5bf24d60f (patch)
tree40adc12fed77b90f4518a05e46ba8c69f8c3cc08 /lib/http.c
parent30639ed72b2d0552435e22f17d1e2cebc86cc4ea (diff)
Fixes to bring back the the "Expect: 100-continue" functionality. If the
header is used, we must wait for a 100-code (or timeout), before we send the data. The timeout is merely 1000 ms at this point. We may have reason to set a longer timeout in the future.
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 03f7b91d6..699df5361 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -232,7 +232,7 @@ CURLcode add_buffer_send(send_buffer *in,
return CURLE_OK;
}
-
+ http->sending = HTTPSEND_BODY;
/* the full buffer was sent, clean up and return */
}
if(in->buffer)