You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because this?
Then over time process how to cancel?
gqcn
added
bug
It is confirmed a bug, but don't worry, we'll handle it.
done
This issue is done, which may be release in next version.
labels
Oct 7, 2023
@linliyuan Please try the latest version. If this issue persists, try submitting a new issue.
It seems that GF doesn't have any server-side timeout control. If a large number of long-time running requests are triggered, it can easily lead to a DDos attack. Moreover, even if the client has disconnected the request, the server will still complete the execution, which makes it even easier for the server to be attacked by DDos. How do you view this issue?
1. What version of
Go
and system type/arch are you using?go 1.19
2. What version of
GoFrame
are you using?v2.2.2
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
this my server config
5. What did you expect to see?
control server is cancel when process over 60s
6. What did you see instead?
http server is over 60s,how to use server param ’readTimeout‘
The text was updated successfully, but these errors were encountered: