H2O 1.4.0 发布, HTTP 服务器

jopen 9年前

H2O 1.4.0 发布,相比之前的1.3.1版本有一些更新和 bug 修复,主要如下:

  • Support for the PROXY protocol

  • Support for cache-based and ticket-based TLS session resumption using Memcached (and forward secrecy)

 features:

  • cache-based session resumption using memcached

  • automatic rollover of master secret used for ticket-based resumption

  • synchronization of master secrets that rollover, using memcached

  • directive to configure the cipher used for encrypting tickets (with default being aes-256-cbc)

更多内容请查看:发行说明

H2O 是一个经过优化的 HTTP 服务器实现,可用于一个标准的独立服务器或者是一个 HTTP 服务器开发包。

支持的协议有:

  • HTTP/1.0 (http and https)

  • HTTP/1.1 (http and https)

  • Websocket (RFC6455, both ws and wss)

  • HTTP/2.0 (draft 14, via Upgrade, NPN, ALPN)

依赖包:

  • OpenSSL (mandatory)

  • libyaml (optional; required when building the server)

  • libuv 1.0.0 (optional; required when using h2o as a library)

  • wslay (optional; required if you need support for websocket)

实际测试发现 H2O 的性能是 Nginx 的两倍左右 (ab -c 500 -n 100000 -k)。

H2O 1.4.0 发布, HTTP 服务器