Fix re-replication on attribute change.
commitd30160123fa4665414c490461ac55493406c150e
authorJeff Darcy <jdarcy@redhat.com>
Wed, 20 Oct 2010 19:22:04 +0000 (20 15:22 -0400)
committerJeff Darcy <jdarcy@redhat.com>
Thu, 21 Oct 2010 14:19:40 +0000 (21 10:19 -0400)
treea04161c3f4ebe2fc441eb3f6acc1fba530e48c20
parent9f30bdb8086d10b45b27ee8d582e81615bf28b22
Fix re-replication on attribute change.

Problem #1 was that the back-end code sometimes used ms->url instead of
ms->bucket and ms->key, causing the other end to see the URL for the
attribute that was changed instead of the URL for the file being
re-replicated.  Problem #2 was a memory leak when we re-use ms->pipe
in the replica module.

backend.c: fix functional error #1
rest.c fix leak #2 by freeing ms->pipe.data_ptr in proxy_put_attr
backend.c
rest.c