diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-01-05 09:38:11 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-05 23:43:02 +0100 |
commit | 3f3ddee0665176040b3eaf89a912a922726ecb18 (patch) | |
tree | 01023f36e2b245471228dbc001204432194865a7 /lib/rtsp.c | |
parent | 446267c5559aaf7d3f622dbb15883aeec3bffef9 (diff) | |
download | curl-3f3ddee0665176040b3eaf89a912a922726ecb18.tar.gz |
http_proxy: do not assign data->req.p.http use local copy
Avoid the tricky reusing of the data->req.p.http pointer for http proxy
tunneling.
Fixes #10194
Closes #10234
Diffstat (limited to 'lib/rtsp.c')
-rw-r--r-- | lib/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index 3069f3f99..9d27929e8 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -563,7 +563,7 @@ static CURLcode rtsp_do(struct Curl_easy *data, bool *done) } /* issue the request */ - result = Curl_buffer_send(&req_buffer, data, + result = Curl_buffer_send(&req_buffer, data, data->req.p.http, &data->info.request_size, 0, FIRSTSOCKET); if(result) { failf(data, "Failed sending RTSP request"); |