http2: fixed the header accessor functions for the push callback

This commit is contained in:
Daniel Stenberg
2015-06-01 15:52:46 +02:00
parent 21784936e1
commit 952b745c98
5 changed files with 82 additions and 43 deletions

View File

@@ -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
};