1725 Commits

Author SHA1 Message Date
benoitc
39a1c3adad add the change to the news 2014-06-13 22:47:36 +02:00
benoitc
26df0651bc bump to 19.1 2014-06-13 22:45:37 +02:00
Benoit Chesneau
94f2cc03e1 Merge pull request #786 from zeezooz/fix_signals
Change the rest of QUIT and TERM signals.
2014-06-13 22:40:03 +02:00
Andrew Burdo
ed2d2a8ab3 Change the rest of QUIT and TERM signals.
This will restore graceful shutdown of workers by master.
Also worker_int callback is moved from handle_exit (INT and TERM before switching) to handle_quit(INT and QUIT).
2014-06-13 14:32:11 +03:00
benoitc
9bf6aec443 add latest fix to changes.
note: it should come with the commit ...
2014-06-13 13:28:29 +02:00
Berker Peksag
1c68516fd7 Update custom application example.
It's running on both Python 2 and 3 now.
2014-06-13 14:26:57 +03:00
benoitc
fd5c2e99fb fix #785: handle binary type address given to a client socket address 2014-06-13 13:22:18 +02:00
Andrew Svetlov
573f18d0da Merge pull request #781 from berkerpeksag/use-travis-py-version
Use TRAVIS_PYTHON_VERSION to install aiohttp on Python 3.
2014-06-13 00:19:32 +03:00
Berker Peksag
ab3428ec38 Use TRAVIS_PYTHON_VERSION to install aiohttp on Python 3. 2014-06-12 18:36:38 +03:00
benoitc
b00e875cc4 add Berker Peksağ to the maintainers 2014-06-12 16:45:44 +02:00
benoitc
b1d5d9cbe5 link to the asyncio doc 2014-06-12 15:45:04 +02:00
benoitc
2945f79959 update the readme. 2014-06-12 15:35:29 +02:00
benoitc
c904ae9ff3 bump the website to 19.0 2014-06-12 15:32:10 +02:00
benoitc
c21c932343 asyncio workers doc link 2014-06-12 15:09:37 +02:00
benoitc
49a868f2a7 dot because we need one. 2014-06-12 14:55:57 +02:00
benoitc
d2e4d071a3 fix aiohttp link 2014-06-12 14:53:44 +02:00
benoitc
0fee3e5db2 update doc for the new workers 2014-06-12 14:50:22 +02:00
benoitc
c996deaf23 fix doc 2014-06-12 14:43:06 +02:00
benoitc
3c841b2f58 add changelog for 19.0 2014-06-12 14:38:55 +02:00
Andrew Svetlov
4ede68c6e4 Add gaiohttp tests for travis build 2014-06-09 19:41:58 +03:00
Andrew Svetlov
e9518383da Fix gaiohttp tests for Python 2.5 2014-06-09 19:31:52 +03:00
Andrew Svetlov
e1d97f1bea Add tests for gaiohttp worker 2014-06-09 18:36:46 +03:00
Andrew Svetlov
3665e5bb5c Register gaiohttp worker for Python 3.3+ only. 2014-06-09 18:05:38 +03:00
Andrew Svetlov
fbb2d01d13 Merge pull request #775 from fafhrd91/master
aiohttp worker
2014-06-09 14:44:24 +03:00
Benoit Chesneau
545da3dbb6 Merge pull request #772 from fillest/master
fix HTTP-violating excess whitespace in write_error output
2014-06-07 15:13:53 +02:00
Nikolay Kim
a7eed00c2f aiohttp worker 2014-06-06 20:25:57 -07:00
Randall Leeds
1f65635295 Merge pull request #774 from mattbillenstein/master
workers/async.py - handle_request takes listener_name instead of listene...
2014-06-05 14:49:28 -07:00
Matt Billenstein
bc41bad2d6 workers/async.py - handle_request takes listener_name instead of listener
AFAICT - this should have been updated in 62f6fb2d
2014-06-04 18:18:28 -07:00
Philipp Saveliev
dcb9464bbe fix HTTP-violating excess whitespace in write_error output 2014-06-03 03:05:27 +04:00
Randall Leeds
ae14150cad Merge pull request #727 from benoitc/feature/threaded-worker
Feature/threaded worker
2014-06-01 14:16:44 -07:00
benoitc
8436389229 define an object class instance. 2014-06-01 22:30:46 +02:00
benoitc
64fd52354c fix comment in timeout example. 2014-06-01 21:59:50 +02:00
benoitc
ff6169cc20 gthreads: only check requirements for python < 3.4 2014-06-01 20:44:50 +02:00
benoitc
abac771c44 fix race keepalived condition by popping/appending from left 2014-06-01 20:36:48 +02:00
Randall Leeds
eff6c08935 Merge pull request #768 from benoitc/feature/abort
try to log what happened in the worker after a timeout.
2014-06-01 10:11:45 -07:00
benoitc
d9b7e32d34 try to log what happened in the worker after a timeout.
fix #518
2014-06-01 11:22:19 +02:00
bninja
62f6fb2d33 save listener socket name so we can handle buffered keep-alive requests *after*
listener has been closed (i.e. stopped accepting during worker teardown)
2014-06-01 10:07:43 +02:00
benoitc
5e8eeadc44 sync documentation
generally speakiing people shouldn't update the settings.rst but make
sure that settings.p is correctly filled.
2014-06-01 09:59:29 +02:00
Ben Oswald
9ade14ae78 add on_exit hook 2014-06-01 09:53:36 +02:00
benoitc
3cda90a214 reduce CPU usage. 2014-06-01 09:50:40 +02:00
Randall Leeds
7e699b7d51 Use trollius on Py2 instead of bundling selectors 2014-05-31 13:31:07 -07:00
Randall Leeds
eb17b13b1d Guard against race condition on threads keepalive
Requests after the first on a keepalive connection remove themselves
from the keepalive timeout queue. This presents a race condition where
the main thread might try to access the first element of the queue
after it has been removed.
2014-05-31 13:30:42 -07:00
benoitc
b7cbb59bbc remove useless code 2014-05-31 07:18:39 +02:00
benoitc
b810a1d1a9 fix doc 2014-05-31 07:13:36 +02:00
benoitc
d775b576e8 improve worker shutdown 2014-05-31 01:21:05 +02:00
benoitc
fb53047b73 fix timeout and socket ssl wrapping 2014-05-31 01:15:05 +02:00
benoitc
e8e9d285a6 fixes 2014-05-31 00:44:20 +02:00
benoitc
5ba749e9ca some quick optimisations 2014-05-31 00:17:29 +02:00
benoitc
c8e93a6f21 make the code simpler and fix issue with ab 2014-05-30 23:26:30 +02:00
benoitc
f8b415496d refactor the gthread worker for a better usage of asyncio
we have the possibility to pass a data payload to the poller when
registering a file object. We are using this possibility to pass a
callback. the callback will either accept or handle a connection when
the read event is triggered.

while I am here make the future result asynchronous so we don't block
the I/O event handling.
2014-05-30 15:59:47 +02:00