diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-11-23 13:56:34 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-11-23 13:56:34 +0100 |
commit | c6ce35404e5addaf6fb86a157520915dceda987f (patch) | |
tree | 15b548bd781f01bbc64ffaa934e4f1958d769b32 /lib/vquic/quiche.c | |
parent | 13275bec9301e6372a6c65e2d48f9d5cb55b9842 (diff) | |
download | curl-c6ce35404e5addaf6fb86a157520915dceda987f.tar.gz |
fixup the same in the vquic filesbagder/urldata-protop
Diffstat (limited to 'lib/vquic/quiche.c')
-rw-r--r-- | lib/vquic/quiche.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index d4817072c..2b7a693af 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -131,7 +131,7 @@ static unsigned int quiche_conncheck(struct connectdata *conn, static CURLcode quiche_do(struct connectdata *conn, bool *done) { - struct HTTP *stream = conn->data->req.protop; + struct HTTP *stream = conn->data->req.p.http; stream->h3req = FALSE; /* not sent */ return Curl_http(conn, done); } @@ -461,7 +461,7 @@ static ssize_t h3_stream_recv(struct connectdata *conn, int rc; struct h3h1header headers; struct Curl_easy *data = conn->data; - struct HTTP *stream = data->req.protop; + struct HTTP *stream = data->req.p.http; headers.dest = buf; headers.destlen = buffersize; headers.nlen = 0; @@ -549,7 +549,7 @@ static ssize_t h3_stream_send(struct connectdata *conn, ssize_t sent; struct quicsocket *qs = conn->quic; curl_socket_t sockfd = conn->sock[sockindex]; - struct HTTP *stream = conn->data->req.protop; + struct HTTP *stream = conn->data->req.p.http; if(!stream->h3req) { CURLcode result = http_request(conn, mem, len); @@ -597,7 +597,7 @@ static CURLcode http_request(struct connectdata *conn, const void *mem, { /* */ - struct HTTP *stream = conn->data->req.protop; + struct HTTP *stream = conn->data->req.p.http; size_t nheader; size_t i; size_t authority_idx; @@ -825,7 +825,7 @@ CURLcode Curl_quic_done_sending(struct connectdata *conn) if(conn->handler == &Curl_handler_http3) { /* only for HTTP/3 transfers */ ssize_t sent; - struct HTTP *stream = conn->data->req.protop; + struct HTTP *stream = conn->data->req.p.http; struct quicsocket *qs = conn->quic; fprintf(stderr, "!!! Curl_quic_done_sending\n"); stream->upload_done = TRUE; |