新月の開発

73616090 :Anonymous 2015-12-04 05:14
@markdown
`Python\Python35\http\server.cgi`の次の部分を変更したらうまくいきました。やれやれです。

```python hl_lines="3"
# Make rfile unbuffered -- we need to read one line and then pass
# the rest to a subprocess, so we can't use buffered input.
rbufsize = -1
```

```python hl_lines="2 3 4"
# throw away additional data [see bug #427345]
## while select.select([self.rfile._sock], [], [], 0)[0]:
## if not self.rfile._sock.recv(1):
## break
```
Powered by shinGETsu.