nghttp2
nghttp2 copied to clipboard
Pause http connection on long running blocking requests to make server continue serving other requests
Hi all, I have my libevent-server that runs monothread event server. If I have a request that need a long blocking operation to complete I can make it in a separate thread. In this scenario what have I to return from on_frame_recv_callback in order to make request wait until I signal the data ready? what do you think is the best way to do such long request? The purpose is to use one thread server for all requests and make some long running request running in it's own thread before reply