mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
ngtcp2: remove remote_addr which is not used in a meaningful way
Closes #8689
This commit is contained in:
parent
f15beb6f30
commit
fa25dab7fd
@ -1718,7 +1718,6 @@ static CURLcode ng_flush_egress(struct Curl_easy *data,
|
||||
uint8_t out[NGTCP2_MAX_UDP_PAYLOAD_SIZE];
|
||||
ngtcp2_path_storage ps;
|
||||
ngtcp2_tstamp ts = timestamp();
|
||||
struct sockaddr_storage remote_addr;
|
||||
ngtcp2_tstamp expiry;
|
||||
ngtcp2_duration timeout;
|
||||
int64_t stream_id;
|
||||
@ -1807,7 +1806,6 @@ static CURLcode ng_flush_egress(struct Curl_easy *data,
|
||||
}
|
||||
}
|
||||
|
||||
memcpy(&remote_addr, ps.path.remote.addr, ps.path.remote.addrlen);
|
||||
while((sent = send(sockfd, (const char *)out, outlen, 0)) == -1 &&
|
||||
SOCKERRNO == EINTR)
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user