Brian Smith wrote:

Under Apache CGI or mod_wsgi, in many situations you will get a deadlock in
this scenario.

Under IIS CGI it's considerably more likely. The output buffer you get is smaller than Apache/Linux (at least on Win2K3 it's only 2KB), so even a relatively small error page spat out before reading the whole input will result in a cheeky hang.

Therefore, for maximum portability, a WSGI application should ALWAYS consume
the *whole* request body if it wants to avoid the deadlock using the
reference WSGI adapter in PEP 333 or mod_wsgi
(...in daemon mode)

yep.

--
And Clover
mailto:[EMAIL PROTECTED]
http://www.doxdesk.com/

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to