fix: too-small scrape request packets may trip SYN flood detection (#3236)

Fixes #964.
This commit is contained in:
Charles Kerr 2022-06-08 17:51:54 -05:00 committed by GitHub
parent af5db6e6f2
commit 00386d03a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -344,8 +344,8 @@ void tr_tracker_http_announce(
auto options = tr_web::FetchOptions{ url.sv(), onAnnounceDone, d };
options.timeout_secs = 90L;
options.sndbuf = 1024;
options.rcvbuf = 3072;
options.sndbuf = 4096;
options.rcvbuf = 4096;
session->web->fetch(std::move(options));
}