From 84c6b6561f8a537f43b0647e4dbd7f2b258e2174 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Apr 2015 15:21:45 +0200 Subject: http2: more stream-oriented data, stream ID 0 is for connections --- lib/http.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/http.c') 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; } -- cgit v1.2.3