[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: async mod_proxy_http

On Thu, Sep 13, 2018 at 1:59 AM Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
> On Wed, Sep 12, 2018 at 5:53 PM Eric Covener <covener@xxxxxxxxx> wrote:
> >
> > Forking from the Cool Stuff thread.
> >
> > Have you noticed that the wstunnell stuff makes the suspended count in
> > the MPM grow? There is no API for us to tell the MPM that when we get
> > the socket-activity callback that we are "resuming" something.
> >
> > (going from vague recollection)
> It seems that we increment it once when the handler returns SUSPENDED,
> and decrement it once per connection too in proxy_wstunnel_finish().

Besides this, don't we want suspended/resumed connection to have their
scoreboard status change?
No particular idea of how we'd do this but looks sensible to me to be
able to see how many suspended (or not) connections there are.