aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-29 15:21:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:17 +0200
commit84c6b6561f8a537f43b0647e4dbd7f2b258e2174 (patch)
tree688c13f3a36cc9f4992853b4e67a02520609820b /lib/http.c
parent2c238ea1fc3b0979ebe6a6088591198df5ea5415 (diff)
http2: more stream-oriented data, stream ID 0 is for connections
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index aa1dcbf0e..4b67db4b9 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -168,6 +168,8 @@ CURLcode Curl_http_setup_conn(struct connectdata *conn)
http->status_code = -1;
http->data = NULL;
http->datalen = 0;
+ http->error_code = NGHTTP2_NO_ERROR;
+ http->closed = FALSE;
return CURLE_OK;
}