-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout without keep-alive #1198
Comments
this is different, it is slow request check. client can abuse connection and send header very slowly (kind of ddos) |
I mean if keep-ailve mode is off, shouldn't we count here only |
i think it is just complicates code without benefits, also we run this code on first request as well when keep-alive state is not defined yet |
I mean the case in which
If I do not mention |
Maybe |
actually |
Handling keep-alives is required for supporting HTTP persistent connections. Thus we need both. |
Understood, thanks :) |
Should not here be a check if keep-alive mode is active? https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/server.py#L227
The text was updated successfully, but these errors were encountered: