If:

   ns_conn keepalive 1

forces keepalive, I would expect:

   ns_conn keepalive 0

to dissable it.  Does this even make sense though?  When would you
explicitly enable or dissable keepalive in a tcl page script?



On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
ns_conn keepalive 1 forces keepalive, otherwise there are several
factors that defined whether or not it will be used.

ns_conn keepalive 0 clears that flag, so it works as normal. There is
not third state to disable normal rules, may be it is time to introduce
them.

Stephen Deasey wrote:
> On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of
>> headers or methods, but does not disable it completely, if not set,
>> normal rules apply
>
>
> So if you do:
>
>     ns_conn keepalive 0
>
> It doesn't disable keepalive?  Does this make sense?
>
>
>
>> Stephen Deasey wrote:
>>> On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
>>>> You may do
>>>> ns_set update [ns_conn outputheaders] Connection close
>>>>
>>>>
>>>> There is no parameter to disable it
>>>
>>> Then what's ns_conn keepalive about?
>>>
>>>
>>>> Bernd Eidenschink wrote:
>>>>> Hi, how to turn off keep-alive on the server?
>>>>>
>>>>> Should "ns_conn keepalive 0" work?
>>>>> (BTW my testserver shows internal server error when calling
>>>>> ns_conn keepalive "" )
>>>>>
>>>>> Or is there a config option?
>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job 
easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> naviserver-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>>>>>
>>>> --
>>>> Vlad Seryakov
>>>> 571 262-8608 office
>>>> [EMAIL PROTECTED]
>>>> http://www.crystalballinc.com/vlad/
>>>>
>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job 
easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> naviserver-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job 
easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> naviserver-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>>>
>> --
>> Vlad Seryakov
>> 571 262-8608 office
>> [EMAIL PROTECTED]
>> http://www.crystalballinc.com/vlad/
>>
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> naviserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> naviserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>

--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


Reply via email to