Konstantin Kapustin
3ff895d735
Added missing LimitRequestLine and LimitRequestHeader.
2012-05-25 12:52:02 +02:00
benoitc
ffecd64669
don't finish the loop if the headers length is too big
2012-05-25 12:27:40 +02:00
benoitc
d79ff999ce
fix multiple issues with request limit
...
patch from Djoume Salvetti . address the following issues in gunicorn:
* Gunicorn does not limit the size of a request header (the
* limit_request_field_size configuration parameter is not used)
* When the configured request limit is lower than its maximum value, the
* maximum value is used instead. For instance if limit_request_line is
* set to 1024, gunicorn will only limit the request line to 4096 chars
* (this issue also affects limit_request_fields)
* Request limits are not limited to their maximum authorized values. For
* instance it is possible to set limit_request_line to 64K (this issue
* also affects limit_request_fields)
* Setting limit_request_fields and limit_request_field_size to 0 does
* not make them unlimited. The following patch allows limit_request_line
* and limit_request_field_size to be unlimited. limit_request_fields can
* no longer be unlimited (I can't imagine 32K fields to not be enough
* but I have a use case where 8K for the request line is not enough).
* Parsing errors (premature client disconnection) are not reported
* When request line limit is exceeded the configured value is reported
* instead of the effective value.
2012-05-24 12:13:34 +02:00
benoitc
124963249a
bump version
2012-05-16 08:47:29 +02:00
benoitc
1faea03263
found the settings file in eahc nested folders. Fix issue #340
2012-05-16 08:45:35 +02:00
benoitc
8835b5f04d
break immediately if we found the project path.
2012-05-16 08:23:07 +02:00
benoitc
367585c5e0
update changelog
2012-05-15 10:55:26 +02:00
benoitc
4ce57509a7
add a note about django1.4 & wsgi
2012-05-15 10:42:33 +02:00
benoitc
6603ec551a
fix django wsgi example
...
The wsgi file generated by django wasn't adding the project to
PYTHONPATH. This change fix it by detecting it based on the wsgi.py
path.
2012-05-15 10:24:39 +02:00
benoitc
f4ddf0f7a7
fix pylons example
2012-05-15 10:11:48 +02:00
benoitc
09a4a8374d
bump to 0.14.3
2012-05-15 09:57:48 +02:00
benoitc
1efb622938
the app was initialized 2 times. close #324
...
thanks @fafhrd91 for the diff
2012-05-15 00:21:43 +02:00
benoitc
01ad98f98a
add ZheFu Peng (CMGS) to THANKS
2012-05-15 00:16:59 +02:00
benoitc
7a32616407
fixes gevent websocket example . close #343
2012-05-15 00:15:30 +02:00
CMGS
90e698aa3c
support websocket hybi13
2012-05-15 00:15:30 +02:00
benoitc
da11bce9a7
detect if AdminHandler can be imported. close #333
2012-05-14 23:17:12 +02:00
shouse-cars
0d58056132
Added note about using Gunicorn with logrotate.
2012-05-10 11:27:19 +02:00
benoitc
8df917dccc
add Djoume Salvetti to Thanks. close #342
2012-05-10 11:25:30 +02:00
Djoume Salvetti
9e308e317f
Improves performance of http.body.Body.readline()
2012-05-10 11:24:54 +02:00
Benoit Chesneau
4b59fc351f
fix typo
2012-04-26 18:30:01 +02:00
Benoit Chesneau
5f11713678
log HTTP errors in access log. close #317
2012-04-26 18:17:55 +02:00
Benoit Chesneau
1c27d369b4
display traceback when the work fails to boot ( close #338 )
2012-04-26 17:40:09 +02:00
Benoit Chesneau
8c716dd110
Merge pull request #332 from vibrant/master
...
random.seeding is broken if urandom is absent
2012-04-26 08:27:57 -07:00
Randall Leeds
a5ace05fe8
drop vestigial debian line from MANIFIEST.in
2012-04-22 20:26:42 -07:00
Randall Leeds
dd948d6f46
better support for new and old gevent dns
...
Thanks @denik. Fixes #336 .
2012-04-22 20:11:34 -07:00
Benoit Chesneau
04599487f4
direct link to the circusctl command.
2012-04-18 17:23:30 +02:00
Benoit Chesneau
3546727ec6
fix typo
2012-04-18 17:20:00 +02:00
Benoit Chesneau
4c2a5d2578
sync
2012-04-18 17:19:32 +02:00
Benoit Chesneau
c1e4825091
sync doc
2012-04-18 17:16:54 +02:00
Benoit Chesneau
5b22b2208a
add circus doc in monitoring tools.
2012-04-18 17:10:33 +02:00
Benoit Chesneau
6cffb5b473
no mre AdminMediaHandler class in django 1.4 . close #333
2012-04-17 14:07:36 +02:00
Randall Leeds
50828b9220
update ppa docs
2012-04-14 14:54:16 -07:00
Randall Leeds
724677035a
Merge pull request #331 from bobby-beckmann/master
...
Epic change to support gevent 1.0b2
2012-04-12 11:28:17 -07:00
Wojtek
62ee0859bc
fixed random number generation in case of urandom absence
2012-04-12 13:46:51 +02:00
Bobby Beckmann
6630c5e3e1
Makes gunicorn work with gevent 1.0b2
2012-04-11 15:30:35 -05:00
Randall Leeds
1215af30e4
Add Konstantin to THANKS
2012-03-27 17:18:13 -07:00
Randall Leeds
1757567d2f
Be careful with logging locks and unopened streams
...
Slight modification of patch suggested by sirkonst.
2012-03-27 17:14:29 -07:00
Konstantin Kapustin
ac223ae639
Change logging in handle_error.
2012-03-27 17:01:40 -07:00
Randall Leeds
4a01269871
doc fix: log to '-' means stderr
2012-03-27 14:32:58 -07:00
benoitc
573ad019d1
fix websockets supports.
...
Thanks Nikolay Kim for the tests and patch.
2012-03-26 18:20:30 +02:00
benoitc
ff1dfa1780
reopen log files after initialization . close #309
...
make sure we reopen logfiles after initialization so we are sure we can
use it.
2012-03-24 09:46:05 +01:00
Benoit Chesneau
533ce5df87
Merge pull request #318 from chrisforbes/patch-1
...
Fix typo in docstring for kill_workers
2012-03-24 01:28:47 -07:00
benoitc
4542e19e38
add a makefile
2012-03-24 09:25:07 +01:00
Chris Forbes
feb200d807
Fix typo in docstring for kill_workers
2012-03-20 15:53:32 +13:00
benoitc
a62fac6e30
sync doc
2012-03-16 21:11:05 +01:00
benoitc
a6460199a3
bump to 0.14.2 .
2012-03-16 21:10:53 +01:00
benoitc
961eabb332
simplify the code
2012-03-16 21:10:44 +01:00
benoitc
d6012fa84b
fix gevent_pywsgi worker. close #314
...
access_log arity has changed in 0.14.0. Apply this change to the pywsgi
worker as well.
2012-03-16 07:18:30 +01:00
benoitc
b7b6179593
fix gevent wsgi change
2012-03-16 07:13:25 +01:00
benoitc
ba60d6d4a9
imahe gevent_sgi and alias of gevent_pywsgi
...
wgsi gevent is now an alias of pywsgi in future 1.0 so slowly deprecate
it.
2012-03-16 06:49:24 +01:00