1272 Commits

Author SHA1 Message Date
Dan Callaghan
6f4e902b3e ArgumentParser no longer accepts version in Python 3.3 2013-01-05 09:18:02 +01:00
benoitc
927e04ab6d add syslog facility name setting 2012-12-25 23:05:40 +01:00
benoitc
fecd37fd64 display latest version on the website 2012-12-25 07:10:00 +01:00
benoitc
3c768b658e archive 2012 news 2012-12-25 07:00:46 +01:00
benoitc
a1baec5817 fix help formatting 2012-12-25 06:42:23 +01:00
benoitc
d314c53c3d document a little more --log-syslog-prefix option 2012-12-25 06:40:15 +01:00
benoitc
1ee87c1dc8 document syslog handler code 2012-12-25 06:37:48 +01:00
benoitc
82cc98746e say hello to 0.17.0 2012-12-25 06:35:43 +01:00
benoitc
89a1936ce6 fix syslog prefix 2012-12-25 06:28:20 +01:00
benoitc
a1058bc7fe add line 2012-12-25 06:25:25 +01:00
benoitc
dae4d38705 add syslog support.
Add options to setup logging to syslog:

- `--log-syslog`: enable syslog. It default to `/var/run/syslog` on darwin,
  `/var/run/log` on freebsd, `/dev/log` on openbsd and udp://localhost:514 for
  other platforms.
- `--log-syslog-prefix: Pass the parameter to use as the program name
- `--log-syslog-to`: Setup the syslog address to send message. Address startinf
  by udp:// will send to udp, unix:// to a unix socket and tcp:// to tcp (useful
  for rsyslog)

fix #452 .
2012-12-25 06:19:06 +01:00
benoitc
ac1af72922 s/optparse/argparse 2012-12-25 06:19:06 +01:00
Adnane Belmadiaf
20cd49595a PEP8 fixes 2012-12-24 09:53:03 +01:00
Adnane Belmadiaf
1c9b8460b1 s/create_sockeSt/create_sockets 2012-12-22 08:58:46 +01:00
benoitc
b6bba4572a add Adnane Belmadiaf to THANKS. 2012-12-21 15:47:05 +01:00
Adnane Belmadiaf
fa37b90ad8 Append acceptors in EventletWorker 2012-12-21 15:46:00 +01:00
benoitc
77251d9d30 make sure we don't prematuraly close the fd of the worker tmp file.
fix #407
2012-12-21 15:43:26 +01:00
benoitc
8cdb4980c8 add David Vincelli to THANKS. 2012-12-21 15:43:26 +01:00
David Vincelli
c2ae9090dc handle size 0 read by returning empty buffer
It appears the original author meant to return b"" when size == 0 instead of raise ValueError("Size must be positive.")
2012-12-21 15:43:26 +01:00
Qiangning Hong
174c34ec9c add nworkers_changed hook
This hook will be called whenever the number of workers is set.
2012-12-21 15:43:26 +01:00
benoitc
6264e9edd4 fix typo... 2012-12-17 16:45:10 +01:00
benoitc
dc5ec29009 fix call 2012-12-17 16:18:42 +01:00
benoitc
32395a17fc document the new --bind syntax. 2012-12-16 10:51:59 +01:00
Konstantin Enchant
aac56c9d55 Added response arg for post_request hook. 2012-12-16 10:21:01 +01:00
benoitc
3118b08b99 fix display when using ssl 2012-12-14 10:32:58 +01:00
benoitc
1198cc2723 handle ssl connections.
gunicorn is now supporting ssl connections:

    $ gunicorn -w3 --certfile=server.crt --keyfile=server.key test:app

works with all supported workers
2012-12-14 10:22:05 +01:00
benoitc
b7b51adf13 allows gunicorn to bind to multiple address
Allows gunicorn to listen on different interface. It can be either ipv6,
unix or ipv4 sockets.

Ex:

    gunicorn -w3 -b 127.0.0.1:8001 -b 127.0.0.1:8000 -b [::1]:8000 test:app

fix #444
2012-12-14 10:18:39 +01:00
Benoit Chesneau
41a6999fa3 Merge pull request #441 from acdha/patch-1
Update link to Greenlet source repository
2012-12-04 21:01:22 -08:00
Benoit Chesneau
42d4b1e191 Merge pull request #442 from mtigas/patch-1
fix spelling in "Running Gunicorn" doc page
2012-12-04 21:01:00 -08:00
Mike Tigas
32e2dcfd0c fix spelling in "Running Gunicorn" doc page 2012-11-28 11:40:06 -08:00
Chris Adams
0a3508fc7f Update link to Greenlet
https://bitbucket.org/ambroff/greenlet has migrated to https://github.com/python-greenlet/greenlet
2012-11-26 17:33:38 -05:00
benoitc
1b33280e8b add sib to THANKS 2012-11-26 08:15:43 +01:00
benoitc
2883924ecd add Dan Callaghan to THANKS 2012-11-26 08:14:09 +01:00
benoitc
facb1a668c s/py.test/pytest - fix #440
patch from@danc86 thanks!
2012-11-26 08:12:13 +01:00
Benoit Chesneau
b304d8f508 Merge pull request #438 from sibsibsib/master
catch-all exception in arbiter absorbing bug
2012-11-25 23:09:06 -08:00
sib
771aae85e0 fixed: PWD comparison in arbiter using incorrect attribute names 2012-11-22 23:29:25 -05:00
benoitc
0d91a519a5 say what happened in 0.16.1
thx @goodwill to have noticed it
2012-11-20 09:28:35 +01:00
benoitc
faf2cc58f1 s/doc/docs 2012-11-19 16:28:04 +01:00
benoitc
f0ee746300 bump 2012-11-19 16:25:56 +01:00
benoitc
c3060144fa add requirements_dev.txt 2012-11-19 16:24:57 +01:00
benoitc
5ef73415e7 fix the typo 2012-11-19 15:38:44 +01:00
benoitc
26330173bb say hello to 0.16 2012-11-19 15:20:53 +01:00
benoitc
6c34654e91 temporarely rmove 3.3 from travis tests.
testing 3.3 is broken in travis.
2012-11-19 12:02:36 +01:00
benoitc
6505151b10 new release is today` 2012-11-19 11:54:45 +01:00
benoitc
0b40e69e67 Merge branch 'develop' 2012-11-19 11:49:05 +01:00
benoitc
f724c53e17 make sure to add the current dir to sys.path as well. close #322 2012-11-19 08:33:05 +01:00
benoitc
594a189cc1 add Christos Stavrakakis to THANKS 2012-11-16 11:53:30 +01:00
benoitc
95a2e9e610 what's new in 0.16.0 2012-11-16 11:22:21 +01:00
benoitc
155b3c3823 don't use map at all 2012-11-16 11:16:19 +01:00
benoitc
4da8f8067d str should be applied first.
change based on @sirkonst feedback
2012-11-16 11:12:57 +01:00