aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/http.c b/lib/http.c
index e4ff4010a..e16f6de5c 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -163,19 +163,6 @@ CURLcode Curl_http_setup_conn(struct connectdata *conn)
conn->data->req.protop = http;
- http->nread_header_recvbuf = 0;
- http->bodystarted = FALSE;
- http->status_code = -1;
- http->pausedata = NULL;
- http->pauselen = 0;
- http->error_code = NGHTTP2_NO_ERROR;
- http->closed = FALSE;
-
- /* where to store incoming data for this stream and how big the buffer is */
- http->mem = conn->data->state.buffer;
- http->len = BUFSIZE;
- http->memlen = 0;
-
Curl_http2_setup_conn(conn);
return CURLE_OK;