I'm not really very convinced that fdsrv is a great idea. Using a
reverse proxy or pf/iptables seems like a much better solution to me.
We need something like nginx anyway to serve static content, load
balance, and to send some URLs to other services (e.g. php over
fastcgi, python http servers, etc.). Why is fdsrv important to you?
-bob
Well if someone needs to do that sans fdsrv then I'm sure they'll
speak up. Maybe the patch could try gen_tcp first, and if it fails,
then try fdsrv (or vice versa)? On closing the socket you could just
close it both ways and catch the badarg, there's no meaningful result
or error code from closing a socket anyway.
> >
> > I'm not really very convinced that fdsrv is a great idea. Using a
> > reverse proxy or pf/iptables seems like a much better solution to me.
> > We need something like nginx anyway to serve static content, load
> > balance, and to send some URLs to other services (e.g. php over
> > fastcgi, python http servers, etc.). Why is fdsrv important to you?
>
> For two reasons, and I really hope I am wrong on both ! First, because
> it is so easy to set up. Second, the main reason, I do chunked
> responses, were the HTPP connection stays open (for erlycomet, and
> also for RTMPT flash video) and long time ago when I was messing with
> yaws, I investigated about nginx and I was told at that time that
> reverse proxying was not suited for streaming type of applications. I
> would love to hear that this has changed in the meantime !
>
Okay, that sounds reasonable. If you put together a new patch that
uses fdsrv for Port < 1024 instead of changing the record then I'll
apply it.
-bob
On 11/25/07, Roberto Saccon <rsa...@gmail.com> wrote:
>