263 Commits

Author SHA1 Message Date
Unbit
f046d47eb2 worker's busy value is now dinamically computed 2013-02-14 09:17:59 +01:00
Unbit
54227db3e4 cache syncing is working again 2013-02-07 15:42:14 +01:00
Unbit
d4130dbc4b first round of protocol parsers optimizations
preliminary api for language-independent body read

another step

completed body read language independent implementation

ported gevent to the new read/write api

ported websockets to the new read/write api

removed channels subsystem

removed channels subsystem

ported lua to the new read/write api

fixed post-buffering

readline is still broken

improved request body readline

very difficult test for readline()/read() combo passed

other improvements in postbuffering/read/readline

ported --http-socket to the new api

added X-Forwarded-SSL management

removed old api

more refactoring

ported the RACK plugin to the new api

ported psgi plugin to the new api

defintely removed clustering

simpified ifdel hell

simpified ifdef hell

removed useless configuration options
2013-02-03 10:38:13 +01:00
Riccardo Magliocchetti
74d6bac54b plugins/python: check return value of PyType_Ready in init_uwsgi_embedded_module
Reported by Coverity as CID #970972.
2013-01-27 10:33:17 +01:00
Riccardo Magliocchetti
e106a6ef61 plugins/python: check uwsgi_connect return code in uwsgi_python_harakiri
Reported by Coverity as CID #970996.
2013-01-26 21:23:17 +01:00
Roberto De Ioris
9f55579b87 added support for automatic status codes 2013-01-20 17:29:03 +01:00
Roberto De Ioris
37e153d5de need to find a way to better manage write errors... 2013-01-20 10:32:02 +01:00
Roberto De Ioris
bbf35be595 fixed mule management 2013-01-16 16:58:30 +01:00
Roberto De Ioris
78a05ef9e8 use size_t instead of int in io functions 2013-01-12 19:22:51 +01:00
Roberto De Ioris
02a9d37c32 added --python-version 2013-01-05 08:33:00 +01:00
Roberto De Ioris
3d483f22ca 'wsgi' option is an alias for 'module' not 'wsgi-file' 2012-11-12 11:57:02 +01:00
Roberto De Ioris
242e01e37a added 'wsgi' alias option 2012-11-11 17:32:18 +01:00
Roberto De Ioris
7017712c6d non blocking wsgi.input in gevent 2012-10-22 15:58:36 +02:00
Roberto De Ioris
29ce04adce implemented reliable gevent non-blocking writes 2012-10-22 08:34:37 +02:00
Roberto De Ioris
86d9b4bc0e always get gil on python atexit 2012-10-18 08:27:51 +02:00
Roberto De Ioris
94eb4f078e improved gevent usage of threads (it allows tracebacker and autoreloader to work in gevent) 2012-10-17 21:19:48 +02:00
Roberto De Ioris
a3e9a288d3 better usage of uwsgi_log_initial 2012-10-09 06:51:14 +02:00
roberto@quantal64
c59a3cb35a added support for PEP 405 virtualenvs 2012-10-03 20:49:58 +02:00
roberto@quantal64
392bb8d7b1 allows building with python3 and without embedded module 2012-09-17 07:41:11 +02:00
roberto@quantal64
3cde8be505 allows building without embedded and multiple interpreters 2012-09-15 12:14:12 +02:00
roberto@quantal64
c2cf1f3a62 fixed threading + lazy 2012-09-14 15:52:23 +02:00
roberto@quantal64
b887f3fc27 removed regexp-mount 2012-08-31 12:18:39 +02:00
roberto@quantal64
e904f9f76e improved gevent graceful reload 2012-08-27 17:52:56 +02:00
roberto@quantal64
03aae347b0 allows ugreen with threads 2012-07-22 11:43:39 +02:00
roberto@quantal64
bde43ee7b2 added python logger 2012-07-17 11:20:16 +02:00
roberto@quantal64
4d86712d4d if --harakiri and --py-tracebacker are both specified you will get a python traceback on harakiri 2012-07-12 05:25:24 +02:00
roberto@quantal64
b3c9c5057f fixed a typo and an fd leak spotted by riccardo 2012-07-08 21:31:09 +02:00
roberto@quantal64
5a7b5d37b4 fix #138 2012-07-08 20:18:56 +02:00
roberto@quantal64
1367ee1e40 reporting correct python threads status 2012-06-17 19:08:17 +02:00
roberto@quantal64
c2091c52eb completed the python tracebacker 2012-06-03 10:58:34 +02:00
roberto@quantal64
f62f7f9282 thread-safe wsgi env behaviour 2012-06-02 09:43:24 +02:00
roberto@quantal64
c3cbcbb0d5 added --wsgi-env-behaviour for choosing the WSGI environ allocator/destroyer policy 2012-06-02 07:37:52 +02:00
roberto@precise64
de51c46fd8 allows graceful reloads on shared sockets 2012-05-16 11:09:25 +02:00
roberto@precise64
9fe275141f added preliminary python tracebacker 2012-05-11 20:44:56 +02:00
roberto@precise64
c39cf848de better implementation of start_response() 2012-05-02 09:30:37 +02:00
roberto@precise64
bdf533d62b fixed auto-reloading 2012-04-26 14:51:39 +02:00
roberto@opensuse12
8f10b8fece fix python version printing on freeky systems 2012-04-25 08:11:12 +02:00
roberto@opensuse12
0d28d210d4 another opensuse-related fix, build mimedict only if needed 2012-04-25 08:02:24 +02:00
roberto@precise64
74a9b1b41d added uwsgi.ready() 2012-04-24 21:50:00 +02:00
roberto@precise64
1383163627 import dummy_threading whenever threads are in place 2012-04-18 10:14:41 +02:00
roberto@precise64
91273b2301 py-auto-reload-ignore 2012-04-14 11:48:27 +02:00
roberto@sirius
57b9bdb958 better write()/writev() management 2012-04-13 11:36:43 +02:00
roberto@mrspurr
cceee511f2 added support for reload-on-exception on PyPy and interval-based cron syntax 2012-04-06 07:40:21 +02:00
roberto@mrspurr
43c258ad48 support for virtualenv in pypy 2012-04-04 17:29:00 +02:00
roberto@goyle
729fa753fa remove unneded pypy ifdef 2012-04-02 19:33:33 +02:00
roberto@longshot
bf6c552189 fixed python 2.4 2012-04-02 07:55:22 +02:00
roberto@precise64
35d9a39100 fixed autoload 2012-04-01 06:14:09 +02:00
roberto@mrspurr
a864c8d6ed fix pypy when no app is loaded 2012-03-31 18:06:03 +02:00
roberto@precise64
c2df8a099e added --python-auto-reload 2012-03-31 17:55:09 +02:00
roberto@precise64
878e9cb9ba reports microseconds in python profilers 2012-03-31 15:48:22 +02:00