commit | 6e30a04bbe384269fa6a2d51a0a491a0a10b6e69 | [log] [tgz] |
---|---|---|
author | Peter Wu <peter@lekensteyn.nl> | Fri May 18 14:21:59 2018 +0200 |
committer | Peter Wu <peter@lekensteyn.nl> | Thu Oct 25 13:10:30 2018 +0200 |
tree | 34735d2288e5cf977e4354bf7c217f1e0886aa0e | |
parent | fccab7408a53b936fe1a6a527746a5119be71c66 [diff] |
browse.py: fix delay with multiple connections When Firefox opens two TCP connections and sends a request over the second connection, it is not processed until the first one is closed. Use a threaded server to solve this issue. Tested with Python 2.7.15 and 3.6.5. (Also tested with 2.6, but that failed due to lack of argparse.) Link: https://bugs.python.org/issue31639