H2O 1.4.0 發布, HTTP 服務器
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)。