[vlc-devel] [RFC] httpd: allow callback to be polled until they	complete
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Wed Jul 15 17:17:10 CEST 2009
    
    
  
Le mercredi 15 juillet 2009 17:06:28 Pierre Ynard, vous avez écrit :
> Currently, if an httpd callback needs to do some operation that could
> block, it cannot. Blocking would starve other clients of the httpd.
> Yet, the callback is expected to do its thing and return at once.
>
> This patch allows such callbacks to put clients in waiting state, and be
> polled until they are ready to complete. I have a use case for it in my
> private branch, but I thought that it might be useful to others too, and
> I'd share.
I fail to see how that will solve the problem. The callback's only chance to 
return the response is when it is called anyway.
-- 
Rémi Denis-Courmont
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list