aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-01 15:52:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-24 23:44:42 +0200
commitf65ab8864e2f9d580daf0ca48c972d6124a2ff3d (patch)
treebaa0c14a5de151b3c48df583be255b57986fc41b /lib/http.h
parentfeea9263e9066768323a759ee178c144fccf5998 (diff)
http2: fixed the header accessor functions for the push callback
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index 80ec68303..63ea4ace4 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -176,7 +176,10 @@ struct HTTP {
const uint8_t *upload_mem; /* points to a buffer to read from */
size_t upload_len; /* size of the buffer 'upload_mem' points to */
curl_off_t upload_left; /* number of bytes left to upload */
- Curl_send_buffer *push_recvbuf; /* store incoming push headers */
+
+ char **push_headers; /* allocated array */
+ size_t push_headers_used; /* number of entries filled in */
+ size_t push_headers_alloc; /* number of entries allocated */
#endif
};