]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg: make clear_pipe work only on a given Pipe, rather than the current one.
authorGreg Farnum <greg@inktank.com>
Fri, 1 Jun 2012 23:46:39 +0000 (16:46 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 4 Jun 2012 04:31:16 +0000 (21:31 -0700)
commit000f9d30d287e6d20f8d7cbd29bdafdfb5db1962
treeec2dea5ae76aa102774ef392a8a076e445b2a25a
parent1870e12c5c1c8bc48f29b2155694e7aa23d60e4f
msg: make clear_pipe work only on a given Pipe, rather than the current one.

This way old Pipes that have been replaced can't clear the new Pipe
out of a Connection's link.
We might attempt to instead sever the link between CLOSED Pipes and
their Connections more completely (eg, when the Connection gets a
new Pipe), but that will require more work to handle all the
cases, and this works for now.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/msg/Message.h
src/msg/SimpleMessenger.cc