fix: too-small scrape request packets may trip SYN flood detection (#3236)
Fixes #964.
This commit is contained in:
parent
af5db6e6f2
commit
00386d03a6
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue