Commit Graph

244 Commits

Author SHA1 Message Date
Riccardo Magliocchetti
e795cd8912 plugins/python: fix uwsgi_python_harakiri error handling
Fixes close with a negative fd.

Reported by Coverity as CID #970996.
2013-12-23 13:43:02 +01:00
unbit
bee171e5da Merge pull request #484 from xiaost-bytedance/master
fixed master fd leak when using tracebacker
2013-12-20 05:14:57 -08:00
xiaost
df809c8e34 fixed master fd leak when using tracebacker 2013-12-20 21:02:31 +08:00
Unbit
c9324c06ca implemented perl spooler and fixed a leak in the CPython one 2013-12-17 06:50:47 +01:00
Unbit
a6e6bff082 sharedarea can be mapped to generic objects 2013-12-10 10:09:38 +01:00
Roberto De Ioris
0715031b00 prepare for the new sharedarea api 2013-11-29 07:39:12 +01:00
Unbit
def65c4793 fixed python, perl and ruby rpc 64bit 2013-11-11 13:06:16 +01:00
Unbit
26386909de first attempt of moving rpc output from 16 to 64 bit 2013-11-11 13:00:20 +01:00
Unbit
3b13de3e6e check for NULL dictionary values in python autoreloader 2013-10-12 00:34:31 +02:00
Unbit
ed71000033 fixed FreeBSD compilation 2013-10-11 09:44:50 +02:00
Unbit
7604ce3441 --wsgi-accept-buffers 2013-10-05 12:34:57 +02:00
Unbit
a0082b5b98 accepting buffer is an option: --wsgi-accept-buffer 2013-10-05 12:32:49 +02:00
Unbit
c90c639348 --wsgi-strict disable string/bytes optimizations too 2013-10-05 09:09:53 +02:00
Unbit
10377f02a3 run the autoreloader even in non-apps mode when non-lazy 2013-10-04 06:22:06 +02:00
Unbit
23b3d7483f introducing raw mode 2013-09-30 13:43:13 +02:00
Unbit
d484acefa4 use buffer protocol in WSGI response 2013-09-30 09:25:25 +02:00
Unbit
b190744b77 on kFreeBSD python atexit will make mess, disable it for now 2013-09-25 09:20:20 +02:00
Ryan Petrello
0d9bc03c53 Add plugin support for the pecan WSGI framework (http://pecanpy.org). 2013-08-10 00:44:40 -04:00
Unbit
28321a0f94 more python api static functions 2013-06-23 07:59:36 +02:00
Unbit
95f15ab9dd added a note for python logger 2013-06-02 19:20:35 +02:00
Unbit
2cad82d537 removed support for SLOW pypy cpyext 2013-05-23 07:48:19 +02:00
Unbit
5bf55220d4 fixed python3 stdout/stderr line buffering 2013-05-21 14:19:33 +02:00
Unbit
e752b1f8e5 added Graham credits 2013-05-03 10:21:15 +02:00
Unbit
00bd8cc525 improved pyshell 2013-04-06 07:44:12 +02:00
Unbit
230fa1f3bb fixed multiple interpreters support 2013-04-01 09:00:24 +02:00
Unbit
eeff935fc9 fixed signal handling in non-workers 2013-03-29 12:50:56 +01:00
Unbit
51e99e0f5a removed UWSGI_INI 2013-03-23 03:15:33 +01:00
Unbit
2dcd8624a2 psgi support for windows 2013-03-13 10:12:24 +01:00
Unbit
cd29b033f0 reimplementation of the cache networking protocol to be fully non-blocking 2013-03-08 13:45:27 +01:00
Unbit
f31186a0f9 completetd first part of the new exceptions framework 2013-02-17 14:26:31 +01:00
Unbit
b5a6da5448 refactored catch_exceptions 2013-02-17 11:22:09 +01:00
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