[TS-2651] atscppapi: race conditions in destruction of async providers

Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce437252
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce437252
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce437252

Branch: refs/heads/lua_config
Commit: ce437252627bfcc33b77fc8b56befff54f8315d3
Parents: 5ae5dda
Author: Brian Geffon <[email protected]>
Authored: Wed Mar 19 15:57:27 2014 -0700
Committer: Brian Geffon <[email protected]>
Committed: Wed Mar 19 15:57:27 2014 -0700

----------------------------------------------------------------------
 lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce437252/lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h 
b/lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h
index a98e1a6..42118fa 100644
--- a/lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h
+++ b/lib/atscppapi/src/include/atscppapi/AsyncHttpFetch.h
@@ -87,12 +87,12 @@ public:
    */
   void getResponseBody(const void *&body, size_t &body_size) const;
 
-  virtual ~AsyncHttpFetch();
-
   /**
    * Starts a HTTP fetch of the Request contained.
    */  
   virtual void run(shared_ptr<AsyncDispatchControllerBase> 
dispatch_controller);
+protected:
+  virtual ~AsyncHttpFetch();
 
 private:
   AsyncHttpFetchState *state_;

Reply via email to