Hi, Just to add more, my application is single threaded and I am running MHD inside that. I don't create additional threads. I use suspend and resume as suggested earlier as I do async processing.
So, I am thinking how can we implement flow control in this scenario.. Thanks, Santos On Mon, Sep 17, 2018 at 8:22 PM Santos Das <santos....@gmail.com> wrote: > Hi, > > Could you kindly let me know how can we implement the flow control ? > Protection against the badly behaving clients. > > > HTTP/1.1 servers SHOULD maintain persistent connections and use TCP's flow > control > > mechanisms to resolve temporary overloads, rather than terminating > connections with > > the expectation that clients will retry. The latter technique can exacerbate > network > > congestion. > > > > https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html > > > Thanks, Santos > > >