Message346096
Hi @shajianrui,
Thank you for such detailed explanation of experiments.
As you mentioned it is a expected behavior of the io.RawIOBase.read() (see https://docs.python.org/3/library/io.html#io.RawIOBase), but io.BufferedIOBase.read() has different behavior (see https://docs.python.org/3/library/io.html#io.BufferedIOBase.read) and returns requested number of bytes (if stream is not interactive). So it is not surprising that this issue is being reproducible randomly and differently for Windows and Linux.
I think it may be better reproducible in CGIHTTPRequestHandler because it reads header of the request first. |
|
Date |
User |
Action |
Args |
2019-06-20 04:29:34 | vsbogd | set | recipients:
+ vsbogd, georg.brandl, shajianrui |
2019-06-20 04:29:34 | vsbogd | set | messageid: <1561004974.13.0.399330118044.issue37301@roundup.psfhosted.org> |
2019-06-20 04:29:34 | vsbogd | link | issue37301 messages |
2019-06-20 04:29:33 | vsbogd | create | |
|