mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +03:00
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.
This commit is contained in:
parent
9ee6cb1b77
commit
b22f93dbb8
2 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue