269 Commits

Author SHA1 Message Date
Unbit 281c1f5427 added Rump unikernel preliminary support 2015-09-10 11:27:43 +02:00
unbit a99ee6d09d Merge pull request #909 from xrmx/coverity050515-2
Fishy coverity fixes
2015-07-08 12:37:41 +02:00
Евгений Протозанов f3688a34ec Added deallocating function for uwsgi_dyn_dict 2015-05-21 07:37:11 +04:00
Riccardo Magliocchetti 2d732d229e core/utils: remove unused assignment
Reported by Coverity as CID #1231250
2015-05-05 15:19:25 +02:00
Riccardo Magliocchetti 7151bf4480 fix memoery leak in uwsgi_setns
Reported by Coverity as CID #1296721
2015-05-05 14:21:27 +02:00
Roberto De Ioris c6789af0f7 added wait-for-socket 2015-05-01 13:24:51 +02:00
Unbit f6e5db93d8 fixed #883 2015-04-10 15:54:11 +02:00
Riccardo Magliocchetti d24f7371fc core/utils: fix memory leak
Reported by Coverity as CID #971042
2015-01-14 21:28:38 +01:00
Aarni Koskela 91a04dd461 Add reasons to worker self-shutdown messages.
This should make it easier to understand why a worker is shutting down.

* Modify `goodbye_cruel_world` to accept a `reason` format string and
  varargs.
* Modify calls to the above function to include a verbose reason string.
* Modify the `gbcw_hook` used by the Gevent plugin to adhere to the new
  API.
2015-01-08 09:44:03 +02:00
Janos Guljas d79eeefe97 Write pidfile and pidfile2 only after successful start 2014-12-23 15:39:19 +01:00
Dmitry Moiseev b912ae0a48 Fixing build against uClibc 2014-12-10 16:08:55 +05:00
Roberto De Ioris cc726c769f fixed #748 2014-10-16 08:25:42 +02:00
Nigel Heron a9177d3a6b buffer over-read fix in magic_sub 2014-10-10 10:32:58 -04:00
Unbit 9951b7536e added --wait-for-mountpoint 2014-10-07 06:52:30 +02:00
Unbit ed2ca5d333 request buffer_size is now 64bit (except for uwsgi protocol) 2014-09-21 08:26:20 +02:00
Aldur c8a1ba3716 Feature added: priority in not Linux OSs. 2014-09-16 15:02:52 +02:00
Unbit fce15b7ab5 fixed #693 2014-08-26 07:25:25 +02:00
Roberto De Ioris 8da55942ca fixed fastcgi and scgi protocols with out of buffer 2014-08-15 19:07:02 +02:00
Unbit 532bee6916 added wait_for_fs infrastructure 2014-08-11 08:05:05 +02:00
Unbit 2add2aab04 fixed #661 2014-07-11 08:58:08 +02:00
Unbit 987da3ecdd added note about uwsgi_calloc_shared, as noted in #661 2014-07-11 08:47:20 +02:00
Unbit 540a3dbf33 first round from ticket #661 2014-07-11 08:42:18 +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
Unbit 90b07a2f83 fixed #648 2014-06-17 17:14:32 +02:00
Unbit 9a70753680 merged with master 2014-05-05 12:19:04 +02:00
Łukasz Mierzwa 15b2cf0712 don't recalculate avg_rt for static files 2014-05-03 21:48:41 +02:00
Unbit fa269b8838 start investigating argc/argv implications 2014-05-03 11:44:24 +02:00
Unbit 4f89a350aa fixed json escaper 2014-04-30 07:42:11 +02:00
Yu Zhao eff23382c2 plugins/{airbrake,alarm_curl,alarm_xmpp}: fix race condition
A thread may run immediately after it's created. Trying to pass
parameter to thread using uwsgi_thread->data without preventing
the thread from accessing it first is a race condition. If the
thread accesses uwsgi_thread->data first, uwsgi gets killed by
SIGSEGV.

This patch creates a new function uwsgi_thread_new_with_data()
to assign user provided data to uwsgi_thread->data before the
thread is created.
2014-04-27 14:28:59 -07:00
Unbit 7b901ab81e fixed #536 2014-02-20 09:19:41 +01:00
Unbit b801f839fc check for heartbeat only if heartneat is enabled 2014-02-06 07:02:58 +01:00
Unbit bcb8321480 improved heartbeat mode 2014-02-06 05:34:29 +01:00
Unbit 62dab40a22 added j magic var 2014-01-23 00:50:28 +01:00
Unbit 08443d5463 fixed logfile-chown 2014-01-11 07:36:01 +01:00
Unbit 61f3d162a4 getting rid og dynamic options (step 1) 2013-12-26 16:48:50 +01:00
Unbit 0d4f4a2411 added chmod hook 2013-12-21 08:21:17 +01:00
Unbit 3b64838324 fixed snprintf() usage all over the place 2013-12-20 08:54:27 +01:00
Unbit 972333941d added --jailed 2013-12-16 14:51:55 +01:00
Unbit 5ea95c9e89 fixed a couple of memory leaks 2013-12-14 13:27:46 +01:00
Unbit 8095a9108c added setns() support 2013-12-14 10:43:27 +01:00
Unbit 70dd9fca32 allows building plugin from a single file 2013-12-04 21:33:27 +01:00
Unbit ace79b1179 various websockets and sharedarea optimizations 2013-11-30 10:41:56 +00:00
Unbit 0ab1cfacc9 added read errors counters and --log-ioerror 2013-11-26 07:13:07 +01:00
Roberto De Ioris c01cf1f6be added accepting and ready state to the Emperor 2013-11-21 06:39:23 +01:00
Unbit e606d1e5d1 removal of embedded zeromq api 2013-11-18 11:11:46 +01:00
Unbit f92b800a7c fixed default app usage 2013-11-12 12:18:31 +01:00
Unbit dec2b234f8 fixed no default app 2013-11-12 12:14:15 +01:00
Unbit 60d940e301 added simple math and concat to placeholders 2013-11-10 04:27:26 +01:00
Unbit 50a8ec8a19 removed matheval flag, added generic matheval plugin and startin 1.9.20 development cycle 2013-11-10 02:53:08 +01:00