Closing connections gracefully is an old and new problem in network programming. In the HTTP/1.1 days, this did not get attention since HTTP/1.1 is a synchronous protocol. However, as Niklas Hambüchen concretely and completely explained, HTTP/2 servers should close connections gracefully. This is because HTTP/2 is an asynchronous protocol. Unfortunately, most HTTP/2 server implementations do not c
![Implementing graceful-close in Haskell network library - あどけない話](https://cdn-ak-scissors.b.st-hatena.com/image/square/0208e8636e4d0103dca17546786cf9b81ba23b70/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fk%2Fkazu-yamamoto%2F20190920%2F20190920153902.png)