Roberto De Ioris
d3194ca011
remove monitored fd from async queue when in async mode
2012-10-30 18:31:04 +01:00
Roberto De Ioris
af61a9e33f
re-indented core/async.c
2012-10-30 18:01:35 +01:00
Roberto De Ioris
4896e22a62
preventively read a page of data in stats http mode
2012-10-30 09:42:17 +01:00
Roberto De Ioris
7882d12a80
better sockets management in stats servers
2012-10-30 09:31:15 +01:00
Roberto De Ioris
9342acc500
allows exported json stats in http format
2012-10-30 08:45:32 +01:00
Roberto De Ioris
929a919c9d
exports spoolers data in stats server
2012-10-30 08:19:42 +01:00
Roberto De Ioris
d1f6e97dd7
do not transfer static files if method is HEAD
2012-10-30 07:22:25 +01:00
Roberto De Ioris
f9d76f90eb
better configfile path management
2012-10-29 19:48:43 +01:00
Unbit
2de5e8994f
allows building without routing
2012-10-29 16:51:21 +01:00
unbit
7e935253a2
Merge pull request #36 from prymitive/fr
...
count requests in (fast|http)router
2012-10-29 04:07:50 -07:00
Łukasz Mierzwa
4c20d83573
count requests in (fast|http)router / with cs->un checks
2012-10-29 11:44:56 +01:00
Łukasz Mierzwa
7035a676a2
count requests in (fast|http)router
2012-10-29 10:58:03 +01:00
Roberto De Ioris
736f99d10b
added router_cache plugin
2012-10-29 10:11:42 +01:00
Roberto De Ioris
ea422a4576
fixed cache size reporting in 32bit
2012-10-29 09:29:43 +01:00
Roberto De Ioris
e274f53286
a couple of fedora17-specific fixes
2012-10-28 19:58:25 +01:00
Roberto De Ioris
c03dcf4617
added logfile commodity plugin
2012-10-28 19:27:42 +01:00
Roberto De Ioris
d70c7ceb89
added --log-route
2012-10-28 18:15:09 +01:00
Roberto De Ioris
9ae1354d1a
added the systemd journal logger
2012-10-28 08:02:18 +01:00
Roberto De Ioris
b29f0b9436
reimplemented --http-to-https
2012-10-27 20:12:19 +02:00
Roberto De Ioris
e01cd802d8
re-implemented http expect/continue
2012-10-27 19:39:01 +02:00
Roberto De Ioris
c7b57c9776
added --log-filter
2012-10-27 15:59:48 +02:00
Roberto De Ioris
3a48b898ad
refactored router_access plugin
2012-10-27 15:37:14 +02:00
unbit
4f4771b527
Merge pull request #31 from brainbitsca/master
...
router_access - plugin to implement hosts_access
2012-10-27 06:03:58 -07:00
Roberto De Ioris
b43df60d7f
added uwsgi_kvlist_parse api function
2012-10-27 14:58:19 +02:00
Roberto De Ioris
10a5661218
added C Anthony Risinger as contributor
2012-10-27 12:15:53 +02:00
Roberto De Ioris
a99670cfb5
fixed an incredibly stupid bug in http/https router
2012-10-27 11:58:10 +02:00
unbit
7967e8ac3c
Merge pull request #33 from prymitive/harakiri
...
More accurate harakiri counting
2012-10-26 01:31:12 -07:00
colinlbc
e105ebe273
remove stray uwsgi_log()
2012-10-25 14:47:50 -07:00
colinlbc
11d2c004c2
moved critical scrncpy out of #ifdef UWSGI_DEBUG
2012-10-25 14:30:47 -07:00
colinlbc
e8bfa12372
Reworked things to get rid of several pointer errors.
...
Implemented svcname paramater for hosts access mode to set daemon name in hosts.allow,hosts.deny.
New router config syntax:
svcname defaults to uwsgi
uwsgi.ini:
router access:hosts
router access:hosts=svcname
router access:allow=addr
router access:deny=addr
hosts.deny:
svcname:ALL
2012-10-25 14:10:37 -07:00
Łukasz Mierzwa
317e9efa2d
harakiri count is now accurate so we don't need to divide here
2012-10-25 15:23:35 +02:00
Łukasz Mierzwa
4b99bff520
don't increment harakiri counter on multiple SIGKILLs sent to the same process
2012-10-25 15:18:00 +02:00
colinlbc
99f584cff0
use char *remote_addr instead of wsgi_req->remote_addr
2012-10-24 03:03:13 -07:00
colinlbc
fc6a79dcc9
corrected hosts_ctl to use STRING_UNKNOWN instead of wsgi_req->host. This
...
wants the remote_hostname, not the request host header.
2012-10-24 02:54:30 -07:00
colinlbc
75af812b83
Fixed a couple of silly mistakes in the access:action,host syntax parsing
...
Made changes based on unbit feedback:
- separated header, body output in 403 error
- used uwsgi_concat2n to copy strings out of wsgi_req->remote_addr and wsgi_req->host
2012-10-24 02:15:41 -07:00
Colin Ligertwood
0f4e1eb7e2
A simple access control router using libwrap. Currently only tested on OpenBSD 5.1.
...
I've used router_authbasic as a guide to write this. Placeholders exist for an
internal ACL scheme. Syntax follows:
router = ^/path acces:hosts -- hosts access router using libwrap, works!
router = ^/path access:allow,ipaddr -- internal allow, unimplemented
router = ^/path access:deny,ipaddr -- internal deny, unimplemented
It's just a few hours hacking and I'm not entirely sure how the internal access
control will work, but the hosts access stuff works in openbsd. It returns a 403
on denial.
2012-10-24 01:09:44 -07:00
Roberto De Ioris
a3e0c2260f
fixed a leak and a refcount bug in the tracebacker
2012-10-24 08:05:35 +02:00
Roberto De Ioris
3f63caa5eb
fixed a typo
2012-10-24 07:13:33 +02:00
info@unbit.it
61bd3fb0e6
fixed kqueue support
2012-10-23 23:46:54 +02:00
Roberto De Ioris
d6b4b8ea6e
improved wsgi.input reports
2012-10-23 20:44:01 +02:00
Roberto De Ioris
3a451fb42f
updates request switches at every gevent sleep/switch
2012-10-22 17:16:21 +02:00
Roberto De Ioris
7017712c6d
non blocking wsgi.input in gevent
2012-10-22 15:58:36 +02:00
Roberto De Ioris
49140c3387
removed sendfile buildconf option
2012-10-22 14:07:33 +02:00
Roberto De Ioris
1d9edc3e34
ops, missing some ugly global vars
2012-10-22 10:03:56 +02:00
Roberto De Ioris
fffe070e30
use threaded build only on build_uwsgi()
2012-10-22 09:41:24 +02:00
Roberto De Ioris
29ce04adce
implemented reliable gevent non-blocking writes
2012-10-22 08:34:37 +02:00
unbit
c487fb0cf0
Merge pull request #27 from xtfxme/improvement/gitignore-build-products
...
.gitignore build products and cache files
2012-10-21 21:29:47 -07:00
C Anthony Risinger
503fcd5ed5
.gitignore build products and cache files
2012-10-21 21:33:15 -05:00
Roberto De Ioris
7136beeff7
added uwsgi.offload_transfer()
2012-10-21 18:19:14 +02:00
Roberto De Ioris
64c7d71c35
completed https request body management
2012-10-21 14:04:10 +02:00