mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
parent
4fc5e7eda5
commit
3c2210713e
@ -64,7 +64,7 @@ size_t Curl_hyper_recv(void *userp, hyper_context *ctx,
|
||||
struct connectdata *conn = data->conn;
|
||||
CURLcode result;
|
||||
ssize_t nread;
|
||||
|
||||
DEBUGASSERT(conn);
|
||||
(void)ctx;
|
||||
|
||||
result = Curl_read(data, conn->sockfd, (char *)buf, buflen, &nread);
|
||||
|
@ -681,7 +681,7 @@ static CURLcode CONNECT(struct Curl_easy *data,
|
||||
goto error;
|
||||
}
|
||||
/* tell Hyper how to read/write network data */
|
||||
hyper_io_set_userdata(io, conn);
|
||||
hyper_io_set_userdata(io, data);
|
||||
hyper_io_set_read(io, Curl_hyper_recv);
|
||||
hyper_io_set_write(io, Curl_hyper_send);
|
||||
conn->sockfd = tunnelsocket;
|
||||
|
Loading…
Reference in New Issue
Block a user