Someone hitting my site must have a bad cookie and when the Cookie
parser fails, the thread just hangs.  Once all threads are hung the site
stops responding.  I don't know the code well enought to know where to
put the try/except but I think there should be a general try/except
around handleRequest().  Any ideas or comments?


Traceback (most recent call last):
  File "/usr/local/lib/python2.1/threading.py", line 378, in __bootstrap
    self.run()
  File "/usr/local/lib/python2.1/threading.py", line 366, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "/usr/Webware/Webware/WebKit/ThreadedAppServer.py", line 247, in
threadloop
    rh.handleRequest()
  File "/usr/Webware/Webware/WebKit/ThreadedAppServer.py", line 479, in
handleRequest
    transaction = self.server._app.dispatchRawRequest(dict, strmOut)
  File "WebKit/Application.py", line 310, in dispatchRawRequest
  File "WebKit/Application.py", line 755, in createRequestForDict
  File "WebKit/HTTPRequest.py", line 44, in __init__
  File "WebUtils/Cookie.py", line 605, in load
    for K,V in self.items():
  File "WebUtils/Cookie.py", line 625, in __ParseString
    n = len(str)     # Length of string
IndexError: string index out of range

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to