[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [patch #6642] make ParsedUrl() thread-safe with resp

From: Peter Schuller
Subject: [Duplicity-tracker] [patch #6642] make ParsedUrl() thread-safe with respect to itself
Date: Thu, 02 Oct 2008 21:14:32 +0000
User-agent: Opera/9.52 (X11; FreeBSD 7.0-RELEASE-p4 amd64; U; en)


                 Summary: make ParsedUrl() thread-safe with respect to itself
                 Project: duplicity
            Submitted by: scode
            Submitted on: Thu 02 Oct 2008 09:14:29 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



This is for bug 22533. It makes ParsedUrl() safely usable concurrenty by
different threads. However, it does not change the underlying mechanism of
clobbering the urlparser module, so direct use of the urlparser module (such
as by backends) would still be unsafe. Only the webdav module seems to do

(Although in practice it should never be an issue since by the time a backend
is instantited, ParsedUrl() will have been called once. But I don't like
relying on this.)

Eliminating the clobbering remains a TODO, but given the history of subtle
URL parsing issues I'd like to avoid making significant changes here if not
entirely necessary.


File Attachments:

Date: Thu 02 Oct 2008 09:14:30 PM GMT  Name:
duplicity_parsedurl_threadsafety.patch  Size: 3kB   By: scode



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]