Author: fhanik
Date: Mon Mar 19 15:42:30 2007
New Revision: 520146

URL: http://svn.apache.org/viewvc?view=rev&rev=520146
Log:
forgot to document the other way to set the individual timeout

Modified:
    tomcat/tc6.0.x/trunk/webapps/docs/aio.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/aio.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/aio.xml?view=diff&rev=520146&r1=520145&r2=520146
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/aio.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/aio.xml Mon Mar 19 15:42:30 2007
@@ -251,6 +251,7 @@
   <subsection name="Comet timeouts">
     <p>If you are using the NIO connector, you can set individual timeouts for 
your different comet connections.
        To set a timeout, simple set a request attribute like the following 
code shows:
+       <source>CometEvent event.... event.setTimeout(30*1000);</source> or
        
<source>event.getHttpServletRequest().setAttribute("org.apache.tomcat.comet.timeout",
 new Integer(30 * 1000));</source>
        This sets the timeout to 30 seconds.
        Important note, in order to set this timeout, it has to be done on the 
<code>BEGIN</code> event.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to