On Fri, 23 Oct 2009 08:33:37 -0700 (PDT) Amit <[email protected]> wrote:
> > Hi Pavel, > > I need to specify socket to be able to use keep-alive (persistent > connections). > Thin is capable of using keep-alive but only with unix domain sockets. > Hope I'm clear. > > thanks > Amit > A unix domain socket is socket which is used only for local connections. It isn't bound to a network port, so not being able to connect to one using the network is to be expected. If thin only supports keep-alive with unix domain sockets, you'll need to put some kind of a proxy in front of it (e.g. nginx) which will actually bind to the network port and allow remote communication. You also need to make sure you're doing things like setting a Content-Length header. I'm not sure, off hand, if merb does this for you. Regards Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
