summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-02-04 14:54:42 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-02-04 14:54:42 +0100
commitdbccf497dae82af39b73b597c07152402e16727a (patch)
tree7c2487e85301b031812bf8c2b05b77562c305c26 /lib/http.h
parent63b26d889f58ba25fc45a2ff02ed41ea08c63dbd (diff)
downloadcurl-dbccf497dae82af39b73b597c07152402e16727a.tar.gz
http2: store response header in temporary buffer
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index d568114d7..253687148 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -164,6 +164,9 @@ struct http_conn {
sending send_underlying; /* underlying send Curl_send callback */
recving recv_underlying; /* underlying recv Curl_recv callback */
bool closed; /* TRUE on HTTP2 stream close */
+ Curl_send_buffer *header_recvbuf; /* store response headers */
+ size_t nread_header_recvbuf; /* number of bytes in header_recvbuf
+ fed into upper layer */
#else
int unused; /* prevent a compiler warning */
#endif