summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-06 13:04:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-08 10:49:16 +0200
commit51c0ebcff2140c38ff389b4fcfb8216f5e9d198c (patch)
treee4d6c1b35c99cae1e2fe054e1bab69bae07e33f7 /lib/http.h
parent63813a0325adec659bdb6866c061208266b68797 (diff)
downloadcurl-51c0ebcff2140c38ff389b4fcfb8216f5e9d198c.tar.gz
http: deal with partial CONNECT sends
Also added 'CURL_SMALLSENDS' to make Curl_write() send short packets, which helped verifying this even more. Add test 363 to verify. Reported-by: ustcqidi on github Fixes #6950 Closes #7024
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http.h b/lib/http.h
index 851e0a382..2a3834ae1 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -184,8 +184,7 @@ struct HTTP {
enum {
HTTPSEND_NADA, /* init */
HTTPSEND_REQUEST, /* sending a request */
- HTTPSEND_BODY, /* sending body */
- HTTPSEND_LAST /* never use this */
+ HTTPSEND_BODY /* sending body */
} sending;
#ifndef CURL_DISABLE_HTTP