about summary refs log tree commit homepage
path: root/Application_Timeouts
diff options
context:
space:
mode:
authorDirkjan Bussink <d.bussink@gmail.com>2021-03-08 09:51:09 +0100
committerEric Wong <bofh@yhbt.net>2021-03-13 02:19:04 +0000
commitc917ac526df214611ec33c21de2b070452ec8434 (patch)
tree627b9c3050e2533bde08766473ed045f49c967b7 /Application_Timeouts
parent5cdb68eb26faf7fd75fbf3ab1fadcf2a30fd4974 (diff)
downloadunicorn-c917ac526df214611ec33c21de2b070452ec8434.tar.gz
This removes the reuse of the parser between requests. Reusing these is
risky in the context of running any other threads within the unicorn
process, also for threads that run background tasks.

If any other thread accidentally grabs hold of the request it can modify
things for the next request in flight.

The downside here is that we allocate more for each request, but that is
worth the trade off here and the security risk we otherwise would carry
to leaking wrong and incorrect data.
Diffstat (limited to 'Application_Timeouts')
0 files changed, 0 insertions, 0 deletions