> -----Ursprüngliche Nachricht----- > Von: Eric Covener <[email protected]> > Gesendet: Donnerstag, 13. September 2018 02:34 > An: Apache HTTP Server Development List <[email protected]> > Betreff: Re: async mod_proxy_http > > On Wed, Sep 12, 2018 at 7:59 PM Yann Ylavic <[email protected]> > wrote: > > > > On Wed, Sep 12, 2018 at 5:53 PM Eric Covener <[email protected]> > 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(). > > This didn't even ring a bell :) > > But won't we return SUSPENDED many times to a single finish?
Not really, because once we are suspended we only get triggered by timer events until we leave this state in proxy_wstunnel_finish. Regards Rüdiger
