Files
swift-nio-http2/Sources/NIOHTTP2/ConnectionStateMachine
George Barnett 348a10ee19 Ensure preamble only gets sent once. (#61)
Motivation:

In certain cases it was possible for preamble to be sent once; this
would lead to frames getting sent more than once which in turn would
break state machines.

Modifications:

- Check the state of the connection before sending preamble.
- Include a test to check.

Result:

More correct implementation
2019-03-15 12:40:50 +00:00
..