Unbit
7604c67018
ready to release 2.0.4
2.0.4
2014-04-22 08:22:00 +02:00
Roberto De Ioris
afc962709f
fixed respawn when in on-demand mode
2014-04-21 07:49:57 +02:00
Unbit
c11e0654a0
added php session support over cache
2014-04-19 18:42:52 +02:00
Unbit
6e4f47cc76
the corerouter error reporting is still wrong :(
2014-04-19 11:36:06 +02:00
Unbit
20c9f0ef40
another error report fix for the corerouter
2014-04-19 11:25:52 +02:00
Unbit
ef3c8a5bd9
fixed tornado plugin
2014-04-19 11:01:14 +02:00
Unbit
76d0438fee
added asyncio build profile
2014-04-19 10:58:50 +02:00
Unbit
18fd338908
fixed corerouter error reporting
2014-04-19 10:27:58 +02:00
Unbit
2b35e95706
removed some useless debug
2014-04-19 09:29:43 +02:00
Unbit
4761146599
the asyncio plugin (experimental)
2014-04-19 09:21:19 +02:00
Unbit
3924cc639e
added Yu Zhao to CONTRIBUTORS
2014-04-18 06:29:29 +02:00
unbit
5f09de0469
Merge pull request #597 from getcwd/lru
...
Implement LRU for cache framework
2014-04-18 06:28:10 +02:00
Yu Zhao
4f0e3fb79f
Implement LRU for cache framework
...
If "purge_lru" option is used when creating cache store, the
"expires" parameter for cache_set/cache_update will be ignored.
Instead, all items are placed on an LRU list and when the store
is full, the least recent used one will be evicted.
2014-04-17 20:26:41 -07:00
unbit
05b6baf173
Merge pull request #594 from getcwd/master
...
cache/sweeper ehancement
2014-04-16 07:03:53 +02:00
Yu Zhao
149823aac4
Only scan cached items when there is expired one
...
This is an optimization for the sweeper algorithm. By remembering
the least expiration time, we can determine whether we need to go
over all items in a cache store. If we have to, we find the new
least expiration time by examining those that are not expired yet.
2014-04-15 13:57:57 -07:00
Yu Zhao
85d86dc10e
Only allocate one sweeper thread
...
Thread is not cheap on Linux since it involves context switch in the
kernel. And allocating multiple threads is not necessary even on SMP
since the granularity of time is second.
2014-04-15 10:58:29 -07:00
Yu Zhao
e97d921909
Optimization for sweeper creation loop
...
cache_no_expire is a global flag, if it's set, return without further
check when trying to create sweepers.
2014-04-15 08:56:34 -07:00
unbit
c5e20bf4da
Merge pull request #593 from getcwd/patch-1
...
add ${HTTPS} to https_socket
2014-04-15 06:15:45 +02:00
getcwd
a09d25ccaa
add ${HTTPS} to https_socket
...
https plugin sets ${HTTPS} so should https_socket proto -- admins can write consistent HTTP/HTTPS routing rules for both.
2014-04-14 14:22:31 -07:00
Unbit
bf01cea062
added micros() api function
2014-04-12 18:34:57 +02:00
unbit
b6459be3e4
Merge pull request #591 from prymitive/ssl_opts
...
always generate key if (EC)DH is used
2014-04-12 12:25:29 +02:00
Łukasz Mierzwa
d42788c17b
always generate key if (EC)DH is used
2014-04-12 11:16:05 +02:00
Unbit
872730c116
added mongodb2 imperial monitor
2014-04-11 11:15:17 +02:00
Unbit
6fce0aee84
fixed a typo
2014-04-11 10:36:08 +02:00
Unbit
e3d8a02614
add a memo for future offload improvements
2014-04-09 11:24:02 +02:00
Unbit
b58696399e
added support for http proxy connect in router_http
2014-04-09 10:49:17 +02:00
Unbit
519c9f58b3
Merge branch 'master' of ssh://github.com/unbit/uwsgi
2014-04-09 05:53:48 +02:00
Unbit
2c77c5c639
fixed http and uwsgi internal routers (by Guido Notari)
2014-04-09 05:53:26 +02:00
unbit
fb9e5a1891
Merge pull request #587 from prymitive/lseek
...
check lseek return value in uwsgi_check_logrotate()
2014-04-06 20:11:20 +02:00
unbit
5aa7d1a79f
Merge pull request #586 from prymitive/logto2
...
uwsgi_setup_log_master must always be called after logto()
2014-04-06 20:10:38 +02:00
Łukasz Mierzwa
bc3442ba29
uwsgi_setup_log_master must always be called after logto(), this was not happening with --logto2
2014-04-06 15:08:03 +02:00
Łukasz Mierzwa
3061e36089
check lseek return value in uwsgi_check_logrotate()
2014-04-06 15:03:17 +02:00
Unbit
4f8c41cf61
fix headers parsing in http router
2014-04-06 10:15:24 +02:00
unbit
b0065c379e
Merge pull request #585 from stestagg/master
...
Fix uwsgi_route_var_mime
2014-04-05 15:58:06 +02:00
Steve Stagg
57f71c974d
Fix some bugs introduced in c57baae477 preventing the 'mime' routing function from working with request variables, and actually return the found mimetype
...
The uwsgi_route_var_mime function had two errors preventing it from (afaics ever) working:
1. Redefine the 'ret' variable inside an if block. This meant that if the uwsgi_get_mime_type function ever actually found a matching mimetype, the length of the matching value would be corectly set, but the function returns NULL (the value of the function-level ret variable)
2. The function was looking up the request variable correctly, BUT then passing in the raw config string to uwsgi_get_mime_type NOT the resolved varible value, making the lookup just a waste of cycles.
2014-04-05 13:36:53 +01:00
Unbit
b820fefbbd
prepare for 2.0.4
2014-04-05 10:15:02 +02:00
Unbit
5f759f0d26
allow duplicate headers in http router
2014-04-05 10:14:11 +02:00
Unbit
f7eb9ed1cd
improved on_demand mode
2014-04-05 08:56:39 +02:00
Unbit
3a82732b19
advanced http timeout management
2014-04-05 07:57:01 +02:00
Unbit
d74e826f71
another patch for reducing emperor race conditions
2014-04-02 09:15:05 +02:00
unbit
c846a9b388
Merge pull request #582 from prymitive/cache_full_ignore
...
allow disabling cache warnings
2014-04-02 00:33:49 +02:00
Łukasz Mierzwa
001e4b6e39
allow disabling cache warnings in --cache2
2014-04-01 20:00:13 +02:00
Unbit
a51a396f47
fixed #581
2014-04-01 12:04:31 +02:00
Unbit
17965ea870
faster restart of vassals
2014-04-01 10:52:32 +02:00
Unbit
8a032b41ec
combine headers with the same name in HTTP native mode
2014-03-31 10:32:18 +02:00
Roberto De Ioris
a489cfc2c1
fixed additional sources
2014-03-28 07:08:15 +01:00
unbit
3b32672ff9
Merge pull request #579 from prymitive/spdy_fix
...
merge duplicated headers when SPDY is enabled, fixes #572
2014-03-28 06:18:26 +01:00
Łukasz Mierzwa
858131ba57
merge duplicated headers when SPDY is enabled, fixes #572
2014-03-27 21:32:51 +01:00
Unbit
8a8d2f8675
support embedded config on FreeBSD
2014-03-26 16:54:31 +01:00
Unbit
9d37725323
added setmodifier1 and setmodifier2
2014-03-23 07:26:14 +01:00