[PATCH] HttpMsgPointer

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 30 Aug 2010 17:10:33 -0600

Added safe HttpMsg pointer wrapper that locks and unlocks the message.

This class will not be needed if we switch to refcounting HttpMsg.
Meanwhile, it allows to pass message pointers in AsyncCalls and avoid
auto_ptr<> in exception-sensitive code.

---------

I am considering making the HttpMsgPointerT::lock() and unlock() methods
protected because it would be difficult for the caller to use them
correctly and because it is probably not necessary for the caller to use
them at all.

Thank you,

Alex.

Received on Mon Aug 30 2010 - 23:10:42 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 31 2010 - 12:00:05 MDT