New submission from Yang <stud...@live.cn>: The mismatched content length will cause hang up in sys.stdin.read(). The reason is probably described in Issue 1214 as well as 1725295.
length = int(os.environ.get('CONTENT_LENGTH', None)) """Length fix for IIS 7.x to avoid hang up""" length=length-2 I would appreciate if someone can create a diff or patch file for the code above. ---------- components: Library (Lib) messages: 91707 nosy: sjtuer severity: normal status: open title: To avoid hang up in using CGIXMLRPCRequestHandler under IIS 7.x type: feature request versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6728> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com