On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
Okay, but at least ns_conn keepalive 1|0 to enable disable will be good to have if working with non-browser based http servers/clients?
Non-HTTP server stuff rocks, but you have to remember that this is basically an HTTP server. The consequence is that when people see "keepalive", they have a very specific thing in mind, and it's not hacking up a syslog server or whatever. All I'm saying is, keep people's expectations in mind when designing APIs.
Stephen Deasey wrote: > On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> You never know when this may come in handy :-)) > > > It'll be handy code indeed if and when you can think of a handy use for it. :-) > > > >> Stephen Deasey wrote: >>> On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >>>> I remember i added it when was testing video streaming with different >>>> players which expected it bu were not HTTP/1.1 compliant. >>>> >>>> ns_conn keepalive 0 to disable makes sense. >>>> >>>> May be ns_conn keepalive -1 would revert keepalive rules to default then? >>> >>> When would you use this? >>> >>> >>>> Stephen Deasey wrote: >>>>> 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 >>>>>> >>>>> 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
