Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-24 | feat(ext/http): h2c for http/2 (#18817) | Matt Mastracci | |
This implements HTTP/2 prior-knowledge connections, allowing clients to request HTTP/2 over plaintext or TLS-without-ALPN connections. If a client requests a specific protocol via ALPN (`h2` or `http/1.1`), however, the protocol is forced and must be used. | |||
2023-04-22 | feat(ext/http): Rework Deno.serve using hyper 1.0-rc3 (#18619) | Matt Mastracci | |
This is a rewrite of the `Deno.serve` API to live on top of hyper 1.0-rc3. The code should be more maintainable long-term, and avoids some of the slower mpsc patterns that made the older code less efficient than it could have been. Missing features: - `upgradeHttp` and `upgradeHttpRaw` (`upgradeWebSocket` is available, however). - Automatic compression is unavailable on responses. |