Commit Graph
3 Commits
Author SHA1 Message Date
Johannes Weiss 346af5be0e don't crash when client sends bad magic (#12)
Motivation:

We shouldn't just crash if the client sends bad magic.

Changes:

Send an error through the pipeline instead of crashing on bad client
magic.

Result:

fewer crashes
2018-08-16 15:29:14 +01:00
Cory Benfield 95b557d617 Fail writes when stream closed by rststream 2018-05-11 10:04:32 +01:00
Cory Benfield 1a91bebe1a Add support for HTTP/2 ALPN negotiation. (#1)
Motivation

The most common mechanism for negotiating HTTP/2 is to use ALPN.
We should support that.

Modifications:

Added a `ChannelPipeline` extension to configure a pipeline for
ALPN-based upgrade.

Added a property that indicates the ALPN tokens for HTTP/2 and
HTTP/1.1 use.

Result:

Should be possible to configure a channel pipeline for HTTP/2 work.
2018-04-11 15:12:31 +01:00