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
Unbit
e55ac57e07
fixed #1026
2015-09-01 22:25:21 +02:00
Borys Pierov
637952d048
Pass LIBDIR to linker in python plugin
...
To make it compile properly when LD_RUN_PATH is ignored.
2015-08-26 19:18:21 -04:00
yueyoum
1bd624b188
Change uwsgi.input_object() to uwsgi.request_context().
...
and change the `uwsgi.websocket_send/send_binary/recv/recv_nb`
keyword argument from `uwsgi_input` to `request_context`
2015-07-28 15:11:45 +08:00
yueyoum
41c02ad01a
check argument: uwsgi_input
2015-07-28 14:21:59 +08:00
yueyoum
8569450a85
I add this feature for using uwsgi websocket with gevent more easy and
...
convenient.
Example: tests/websockets_chat_2.py
Add: add a new API `uwsgi.input_object()` for get `struct wsgi_req *`
in python.
Modify: `uwsgi.websocket_send/send_binary/recv/recv_nb` now has a
kwarg: `uwsgi_input`.
If not provide the `uwsgi_input` keyword argument, The four function's
behavior not changed.
When provide the `uwsgi_input` keyword argument, The four function will
get `wsgi_req` from the argument.
In this way, uwsgi websocket functions can be used in other greenlets.
2015-07-28 03:18:09 +08: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
Roberto De Ioris
f514134293
fixed #914
2015-05-12 06:27:42 +02:00
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