macOS
brew install h2olocal Homebrew formula metadata
安装
brew install h2olocal Homebrew formula metadata
nix profile install nixpkgs#h2onixpkgs package indexes · pkgs/by-name/h2/h2o/package.nix · 来源: api.github.com
sudo apt install h2oUbuntu 24.04 LTS package indexes · h2o · 来源: archive.ubuntu.com
概览
HTTP server with support for HTTP/1.x and HTTP/2
历史
H2O is an MIT-licensed C HTTP server and library created in the HTTP/2 transition era. It became notable among web-server and package-manager users for treating HTTP/2 prioritization, server push, TLS behavior, and later HTTP/3/QUIC support as core design concerns rather than bolt-on features.
The H2O repository was created in August 2014. The README credits DeNA, Kazuho Oku, Tatsuhiko Kubo, and later contributors including Fastly, and describes H2O as an optimized HTTP server with HTTP/1.x, HTTP/2, and experimental HTTP/3 support.
H2O 1.0 arrived around the finalization of HTTP/2, and the Changes file records early work to support the finalized HTTP/2 version and fix issues reported by h2spec. The project subsequently added or refined TLS, OCSP, mruby scripting, FastCGI, reverse proxying, HTTP/2 priority behavior, server push, early hints, and libh2o APIs.
The release history shows a mature 2.x line through 2019, including security fixes for HTTP/2 denial-of-service vectors and other parser or logging issues. A 2026 repository release note records that maintainers had decided in 2019 to stop tagging regular versions, steering users toward the master branch instead of a backported stable-branch model.
H2O emerged as HTTP/2 moved from draft work into production deployment, so its adoption history is tied to operators and developers who wanted a server that handled HTTP/2 semantics deeply. The official site emphasizes lower CPU and memory-bandwidth use than older HTTP servers and highlights prioritization schemes, server push, and 103 Early Hints.
Fastly's public author page for Kazuho Oku identifies him as the author of H2O, quicly, and picoTLS, linking the server to a broader ecosystem of transport-layer and TLS work. Package-manager adoption through Homebrew, MacPorts, Nix, and Ubuntu made H2O available to developers experimenting with modern HTTP stacks without building from source.
H2O can run as a standalone HTTP server or be used as libh2o. Its documentation covers command options, YAML-style configuration, virtual hosts, paths, static files, FastCGI, proxying, access logs, compression, mruby, HTTP/2, HTTP/3, and operational features such as graceful restart.
For CLI/package users, H2O is commonly installed to test or operate a compact web server with HTTP/2 and HTTP/3 behavior, to compare prioritization and push behavior, or to embed HTTP serving behavior through the library.
H2O is significant because it is not just another packaged web server: it captured a particular period when HTTP/2 implementers were validating new protocol semantics with h2spec, HPACK, prioritization trees, TLS choices, and server push. It also connected package ecosystems to related low-level projects such as picohttpparser, quicly, and picoTLS.
For people who follow formulae and ports, H2O is a useful example of a high-performance network daemon whose packaging surface spans daemon deployment, local protocol testing, and C library reuse.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
h2o | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:h2o |
|---|---|
| 版本 | 2.2.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/h2o |
| 主页 | https://github.com/h2o/h2o/ |
| 仓库 | https://github.com/h2o/h2o |
| 上游文档 | https://github.com/h2o/h2o#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/h2o/h2o/archive/refs/tags/v2.2.6.tar.gz |
| 最后更新 | 2026-06-22T14:03:41-07:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | cmake, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | A basic example configuration file has been placed in $HOMEBREW_PREFIX/etc/h2o. You can find fuller, unmodified examples in $HOMEBREW_PREFIX/opt/h2o/share/h2o/examples. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | h2o |
| Version Scheme | 0 |
| Revision | 3 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
h2o
nix profile install nixpkgs#h2oh2o 2.2.5+dfsg2-8.1ubuntu3
optimized HTTP/1.x, HTTP/2 server
sudo apt install h2oh2o-doc 2.2.5+dfsg2-8.1ubuntu3
optimized HTTP/1.x, HTTP/2 server - documentation
sudo apt install h2o-doclibh2o-dev 2.2.5+dfsg2-8.1ubuntu3
dev helpers of the H2O library compiled with libuv
sudo apt install libh2o-devlibh2o-dev-common 2.2.5+dfsg2-8.1ubuntu3
H2O library headers
sudo apt install libh2o-dev-commonlibh2o-evloop-dev 2.2.5+dfsg2-8.1ubuntu3
dev helpers of the H2O library compiled with its own event loop
sudo apt install libh2o-evloop-devlibh2o-evloop0.13t64 2.2.5+dfsg2-8.1ubuntu3
H2O library compiled with its own event loop
sudo apt install libh2o-evloop0.13t64libh2o0.13t64 2.2.5+dfsg2-8.1ubuntu3
H2O library compiled with libuv
sudo apt install libh2o0.13t64h2o
sudo port install h2o来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.