well-typed / grapesy

Native Haskell gRPC client and server based on `http2`
Other
31 stars 4 forks source link

An exception on an RPC call causes the whole connection to fail #102

Open edsko opened 3 months ago

edsko commented 3 months ago

I think that this is a limitation of http2, but I do not know for sure. One potential clue I found during debugging this is that perhaps things go wrong in http2 is we throw an exception in outboundTrailersMaker, but I don't know if that is a red herring or not.

To reproduce this, change clientGlobal in Test.Driver.Dialogue.Execution to always use a single connection, and plenty of test cases will start to fail.