Re: [Resin-interest] Inactivity connection timeout over HTTP

2009-10-27 Thread Caleb Richardson
Sorry, I should have mentioned that this is occurring in a comet scenario, and 
the timeout we are seeing is 10 minutes. We are trying to do a long poll, and 
are hoping to hold the connection open without sending a response for more than 
10 minutes.

Thanks,

Caleb Richardson

--- alex wrote:

Date: Mon, 26 Oct 2009 13:57:11 -0700

There is keepalive-timeout setting. It can go in the server or server- 
default. Default value for the parameter is 15s.

server-default
   keepalive-timeout15s/keepalive-timeout


On 2009-10-26, at 1:44 PM, Caleb Richardson wrote:

 It seems that there is a inactivity timeout being enforced at the  
 connection level by Resin (currently running 3.1.8). I searched the  
 standard documentation and couldn't find any mention of this, is  
 this a configurable value?

 Thanks,

 Caleb Richardson
 Software Engineer
 Everyone.net


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Inactivity connection timeout over HTTP

2009-10-27 Thread Alex
 Sorry, I should have mentioned that this is occurring in a comet  
 scenario, and the timeout we are seeing is 10 minutes. We are trying  
 to do a long poll, and are hoping to hold the connection open  
 without sending a response for more than 10 minutes.

You should be able to change that with suspend-time-maxTm/suspend- 
time-max on a port

http address=* port=8082
   !--set max suspend time to 20 minutes--
   suspend-time-max20m/suspend-time-max
/http

Regards,
-- Alex

 Thanks,

 Caleb Richardson

 --- alex wrote:

 Date: Mon, 26 Oct 2009 13:57:11 -0700

 There is keepalive-timeout setting. It can go in the server or server-
 default. Default value for the parameter is 15s.

 server-default
   keepalive-timeout15s/keepalive-timeout


 On 2009-10-26, at 1:44 PM, Caleb Richardson wrote:

 It seems that there is a inactivity timeout being enforced at the
 connection level by Resin (currently running 3.1.8). I searched the
 standard documentation and couldn't find any mention of this, is
 this a configurable value?

 Thanks,

 Caleb Richardson
 Software Engineer
 Everyone.net


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Tabulation evil

2009-10-27 Thread Jeff Schnitzer
This is really just a point of curiosity...

What editor are you guys using at Caucho?  I've noticed all the code
is formatted using a bizarre combination of tabs and spaces, like
this:

1 indent = 4 spaces
2 indents = 1 tab
3 indents = 1 tab + 4 spaces
4 indents = 2 tabs
5 indents = 2 tabs + 4 spaces

...which, setting aside longstanding religious wars about tabs vs
spaces, seems to combine the worst characteristics of each approach.
I'm not really complaining, since Eclipse will fix it for me with
two mouse clicks, but I'm terribly curious to know what editor can
even be configured to abuse code like that :-)

Jeff


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest