aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-07-06 11:20:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-06 11:20:57 +0200
commitb22f93dbb854efa8ab3af9c07d01bcd3664b255c (patch)
tree6f66e3684670f88fbfd7bd4b17f4fb356757e74c /lib/http.c
parent9ee6cb1b77c7a9a17c5ce380cec72066e13b1ebf (diff)
http: s/TINY_INITIAL_POST_SIZE/EXPECT_100_THRESHOLD
Make the name reflect its use better, and add a short comment describing what it's for.
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 e611214fb..319a8192c 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2600,7 +2600,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
data->state.expect100header =
Curl_compareheader(ptr, "Expect:", "100-continue");
}
- else if(postsize > TINY_INITIAL_POST_SIZE || postsize < 0) {
+ else if(postsize > EXPECT_100_THRESHOLD || postsize < 0) {
result = expect100(data, conn, req_buffer);
if(result)
return result;