mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +03:00
urlapi: remove unused flags argument from Curl_url_set_authority
The function is only called from a single place (for HTTP/2 server push) so might as well just assume this fixed option every time. Closes #13409
This commit is contained in:
parent
89ce720028
commit
0a25b3e014
3 changed files with 6 additions and 7 deletions
|
|
@ -832,7 +832,7 @@ static int set_transfer_url(struct Curl_easy *data,
|
|||
|
||||
v = curl_pushheader_byname(hp, HTTP_PSEUDO_AUTHORITY);
|
||||
if(v) {
|
||||
uc = Curl_url_set_authority(u, v, CURLU_DISALLOW_USER);
|
||||
uc = Curl_url_set_authority(u, v);
|
||||
if(uc) {
|
||||
rc = 2;
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue