Commit Graph

705 Commits

Author SHA1 Message Date
Curtis 057cfe761f Tidy with flake8 2015-04-11 22:50:11 +10: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 ed2ca5d333 request buffer_size is now 64bit (except for uwsgi protocol) 2014-09-21 08:26:20 +02:00
Roberto De Ioris 50e7b84fb5 uwsgi-2.1 merged to master 2014-09-12 06:47:41 +02:00
xiaost 73c3e971e6 python: add spooler_pids api for multi-spooler
the old `spooler_pid` api only returns the first spooler pid
2014-09-11 23:34:13 +08:00
Unbit 59a999af7b fix multiple python mountpoints with multiple threads in cow mode 2014-08-26 07:11:21 +02:00
Unbit e45f710694 fix multiple python mountpoints with multiple threads in cow mode 2014-08-26 07:10:27 +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 c6d90f3c42 fixed #669 2014-08-12 13:11:54 +02:00
Unbit 6e1c468eed fixed #669 2014-08-12 13:10:04 +02:00
Unbit 2210f907db fixed uwsgi.rpc 2014-08-08 22:14:46 +02:00
Unbit 92a8d6f2c5 fixed uwsgi.rpc 2014-08-08 22:14:03 +02:00
Unbit e315c604fe allow calling the spooler from every cpython context 2014-08-01 12:43:42 +02:00
Unbit bc9f5d6f88 allow calling the spooler from every cpython context 2014-08-01 12:41:55 +02:00
Unbit d6f0be74f9 fixed #668 2014-07-24 08:56:43 +02:00
Unbit e9c0bf91ad fixed #668 2014-07-24 08:55:52 +02: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
Unbit daa1882921 improved harakiri for signal handlers 2014-06-23 13:42:55 +02:00
Unbit 2e14da983a first attempt in implementing per-core harakiri 2014-06-23 12:37:22 +02:00
Roberto De Ioris 3ea2033f57 merged intellisurvey branch in 2.1 2014-05-31 06:51:13 +02:00
Babacar TALL eab2472dd0 Exposure of 'uwsgi_metric_set_min' & 'uwsgi_metric_set_max' for python interface. 2014-05-20 11:57:53 +02:00
Unbit 154d17ec2b correctly manage 64bit sharedarea numbers on 32bit systems 2014-05-14 16:38:11 +02:00
Unbit 0dffa344b4 various sharedarea improvements 2014-05-14 16:37:59 +02:00
Unbit bc5a86694f correctly manage 64bit sharedarea numbers on 32bit systems 2014-05-14 11:33:18 +00:00
Unbit 812685096b various sharedarea improvements 2014-05-14 10:45:49 +00: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
Unbit bf01cea062 added micros() api function 2014-04-12 18:34:57 +02:00
Roberto De Ioris 5f74e6d964 fixed stupid bug with python add_var 2014-03-15 12:51:15 +01:00
Roberto De Ioris ae87fdd0f7 added uwsgi.add_var 2014-03-15 12:47:59 +01:00
Roberto De Ioris 48e13bfc65 add a check for already initialized python vm 2014-03-15 08:48:07 +01:00
Unbit a7e6dfc469 fixed python 3 on old compilers, fixes #551 2014-02-25 07:05:46 +01:00
Unbit b5a0434710 fixed #513 2014-02-02 04:56:21 +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
Unbit a0ff5b91b8 cast non-bytes arguments to bytes in python3 spool api 2014-01-05 09:08:29 +01:00
Unbit 15fa2be4ee preliminary refactoring for the spooler 2014-01-04 19:28:01 +01:00
Riccardo Magliocchetti c2096e8373 plugins/python: check return value of bind to unix
Reported by Coverity as CID #995784
2013-12-27 19:25:00 +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 fbf9a5b27c uwsgi_app.chdir is an array
So check if it's first member is not 0 instead.

Fix Coverity CID #971000, #970998.
2013-12-23 16:53:41 +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 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