dcramer / django-devserver

A drop-in replacement for Django's runserver.
BSD 3-Clause "New" or "Revised" License
1.27k stars 159 forks source link

Increase server request_queue_size fixing bug in OS X/Chrome. #70

Closed yesimon closed 11 years ago

yesimon commented 11 years ago

Referencing this bug: https://code.djangoproject.com/ticket/18336

http://code.google.com/p/chromium/issues/detail?id=105308

I'm not sure if this is the most appropriate place for this pull request but here's the argument for. This is a reproducable bug using OS X/Chrome combo when there are too many concurrent requests. To be honest, this is more of a bug in Chrome. However, it is marked as WontFix and probably won't be fixed with any hurry because no production server will have a low request_queue_size - indeed this is a problem only in local dev.

Django has been hesitant to patch this because 1. it is addressing a particular environment combo, and 2. that is pretty much a Chrome bug.

But seeing as devserver is more about being ahead of the curve, I thought this would be the best place in the short term while it takes a few months/years for the actual bug to be fixed.