红联Linux门户
Linux帮助

Varnish 4.0.1发布,开源HTTP加速器

发布时间:2014-07-02 10:09:14来源:红联作者:empast
缓存代理Varnish 4.0.1发布。2014-06-25 上个版本是2014-04-10的4.0.0,这是4.0第一个补丁版。代理现在国内主流基本是Squid,Varnish,Apache Traffic server三种。

完全改进:

Changes from 4.0.0 to 4.0.1 (2014-06-24)

New since 4.0.0:

New functions in vmod_std: real2time, time2integer, time2real, real.

Chunked requests are now supported. (pass)

Add std.querysort() that sorts GET query arguments. (from libvmod-boltsort)

Varnish will no longer reply with "200 Not Modified".

Backend IMS is now only attempted when last status was 200.

Packaging now uses find-provides instead of find-requires. [redhat]

Two new counters: n_purges and n_obj_purged.

Core size can now be set from /etc/sysconfig/varnish [redhat]

Via header set is now RFC compliant.

Removed "purge" keyword in VCL. Use return(purge) instead.

fallback director is now documented.

%D format flag in varnishncsa is now truncated to an integer value.

persistent storage backend is now deprecated. https://www.varnish-cache.org/docs/trunk/phk/persistent.html

Added format flags %I (total bytes received) and %O (total bytes sent) for varnishncsa.

python-docutils >= 0.6 is now required.

Support year (y) as a duration in VCL.

VMOD ABI requirements are relaxed, a VMOD no longer have to be run on the same git revision as it was compiled for. Replaced by a major/minor ABI counter.

Bugs fixed

1269 - Use correct byte counters in varnishncsa when piping a request.

1524 - Chunked requests should be pipe-able.

1530 - Expire old object on successful IMS fetch.

1475 - time-to-first-byte in varnishncsa was potentially dishonest.

1480 - Porting guide for 4.0 is incomplete.

1482 - Inherit group memberships of -u specified user.

1473 - Fail correctly in configure when rst2man is not found.

1486 - Truncate negative Age values to zero.

1488 - Don't panic on high request rates.

1489 - req.esi should only be available in client threads.

1490 - Fix thread leak when reducing number of threads.

1491 - Reorder backend connection close procedure to help test cases.

1498 - Prefix translated VCL names to avoid name clashes.

1499 - Don't leak an objcore when HSH_Lookup returns expired object.

1493 - vcl_purge can return synth or restart.

1476 - Cope with systems having sys/endian.h and endian.h.

1496 - varnishadm should be consistent in argv ordering.

1494 - Don't panic on VCL-initiated retry after a backend 500 error.

1139 - Also reset keep (for IMS) time when purging.

1478 - Avoid panic when delivering an object that expires during delivery.

1504 - ACLs can be unreferenced with vcc_err_unref=off set.

1501 - Handle that a director couldn't pick a backend.

1495 - Reduce WRK_SumStat contention.

1510 - Complain on symbol reuse in VCL.

1514 - Document storage.NAME.free_space and .used_space [docs]

1518 - Suppress body on 304 response when using ESI.

1519 - Round-robin director does not support weight. [docs]

项目主页:https://www.varnish-cache.org/

下载地址:https://repo.varnish-cache.org/source/varnish-4.0.1.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论