duplicity-tracker
[Top][All Lists]
Advanced

[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)

URL:
  <http://savannah.nongnu.org/patch/?6642>

                 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

    _______________________________________________________

Details:

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
this.

(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

<http://savannah.nongnu.org/patch/download.php?file_id=16604>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6642>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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