aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 4d108da44..dc7bd32e1 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -415,6 +415,7 @@ static int push_promise(struct Curl_easy *data,
free(stream->push_headers[i]);
free(stream->push_headers);
stream->push_headers = NULL;
+ stream->push_headers_used = 0;
if(rv) {
/* denied, kill off the new handle again */