263 Commits

Author SHA1 Message Date
Dimitri John Ledkov
a6005624af paste_loader: allow specifying alternative section name to load. 2015-10-09 15:53:52 +01:00
Unbit
33df0dbcc9 attempt to fix #1034 2015-09-10 09:35:53 +02:00
C Anthony Risinger
d01bd639a7 move initialization of up.loaders to uwsgi_python_preinit_apps, fixes #968 2015-07-16 14:29:46 -05:00
C Anthony Risinger
0187247899 load python mule from callable, eg. --mule=package.module:callable 2015-07-15 17:04:25 -05:00
Unbit
c73f11bc8d attempt to fix a bug spotted by funkybob on irc 2015-05-15 06:45:47 +02:00
Unbit
89ed5a26aa fixed typo 2015-03-25 09:41:31 +01:00
Unbit
7a20c4974f fixed python3 --py-auto-reload-ignore 2014-11-15 13:21:28 +01:00
Unbit
8e3c127e09 attempt to fix #732 2014-10-03 05:24:16 +02:00
Unbit
59a999af7b fix multiple python mountpoints with multiple threads in cow mode 2014-08-26 07:11:21 +02:00
Mike Kaplinskiy
1a4f333912 Allow --async 1 (i.e. sync mode, but with a different loop engine) 2014-08-17 13:13:17 -04:00
Unbit
fbe5a038e3 added early-pythonpath support 2014-06-25 10:02:46 +02:00
Unbit
c7bacc6fbe first round for implementing cpython fork-server 2014-06-25 09:51:52 +02:00
Paul Egan
72c31dab7a Support for graceful reload of mule processes.
- On reload master now signals mule with HUP instead of KILL.
- Added optional call to PyOS_AfterFork to enable cpython child
  processes to override and trap HUP signal.
- Copied cursed_at/no_mercy_at pattern used with worker processes.
- Added mule_reload_mercy option.
2014-04-26 14:12:48 +01:00
Roberto De Ioris
48e13bfc65 add a check for already initialized python vm 2014-03-15 08:48:07 +01:00
xiaost
6555c2804c simplified the python spooler code 2014-01-29 04:56:54 +08:00
xiaost
c05082a8e4 fixed python spooler memory leak 2014-01-29 04:39:51 +08:00
Unbit
d1285c6dc4 fixed harakiri tracebacker 2014-01-12 10:25:32 +01:00
Riccardo Magliocchetti
46322b84b4 plugins/python: fix memory leak
Reported by Coverity as CID #971056
2013-12-27 18:45:44 +01:00
Unbit
61f3d162a4 getting rid og dynamic options (step 1) 2013-12-26 16:48:50 +01:00
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