The web server threads MUST have a timeout (the shorter the better)
else they are vulnerable to denial of service attacks.

On 3 Lug, 06:23, Iceberg <[email protected]> wrote:
> Hi Candid and everyone,
>
> Candid mentioned "rocket should close the connections if request is
> taking longer than 10 seconds (default timeout)" in here [1]. Would
> somebody clarify, is that true?
>
> My concern is that, one of my old app need some periodical maintenance
> job which could take dozes of seconds to finish. I knew the normal
> solution is run another daemon for that, but, for simplicity reasons,
> I still chose to use web2py 's builtin cron feature to 
> visithttp://localhost:8000/myapp/default/maintenanceevery hour. This trick
> worked well on my windows XP development laptop. I don't know whether
> situation is changed since then.
>
> [1]http://groups.google.com/group/web2py/msg/0416ed025f3e33f8
>
> Regards,
> Iceberg

Reply via email to