diff options
Diffstat (limited to 'lib/http.c')
| -rw-r--r-- | lib/http.c | 2 | 
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;  }  | 
