Commit Graph
2307 Commits
Author SHA1 Message Date
Unbit 5953573c3b fix ssl shutdown management 2014-10-24 11:43:18 +02:00
trashnroll 7740edb604 Add gridfs bucket option. 2014-10-23 02:54:20 +04:00
Unbit bd07f82227 better management of rtsp requests 2014-10-21 09:01:59 +02:00
Roberto De Ioris 732ed3eb67 added automatic management of chunked input in http router 2014-10-19 12:52:11 +02:00
Unbit 04ad72ef44 fixed php SCRIPT_NAME usage when --php-app is in place 2014-10-18 04:20:21 +02:00
Unbit 635b37fea4 try to load trollius on python2 2014-10-17 13:04:17 +02:00
Nigel Heron 0aae7bdd73 fix heap corruption in carbon plugin 2014-10-16 17:31:32 -04:00
Unbit 0e8a30929e fixed #746 2014-10-15 10:07:16 +02:00
Greg Dahlman 3cd3559399 use _full write methods in rados plugin to truncate PUT request objects 2014-10-06 23:32:29 -07:00
Unbit 8e3c127e09 attempt to fix #732 2014-10-03 05:24:16 +02:00
Roberto De Ioris ffeefea93b preliminary support for RTSP 2014-09-29 11:56:11 +02:00
Unbit 202dc45519 getting rid of plugins still using ->pktsize 2014-09-21 08:49:04 +02:00
Unbit ed2ca5d333 request buffer_size is now 64bit (except for uwsgi protocol) 2014-09-21 08:26:20 +02:00
Unbit e2a29ee135 more robust asyncio 2014-09-20 09:07:13 +02:00
Unbit 26c9d2c618 fixed #701 2014-09-19 11:42:43 +02:00
Mike Kaplinskiy 949d74b516 Make it compile on more stringent compilers. 2014-09-17 13:27:44 -04:00
Mike Kaplinskiy f87a719d66 Fix exhaustion code when using multiple sockets. 2014-09-17 13:06:05 -04:00
Mike Kaplinskiy 8099dbd9e2 Don't spin if we exhaust the async worker pool. 2014-09-17 13:06:05 -04:00
Unbit 68bc194624 ensure PSGI response headers are in the right format [2] 2014-09-15 06:47:22 +02:00
Unbit 5bc5b7e01f ensure PSGI response headers are in the right format 2014-09-15 06:38:59 +02:00
unbit d37a1d3615 Merge pull request #698 from xrmx/debarchs
Fix forkptyrouter plugin compilation on Hurd
2014-09-12 10:14:02 +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
Martin Mlynář 3cfa743cb5 Update rados.c
According to http://ceph.com/docs/master/rados/api/librados/ rados_write Returns: 0 on success, negative error code on failure. When using <= comparsion, PUT method always ends with ISE 500.
2014-08-24 20:10:28 +02:00
Riccardo Magliocchetti e04e19aca4 Fix forkptyrouter plugin compilation on Hurd
While at it add missing linkage to libutil on other platforms
and fix compilation on DragonFlyBSD

Possibly Fix #694
2014-08-20 16:35:29 +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 7fbc4013ca Merge pull request #679 from xrmx/logger
logfile: add support for filesize based rotation
2014-08-17 12:06:38 +02:00
Riccardo Magliocchetti 0324e5965c logfile: add support for filesize based rotation
Extends the logfile plugin sntax to accept a key value string.
Supported values are:
- logfile, the actual file name of the log file (mandatory)
- backupname, the file name of the rotated log
- maxsize, the size in bytes that triggers rotation

maxsize is mandatory if you want rotation, if you omit backupname the logfile with a
timestamp appended would be used as file name.

Example:

logger = staticlogger file:logfile=%dstatic.log,backupname=%dstatic.log.old,maxsize=1500
log-route = staticlogger app: -1|req: -1

will create a file based logger called static logger that would log
all the static requests to a file called static.log, which would be
rotated each 1500 bytes to a file named static.log.old

Fixes #542
2014-08-17 11:50:34 +02:00
Riccardo Magliocchetti 89bdb35ebc plugins/rpc: cleanup duplicated code
Introduce a couple of helpers to reduce duplicated code.

Before:
   text	   data	    bss	    dec	    hex	filename
   9742	    180	      0	   9922	   26c2	plugins/rpc/rpc_plugin.o

After:
   text	   data	    bss	    dec	    hex	filename
   9230	    180	      0	   9410	   24c2	plugins/rpc/rpc_plugin.o

My compiler inlines so uwsgi_rpc_get_remote it does make difference
in practice still it makes the code prettier.
2014-08-16 18:54:04 +02:00
Riccardo Magliocchetti b94727ef26 plugins/rpc: fix a couple of memory leaks
Always free response, in the worst case we are freeing NULL which
is a NOP.
Reported by Coverity as CID #1231246, #1231245
2014-08-16 18:53:42 +02:00
Riccardo Magliocchetti 4818a5d386 plugins/rpc: fix a couple of memory leaks
Always free response, in the worst case we are freeing NULL which
is a NOP.
Reported by Coverity as CID #1231246, #1231245
2014-08-16 16:52:59 +02:00
Roberto De Ioris 69034d2774 fixed mono on osx 2014-08-15 06:06:36 +02:00
Ventero 08e1cf211c Fix symbol lookup error in the Mono plugin on OS X.
On OS X, mono libraries have to link against the Foundation framework.
2014-08-14 21:35:39 +02: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 522fb09b68 added fastrouter-force-key 2014-08-08 21:32:24 +02:00
Roberto De Ioris 3e910aaca2 fixed #666 2014-08-05 20:14:19 +02:00
Roberto De Ioris 3a0f83c0d0 fixed #666 2014-08-05 20:13:15 +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 50f41da7ec added support for mountpoints in subscription system 2014-07-12 11:05:14 +02:00
Unbit 6cf62fb0d2 added iphash subscription algo 2014-07-12 10:12:17 +02:00
Unbit d121b23fd4 fixed per-subscription protocol support 2014-07-12 08:48:29 +02:00
Unbit ddc737627e refactored httprouter parser to be in 2 steps 2014-07-12 08:04:01 +02:00