kazu-yamamoto / http2

HTTP/2.0 library including HPACK
BSD 3-Clause "New" or "Revised" License
86 stars 22 forks source link

using concurrent_ for servers #67

Closed kazu-yamamoto closed 1 year ago

kazu-yamamoto commented 1 year ago

Servers using race_.

When frameReceiver in a server generates RST_Stream, it dies. There is no grantee that frameSender sends RST_Stream. Then the connection is closed by the server side. The client receives FIN instead of RST_Stream.

This makes the "missing" test case fragile.

Let's use concurrently_ like clients!