On Thu, May 03, 2001, Purple Mutants made tim leung write:
> yup, you are right william.
> 
> it's not really exception. it's thread's running state
> at the time i push Crt+Break. 
> 
> One thing i have been stuck for 1/2 month is that :
> 
> why the thread still running when i click canel on IE?
> click cancel in IE (i think) would close the TCP
> connection. servlet would konw that in the socket
> immediately ( this is the case in netscape). and
> caught an exception.
> 
> I suspect IE still keeps the TCP connection even after
> user click cancel. (that's bit strange idea).  but
> what else can keep the thread in servlet keep running
> if the socket is closed?  the thread didn't dies if i
> make another request, it's still there.
> 


 MSIE very loosely honors the HTTP/1.1 spec. If your webserver 
is setup to allow HTTP/1.1 connection with keep-alives then MSIE
will keep the connection open even if the user has hit stop. It also
does weird things the a keep-alive timeout. 
  You could try forcing the webserver to not allow keep-alives and
trying the same test to see if you get an exception or not. I don't 
remember from the start of the thread if you are using one of the apache
modules or talking straight to Tomcat. 

-- 
Steve Brunton   <[EMAIL PROTECTED]>  Phone: 404-827-2756
Chief Engineer Enterprise Systems    One CNN Center, Atlanta GA
CNN Internet Technologies          ICBM: 84W 23' 45" 33N 45' 29"
<*> I see you've set aside this special time to humiliate yourself in public. <*>

Reply via email to