plack / Plack

PSGI toolkit and server adapters
http://plackperl.org/
Other
486 stars 214 forks source link

Issue when using Plack behind Nginx #705

Open briankwest opened 8 months ago

briankwest commented 8 months ago

There seems to still be an issue with using Plack behind nginx when firefox aborts connections, Seems something on the plack side spins on the socket and never closes, can confirm that its only when firefox calls abort, adding an Expires 0 header prevents firefox from doing this behavior which is related to client caching.

Where should I focus my efforts to properly catch and address this situation, seems as if its a nice attack vector for a denial of service.