mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
multi: remove MSTATE_TUNNELING
MSTATE_TUNNELING is no longer in use now that we have proxy connection filters. Remove the state. Remove the http handler `connect_it` method as it was merely a NOP. Closes #19894
This commit is contained in:
parent
5ed7b5b01b
commit
9711c986ba
8 changed files with 39 additions and 83 deletions
13
lib/http.c
13
lib/http.c
|
|
@ -121,7 +121,7 @@ const struct Curl_handler Curl_handler_http = {
|
|||
Curl_http, /* do_it */
|
||||
Curl_http_done, /* done */
|
||||
ZERO_NULL, /* do_more */
|
||||
Curl_http_connect, /* connect_it */
|
||||
ZERO_NULL, /* connect_it */
|
||||
ZERO_NULL, /* connecting */
|
||||
ZERO_NULL, /* doing */
|
||||
ZERO_NULL, /* proto_pollset */
|
||||
|
|
@ -152,7 +152,7 @@ const struct Curl_handler Curl_handler_https = {
|
|||
Curl_http, /* do_it */
|
||||
Curl_http_done, /* done */
|
||||
ZERO_NULL, /* do_more */
|
||||
Curl_http_connect, /* connect_it */
|
||||
ZERO_NULL, /* connect_it */
|
||||
NULL, /* connecting */
|
||||
ZERO_NULL, /* doing */
|
||||
NULL, /* proto_pollset */
|
||||
|
|
@ -1533,15 +1533,6 @@ bool Curl_compareheader(const char *headerline, /* line to check */
|
|||
return FALSE; /* no match */
|
||||
}
|
||||
|
||||
/*
|
||||
* Curl_http_connect() performs HTTP stuff to do at connect-time, called from
|
||||
* the generic Curl_connect().
|
||||
*/
|
||||
CURLcode Curl_http_connect(struct Curl_easy *data, bool *done)
|
||||
{
|
||||
return Curl_conn_connect(data, FIRSTSOCKET, FALSE, done);
|
||||
}
|
||||
|
||||
/* this returns the socket to wait for in the DO and DOING state for the multi
|
||||
interface and then we are always _sending_ a request and thus we wait for
|
||||
the single socket to become writable only */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue