Dimitri John Ledkov
a6005624af
paste_loader: allow specifying alternative section name to load.
2015-10-09 15:53:52 +01:00
unbit
70198991fe
Merge pull request #1045 from Darvame/patch-7
...
lua_plugin: protected and unprotected __tostring
2015-10-01 07:44:17 +02:00
Darvame Hleran
df0c2ca1c8
lua_plugin: cache numbers set/update support
2015-09-29 13:26:48 +03:00
Hleran
da60423252
lua_plugin: cache_num, proper error type
...
- cache_num
and also swiched to wrong type for error status (tested with proper one, than ... "oh wait, we have empty 'i' variable!", later ... "oh sh size_t is uint!")
2015-09-29 00:31:24 +03:00
Hleran
5b9e2b5f39
lua_plugin: counting sid from 1
...
lua does not like count from 0
2015-09-23 17:07:04 +03:00
Hleran
8185b97030
lua_plugin: protected and unprotected __tostring
...
- protected and unprotected __tostring (protected outside, unprotected internal, avoid double pcall)
- also check userdata for metafields (non simple type)
- mywid and mysid are functions now
- minor api bump
2015-09-23 14:21:39 +03:00
unbit
abac960e62
Merge pull request #1043 from multiSnow/master
...
also remove all master fifo if vacuum is true
2015-09-21 07:29:29 +02:00
multisnow
8ea8a33d0c
also remove all master fifo if vacuum is true
2015-09-21 00:56:06 +08:00
unbit
8939fd5e1b
Merge pull request #852 from xtfxme/binary_argc
...
introduce uwsgi.binary_argc
2015-09-17 19:39:36 +02:00
C Anthony Risinger
849a85b250
Introduce uwsgi.binary_argc
...
If more than uwsgi.binary_path is needed to make uWSGI self-referential on
reload, plugins can use this field to skip processing of N initial arguments.
eg. if uWSGI is embedded in a host application or interpreter::
python -B -E -m uwsgi --socket=:8000 --show-config [...]
argv[1:5] are intended for Python, and not for processing by uWSGI, even though
uWSGI might want to manage it (process name). The arguments also cannot just be
ignored because they are crucial for proper reloads.
2015-09-17 04:00:20 -05:00
unbit
d08275ea12
Merge pull request #1040 from Darvame/patch-6
...
lua_plugin: queue segfault
2015-09-16 17:06:45 +02:00
Unbit
fb3628d729
attempt to fix http parser
2015-09-16 16:07:45 +02:00
Hleran
52ea02acad
Fix 1039: lua_plugin queue segfault
...
lua stack iterator is not suitable for c arrays
2015-09-16 12:22:25 +03:00
unbit
59a76bb85c
Merge pull request #999 from Darvame/patch-5
...
lua_plugin: new stuff
2015-09-15 07:38:11 +02:00
unbit
26bd4aa489
Merge pull request #522 from ncopa/master
...
fix building with musl libc
2015-09-15 07:34:34 +02:00
Hleran
7e601d6d8d
lua_plugin: cache_exists_multi, no false pls
...
return nil instead of false
2015-09-13 07:01:12 +03:00
Hleran
c2e83fe01d
lua_plugin: last
...
fixes, fixes, removing unnecessary stuff
2015-09-13 06:24:26 +03:00
Unbit
281c1f5427
added Rump unikernel preliminary support
2015-09-10 11:27:43 +02:00
Unbit
33df0dbcc9
attempt to fix #1034
2015-09-10 09:35:53 +02:00
unbit
cd24b11369
Merge pull request #1033 from xrmx/solaris11
...
Fix compilation with solaris 11
2015-09-10 08:34:56 +02:00
Riccardo Magliocchetti
bbdf4bbab3
Fix compilation with solaris 11
...
Based on original patch from Nathan Tamblyn.
Fix #831
2015-09-09 18:28:58 +02:00
Hleran
637ead553a
lua_plugin: mule: posible segfault, chunked_read
...
websocket_send __tostring metatable
2015-09-04 01:55:34 +03:00
Hleran
5ebc399cce
lua_plugin: better mules
2015-09-03 00:45:51 +03:00
Unbit
e55ac57e07
fixed #1026
2015-09-01 22:25:21 +02:00
Hleran
f03f679a5c
lua_plugin: mules, cache som fixes
2015-08-31 21:49:13 +03:00
Hleran
72ae69090a
lua_plugin: cache_get, cache_get_tmulti
...
cache_get, cache_get_tmulti
returns key-value table
2015-08-30 02:01:59 +03:00
Hleran
1d595be2d9
lua_plugin: cleanup, more queues, more cache
...
and loop of nested tables inside headers
2015-08-27 23:15:29 +03:00
unbit
095c75055f
Merge pull request #1021 from Ashald/patch-1
...
Pass LIBDIR to linker in Python plugin
2015-08-27 06:34:36 +02:00
Roberto De Ioris
20a0be1897
worker logger implementation #894
2015-08-27 05:43:04 +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
Hleran
a7181572e6
lua_plugin: queues, extend wsapi
...
dunno why so many additions and deletions
basic queues, remove cache_set_tables (cache_set will do it now)
extend wsapi with 4th argument without breaking it
2015-08-26 19:36:59 +03:00
unbit
920d94c055
Merge pull request #1016 from operasoftware/statsd-dont-send-workers
...
Add no-workers option to statsd plugin
2015-08-25 18:13:28 +02:00
Marek Wiewiorski
72647fada7
Place check before the lock, and goto to the end of the while block. Instead of strstr use uwsgi_starts_with.
2015-08-25 17:57:57 +02:00
Marek Wiewiorski
82a011e14d
Add no-workers option to statsd plugin
2015-08-25 15:58:15 +02:00
Roberto De Ioris
772deaa083
support for single char PATH_INFO, attempt to fix #263
2015-08-25 15:45:25 +02:00
Hleran
94ccb6b030
lua_plugin: mules
...
separate api, mules
2015-08-22 18:42:41 +03:00
Hleran
01d3133fce
lua_plugin: remove atexit, fixes
...
don't spawn lua_states on workers, if nothing to run
cache multi_set,update,del also returns number of bad keys
remove atexit, does not work as expected
2015-08-21 18:29:04 +03:00
Hleran
377fc2d863
lua_plugin: metric, cache, fixes, cleanups
2015-08-21 01:25:12 +03:00
unbit
59df10466a
Merge pull request #1009 from yueyoum/patch-spooler-signal-as-task
...
Patch spooler signal as task
2015-08-19 17:14:59 +02:00
yueyoum
ebb77b55d7
Fix, check spooler_signal_as_task
2015-08-19 17:36:29 +08:00
yueyoum
55c7e653fd
fix spooler-signal-as-task
2015-08-19 02:16:54 +08:00
Roberto De Ioris
eab664ae8b
added -dev to 2.1 version
2015-08-18 19:48:54 +02:00
yueyoum
9a0681a6e0
Merge branch 'test' into patch-spooler-signal-as-task
...
Introduce a new param: spooler-signal-as-task
In present, the spooler-max-tasks only works for spool tasks
With this patch, the signal based events (cron, timer)
can also be treated as tasks.
When reach the spooler-max-tasks limits,
the spool process will restart.
This helps for alleviate memory leaks
2015-08-19 00:21:40 +08:00
yueyoum
cd69e718aa
spooler-signal-as-task
2015-08-19 00:19:03 +08:00
Hleran
8d2465db9b
lua_plugin: lua_createtable, signals
...
using prehashed lua_createtable when we can instead of lua_newtable
plugin specific regsiter signal
add_file_monitor, add_timer, add_rb_timer, add_cron, alarm
2015-08-16 15:41:39 +03:00
unbit
69fb3c8426
Merge pull request #1004 from marcan/master
...
rados plugin: Add username parameter
2015-08-12 16:51:06 +02:00
Hector Martin
7cf499127f
rados plugin: Add username parameter
2015-08-12 22:22:42 +09:00
Hleran
6921e8f820
lua_plugin: atexit, lazy signal routing
...
uwsgi_lua_atexit to commit garbage-collection metamethods
lazy signal routing: empty 'receiver' value on master table
2015-08-07 07:36:13 +03:00
Hleran
37971671cb
lua_plugin: own signal ref table in each lua_State
2015-08-07 02:39:44 +03:00
Hleran
271c6aa13b
lua_plugin: rpc via uwsgi.rpc_ref table
2015-08-06 19:40:52 +03:00