Commit Graph

661 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
4e260fa8a1 fixed #476 and #477 2013-12-14 07:45:38 +01:00
Unbit
bb4be12fda implemented more async api in lua 2013-12-13 11:51:05 +01:00
Unbit
82fa510030 fixed build on python 2.6 2013-12-10 12:04:52 +01:00
Unbit
a6e6bff082 sharedarea can be mapped to generic objects 2013-12-10 10:09:38 +01:00
Unbit
304f847dc6 added sharedarea_update api 2013-12-10 09:06:27 +01:00
Roberto De Ioris
5bb7f02921 added memoryview wrapper for sharedarea and locking api 2013-12-10 07:33:45 +01:00
Unbit
b934ac9588 refactored sharedarea read 2013-11-30 18:30:52 +00:00
Unbit
60b54c4d7c allows sending websockets messages directly from a sharedarea 2013-11-30 11:19:28 +00:00
Unbit
ace79b1179 various websockets and sharedarea optimizations 2013-11-30 10:41:56 +00:00
Roberto De Ioris
98541dbc65 more sharedarea improvements 2013-11-30 07:23:05 +01:00
Roberto De Ioris
cabb6d72d9 added uwsgi.websocket_send_binary_message to cpython 2013-11-30 06:49:15 +01:00
Roberto De Ioris
0715031b00 prepare for the new sharedarea api 2013-11-29 07:39:12 +01:00
Unbit
dec2b234f8 fixed no default app 2013-11-12 12:14:15 +01:00
Pavlo Kapyshin
c62aa8e7ed Fix typos 2013-11-11 23:05:30 +02: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
Adam Wentz
0326c1d508 Fixed spelling of error message in pyloader.c 2013-11-10 14:08:41 -06:00
Unbit
94353efb3f correctly support python2.4 2013-11-01 10:02:35 +01:00
Unbit
40c0e139d4 added metric api to python plugin 2013-10-22 16:25:56 +02:00
Unbit
f462792c8e fixed uwgsi-docs bug 98 2013-10-18 12:13:02 +02: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
20860ed069 fixed python3 build 2013-10-11 14:07:02 +02:00
root
68e81828d1 finally fixed the problem with python and arm (raspberrypi/sheevaplug) 2013-10-11 02:50:40 +00: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
f51db4481b added sendfile support to raw mode 2013-09-30 15:45:27 +02:00
Unbit
717eba7ab3 implemented raw response for python 2013-09-30 15:25:00 +02:00
Unbit
23b3d7483f introducing raw mode 2013-09-30 13:43:13 +02:00
Unbit
27be00b4cc fixed #399 2013-09-30 11:47:14 +02:00
Unbit
19aa7c2560 clear exception on PyObject_CheckReadBuffer error 2013-09-30 09:40:40 +02:00
Unbit
215e0c4cbc typos 2013-09-30 09:26:58 +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
Unbit
373b89e70c finally removed strtok() 2013-09-17 16:03:40 +02:00
Unbit
f6545be647 fixed reference counting bug in rpc and signal handlers 2013-08-29 14:45:08 +02:00
Unbit
d4e90f5215 added uwsgi.cache_keys function api 2013-08-23 10:43:13 +02:00
Unbit
4061826da4 try to fix python3 static files handling 2013-08-20 07:32:41 +02:00
Unbit
2854321891 improved python3 exceptions management 2013-08-16 07:09:50 +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
737a7f4d51 attempt to fix spooler's body in python 2013-07-23 08:40:11 +02:00
Unbit
2d5adacc65 preliminary python profiler for python3 2013-07-23 06:28:10 +02:00
Unbit
e69cc2bcd5 fixed python modifier management 2013-07-18 16:43:37 +02:00
Unbit
744e166e9d Revert "uwsgi.is_locked raises an exception"
This reverts commit 5a3b93f763.
2013-07-03 15:41:57 +02:00