summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-19 10:55:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-19 14:06:42 +0100
commit6e061ae63af77babc04a6a7ea73ac0dffe975303 (patch)
tree572d81153e01cb5899ffc4cd0d0ae609ee280aa7 /lib/http.h
parentba0657c343f0c3eff28f7d56cff3196c6443e0b9 (diff)
downloadcurl-6e061ae63af77babc04a6a7ea73ac0dffe975303.tar.gz
http: enable haproxy support for hyper backend
This is done by having native code do the haproxy header output before hyper issues its request. The little downside with this approach is that we need the entire Curl_buffer_send() function built, which is otherwise not used for hyper builds. If hyper ends up getting native support for the haproxy protocols we can backpedal on this. Enables test 1455 and 1456 Closes #8034
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/http.h b/lib/http.h
index cb5b56faf..b4aaba2a2 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -54,15 +54,11 @@ char *Curl_copy_header_value(const char *header);
char *Curl_checkProxyheaders(struct Curl_easy *data,
const struct connectdata *conn,
const char *thisheader);
-#ifndef USE_HYPER
CURLcode Curl_buffer_send(struct dynbuf *in,
struct Curl_easy *data,
curl_off_t *bytes_written,
curl_off_t included_body_bytes,
int socketindex);
-#else
-#define Curl_buffer_send(a,b,c,d,e) CURLE_OK
-#endif
CURLcode Curl_add_timecondition(struct Curl_easy *data,
#ifndef USE_HYPER