George Kollias
5a4e16cf5b
* Added 'worker_exit' server hook
...
Fixes #81 .
2010-08-16 10:50:25 -04:00
Paul J. Davis
1df1bca7b7
Don't override the default bind address.
...
An old default was overriding the config hierarchy.
2010-08-16 10:45:05 -04:00
benoitc
e625188196
fix issue #84 . thanks!
2010-08-16 12:10:27 +02:00
benoitc
ea77f56449
update doc
2010-08-12 22:34:58 +02:00
Paul J. Davis
006a8b6e9d
Drop Server and Date headers in start_response.
...
We now treat Server and Date headers as hop-by-hop headers (ie, drop them)
so that they aren't repeated. While not technically hop-by-hop, the WSGI
spec says we should take the role of an origin server.
Fixes #79
2010-08-12 16:11:45 -04:00
benoitc
d37f0a6555
"Yep. Delete it" . fix issue #82 . opening a ticket with a not for this
...
change so if someone figures how to use TCP_CORK or TCP_NOPUSH we can
track it.
2010-08-12 21:22:09 +02:00
benoitc
8289f1d1d9
imean 0
2010-08-12 13:53:08 +02:00
benoitc
3979c3dd40
bump
2010-08-12 13:52:00 +02:00
benoitc
d07009a12f
we cant to challenge worker timeout here.
2010-08-12 13:13:21 +02:00
benoitc
b281ec002b
fix worker timeout.
2010-08-12 13:10:56 +02:00
benoitc
5df427b5cb
oups
2010-08-12 12:22:54 +02:00
benoitc
7300502605
dramatically improve eventlet worker
2010-08-12 12:18:41 +02:00
benoitc
ed66b8b129
some fixes
2010-08-12 11:30:07 +02:00
benoitc
bf9d48be68
typo spotted by sjampoo on irc
2010-08-12 10:49:27 +02:00
benoitc
d2c10a95e4
dramatically improve the gevent worker.
2010-08-12 10:44:06 +02:00
benoitc
d7d6fa382b
rever for now optimisations done when collecting headers. It doens't
...
give good results
2010-08-12 06:48:05 +02:00
benoitc
cf8a31264e
use splitlines function
2010-08-11 22:36:17 +02:00
benoitc
2b0f37b6b1
again no need to iter headers. Get the values we need the first time
2010-08-11 19:18:25 +02:00
benoitc
08fe410fb3
no need to iter headers to find connection header since we could have it
...
the first time we get the list
2010-08-11 19:10:48 +02:00
benoitc
1ac15b4bb2
some fixes in eventlet worker
2010-08-11 18:27:07 +02:00
benoitc
cf6747dd86
fix gevent & eventlet workers
2010-08-11 17:00:03 +02:00
benoitc
568f9c3ee1
new gevent worker. Use event to read on socket. Also don't notify so
...
often the fs
2010-08-11 16:28:18 +02:00
benoitc
2ddbe800a5
clean a little the eventlet worker
2010-08-11 14:08:32 +02:00
benoitc
80cd1f40ed
don't use core.read_event it's not needed here since we balance only
...
when a connection come
2010-08-11 13:55:50 +02:00
benoitc
0616e30e90
clean exit
2010-08-11 13:20:02 +02:00
benoitc
d77b6d6faa
don't update, just insert new keys
2010-08-11 13:02:53 +02:00
benoitc
4e3d09c64d
don't reread headers' list to add them to the environ. Instead read them
...
once time.
2010-08-11 12:02:49 +02:00
benoitc
7873ba7398
qopt
2010-08-11 11:48:15 +02:00
benoitc
e64c47475b
fix issue #80
2010-08-11 11:31:35 +02:00
benoitc
42d97c3815
more optimisations. no need to uppercase or lowercase each time we want
...
to test an header since the parser already send the headers in uppercase
2010-08-11 11:12:10 +02:00
benoitc
e8bc2cdae8
row link should be set in acceptor not in _acceptor
2010-08-11 10:35:53 +02:00
benoitc
8b2a5c42f7
improve gevent worker.
2010-08-11 10:27:42 +02:00
benoitc
d1858d2284
optimize a little bit headers parsing
2010-08-11 09:24:16 +02:00
benoitc
9b4ab138fd
son now everyone know I come from the past.
2010-08-06 16:46:57 +02:00
benoitc
0e8fa158ef
gevent.wsgi doesn't support keepalive too
2010-08-06 10:19:30 +02:00
benoitc
ccd1be58bc
update news
2010-08-06 10:12:23 +02:00
benoitc
6f01d46f58
by default no minotr tag if we aren't in a git repo
2010-08-06 08:00:55 +02:00
Paul J. Davis
63b53c9f51
Exit with a non-zero status if workers don't boot.
...
Raising a HaltServer exception in the arbiter will now exit with the
provided reason and status code.
2010-08-05 23:28:25 -04:00
benoitc
43232411fc
update deb source
2010-08-05 23:47:06 +02:00
benoitc
56d5582de9
Merge branch 'master' of github.com:benoitc/gunicorn
2010-08-05 21:42:01 +02:00
benoitc
252d594474
strip line ending
2010-08-05 21:41:40 +02:00
Randall Leeds
17decda1e3
catch SystemExit exception and exit quietly
...
raised by:
1) workers started during reload (main loop) that are killed later
2) the arbiter process during Ctl-C or other halt signals
2010-08-06 01:02:20 +08:00
benoitc
8903d0d53a
fix from tilgovi. thanks
2010-08-05 15:42:07 +02:00
Paul J. Davis
1f598b9b74
Move the WebSocket to a directory so its linkable.
...
As in, link for pasting into an email.
2010-07-31 11:40:48 -04:00
benoitc
5108a720f2
use a specific release number for dev depending on git tag
2010-07-31 16:18:13 +02:00
Randall Leeds
800637c192
RAW_URI is full uri (query etc.), not just path
2010-07-26 04:20:55 +08:00
Paul J. Davis
19ab06c814
Update Python 2.4 installation note.
...
Thanks to Randall Leeds
2010-07-23 21:00:14 -04:00
Paul J. Davis
93ad20e4fc
Minor white space and ordering fixes for my CDO
2010-07-23 20:47:56 -04:00
jbergstroem
eca6fad4ce
Output config if debug loglevel is set
2010-07-23 20:47:56 -04:00
jbergstroem
7acfe5c0c7
Update documentation to reflect changes in aca70fb
2010-07-23 20:47:56 -04:00