--> Tuesday, September 2, 2003, 3:24:54 PM, [EMAIL PROTECTED] wrote: > Webware doesn't time anything out (maybe to its detriment -- though I > don't know if there's any good way to do a timeout in a threaded > environment anyway). I don't know if there's any way to put a timeout > on a particular socket. If there is, Webware doesn't do it (or leaves > it at the default timeout).
I would think there are. Perhaps they are not available to Python. Perhaps this explains my experience with Python TCP/IP in Windows. I tried Python for TCP/IP development in Windows one time and experienced hugely obscure bugs in an application which transferred around 50 thousand data files daily. The errors *were* rare and messages hilariously useless. After 4 fulls days of trying to find the problem, I ported my code to Delphi rather easily and the errors were gone completely. I never got to use Python at that employer again and haven't trusted it completely for TCP/IP since. > In this case Apache is probably timing out. >> Then again, I was once flamed by Webware advocates for explaining PHP's >> helpful handling of form variables, such as naming them with [] postfixed >> to put multiple into an array. Next thing you know I am checking out >> WebWare and see very nearly the same abstract concept in form variable >> actions prefixed with _. So you never know, and that is why I mentioned >> the third. > Actions are done with the _action_X form variable, but confirmed with > the servlet's actions() method. So the client never invokes something > that wasn't explicitly permitted by the developer. In this case the > configuration (if it existed) would best be put directly in the > servlet, as per-request configuration (as opposed to per-servlet) seems > unlikely. Yes I know actions must be defined in the servlet quite obviously for security measures. Postfixing with [] in PHP doesn't come close to that type of security vulnerability. I was flamed because the convention existed, not because of any possible security vulnerability, then come to find similar conventions in Webware (even less elegant imho). That's all I was saying. -Kai ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss