http2: more stream-oriented data, stream ID 0 is for connections

This commit is contained in:
Daniel Stenberg
2015-04-29 15:21:45 +02:00
parent 2c238ea1fc
commit 84c6b6561f
4 changed files with 31 additions and 25 deletions

View File

@@ -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;
}