paritytech / jsonrpsee

Rust JSON-RPC library on top of async/await
MIT License
648 stars 172 forks source link

fix(server): count http calls in connection guard #1468

Closed niklasad1 closed 1 month ago

niklasad1 commented 1 month ago

Close #1467

The ConnectionGuard was dropped before actually waiting for the http future to resolved which this fixes by enforcing RpcService to take ownership of ConnectionState.