diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-03-05 23:38:16 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-11 11:46:10 +0100 |
commit | 8123560d4496992baecc0c7a05e56ce48e6b6273 (patch) | |
tree | 5597389e87043f3fd82d84334a61d690784d8c53 /lib/transfer.h | |
parent | 019aa722aa82e8642254f3e835992bc425ed3e19 (diff) | |
download | curl-8123560d4496992baecc0c7a05e56ce48e6b6273.tar.gz |
HTTP: allow "header;" to replace an internal header with a blank one
Reported-by: Michael Kaufmann
Fixes #2357
Closes #2362
Diffstat (limited to 'lib/transfer.h')
-rw-r--r-- | lib/transfer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/transfer.h b/lib/transfer.h index 72526a834..9ba398d27 100644 --- a/lib/transfer.h +++ b/lib/transfer.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -22,6 +22,7 @@ * ***************************************************************************/ +#define Curl_headersep(x) ((((x)==':') || ((x)==';'))) char *Curl_checkheaders(const struct connectdata *conn, const char *thisheader); |