mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
lib: --disable-bindlocal builds curl without local binding support
This commit is contained in:
parent
97a79c79a7
commit
e67718eef7
8 changed files with 39 additions and 0 deletions
|
|
@ -1590,8 +1590,10 @@ static struct connectdata *allocate_conn(struct Curl_easy *data)
|
|||
if(!conn->localdev)
|
||||
goto error;
|
||||
}
|
||||
#ifndef CURL_DISABLE_BINDLOCAL
|
||||
conn->localportrange = data->set.localportrange;
|
||||
conn->localport = data->set.localport;
|
||||
#endif
|
||||
|
||||
/* the close socket stuff needs to be copied to the connection struct as
|
||||
it may live on without (this specific) Curl_easy */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue