diff options
| author | 2023-01-24 15:06:58 +0100 | |
|---|---|---|
| committer | 2023-01-24 15:06:58 +0100 | |
| commit | fd1e281cbae03ced989631abd400062af81c48c2 (patch) | |
| tree | 6ad8e8fca29c57af3ece6b470868df6c8607fb76 /webfinger.c | |
| parent | Backport from xs. (diff) | |
| download | penes-snac2-fd1e281cbae03ced989631abd400062af81c48c2.tar.gz penes-snac2-fd1e281cbae03ced989631abd400062af81c48c2.tar.xz penes-snac2-fd1e281cbae03ced989631abd400062af81c48c2.zip | |
Use a shorter timeout for first output connections.
Diffstat (limited to '')
| -rw-r--r-- | webfinger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c index 0811bca..4d1abe6 100644 --- a/webfinger.c +++ b/webfinger.c | |||
| @@ -64,7 +64,7 @@ int webfinger_request(char *qs, char **actor, char **user) | |||
| 64 | else { | 64 | else { |
| 65 | xs *url = xs_fmt("https:/" "/%s/.well-known/webfinger?resource=%s", host, resource); | 65 | xs *url = xs_fmt("https:/" "/%s/.well-known/webfinger?resource=%s", host, resource); |
| 66 | 66 | ||
| 67 | xs_http_request("GET", url, headers, NULL, 0, &status, &payload, &p_size); | 67 | xs_http_request("GET", url, headers, NULL, 0, &status, &payload, &p_size, 0); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | if (valid_status(status)) { | 70 | if (valid_status(status)) { |