summaryrefslogtreecommitdiff
path: root/webfinger.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-24 15:06:58 +0100
committerdefault <nobody@localhost>2023-01-24 15:06:58 +0100
commitfd1e281cbae03ced989631abd400062af81c48c2 (patch)
tree6ad8e8fca29c57af3ece6b470868df6c8607fb76 /webfinger.c
parent4baf56c4ce2c02363ed04cf11c068c6cbffcf199 (diff)
Use a shorter timeout for first output connections.
Diffstat (limited to 'webfinger.c')
-rw-r--r--webfinger.c2
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)
else {
xs *url = xs_fmt("https:/" "/%s/.well-known/webfinger?resource=%s", host, resource);
- xs_http_request("GET", url, headers, NULL, 0, &status, &payload, &p_size);
+ xs_http_request("GET", url, headers, NULL, 0, &status, &payload, &p_size, 0);
}
if (valid_status(status)) {