diff options
author | Guido van Rossum <guido@python.org> | 1998-02-13 01:39:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-02-13 01:39:16 (GMT) |
commit | 8a666e7c56192f42288a30a53adf5299fda29557 (patch) | |
tree | bc9b249f38a4d0a90e725f9d4076e4fa94edff58 /configure | |
parent | e5bc49785c5aa6de9ca65754c1236e98e7c3a10f (diff) | |
download | cpython-8a666e7c56192f42288a30a53adf5299fda29557.zip cpython-8a666e7c56192f42288a30a53adf5299fda29557.tar.gz cpython-8a666e7c56192f42288a30a53adf5299fda29557.tar.bz2 |
Fix a horrible race condition -- various routines were storing the
most recently opened URL in self.openedurl of the URLopener instance.
This doesn't really work if multiple threads share the same opener
instance!
Fix: openedurl was actually simply the type prefix (e.g. "http:")
followed by the rest of the URL; since the rest of the URL is
available and the type is effectively determined by where you are in
the code, I can reconstruct the full URL easily, e.g. "http:" + url.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions