diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-11 09:17:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-12 14:36:54 +0100 |
commit | a6d134e17ab8efb2f8fa7c4ff877f6ddb9685f14 (patch) | |
tree | a09a17d2b9a897b26227825d2e8f63f525f0eea7 /lib/urldata.h | |
parent | aabc7ae5ecf70973add429b5acbc86d6a57e4da5 (diff) | |
download | curl-a6d134e17ab8efb2f8fa7c4ff877f6ddb9685f14.tar.gz |
pretransfer: don't strlen() POSTFIELDS set for GET requests
... since that data won't be used in the request anyway.
Fixes #3548
Reported-by: Renaud Allard
Close #3549
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index ff3cc9a65..e137569ac 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1150,7 +1150,6 @@ typedef enum { HTTPREQ_PUT, HTTPREQ_HEAD, HTTPREQ_OPTIONS, - HTTPREQ_CUSTOM, HTTPREQ_LAST /* last in list */ } Curl_HttpReq; |