Files
swift-nio-http2/Tests
Cory Benfield 38feec96bc Soften errors when seeing inactive before active (#376)
Motivation:

When we started checking active/inactive ordering, we added code that
rejected some channel pipeline state transitions. That code was too
strict: it is absolutely possible to see channelInactive before
channelActive in well-functioning programs.

We'll still call this an error, but we don't need to crash in debug mode
when we see it.

Modifications:

- Made channelInactive before channelActive tolerated.

Result:

More reliable code
2023-03-02 13:34:42 +00:00
..