[issue6728] To avoid hang up in using CGIXMLRPCRequestHandler under IIS 7.x

2010-08-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Why would one read 2 bytes less than CONTENT_LENGTH? -- nosy: +georg.brandl resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6728

[issue6728] To avoid hang up in using CGIXMLRPCRequestHandler under IIS 7.x

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6728 ___ ___

[issue6728] To avoid hang up in using CGIXMLRPCRequestHandler under IIS 7.x

2009-08-18 Thread Yang
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