diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-01 15:52:46 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-24 23:44:42 +0200 |
commit | f65ab8864e2f9d580daf0ca48c972d6124a2ff3d (patch) | |
tree | baa0c14a5de151b3c48df583be255b57986fc41b /lib/http.h | |
parent | feea9263e9066768323a759ee178c144fccf5998 (diff) | |
download | curl-f65ab8864e2f9d580daf0ca48c972d6124a2ff3d.tar.gz |
http2: fixed the header accessor functions for the push callback
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 5 |
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 }; |