mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
fix: too-small scrape request packets may trip SYN flood detection (#3236)
Fixes #964.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user