diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-14 23:44:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-14 23:44:06 +0200 |
commit | 0d6b29cc2589973c665b2538dc5e56248b02137f (patch) | |
tree | e9cc4503fd6a6be4cb48b7f3bd3a42fad20ef965 | |
parent | bbfffbce97ece4d94a0d89784ac3c1525bd8fedd (diff) | |
download | curl-bagder/http2-memleaks.tar.gz |
fixup for HTTP-disabled buildsbagder/http2-memleaks
-rw-r--r-- | lib/http.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h index 4d8a9d1d5..c0dbc996f 100644 --- a/lib/http.h +++ b/lib/http.h @@ -156,10 +156,11 @@ struct HTTP { HTTPSEND_LAST /* never use this */ } sending; +#ifndef CURL_DISABLE_HTTP Curl_send_buffer *send_buffer; /* used if the request couldn't be sent in one chunk, points to an allocated send_buffer struct */ - +#endif #ifdef USE_NGHTTP2 /*********** for HTTP/2 we store stream-local data here *************/ int32_t stream_id; /* stream we are interested in */ |