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/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to