]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/StoreToCommWriter.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / StoreToCommWriter.h
index 43678a3207cf24ff043d920ba9e14a39ec912f83..647b6c3c66718f8d308c61f09c0870ae2f3d8219 100644 (file)
@@ -9,10 +9,10 @@
 #define SQUID_MGR_STORE_TO_COMM_WRITER_H
 
 #include "base/AsyncJob.h"
+#include "comm/forward.h"
 #include "mgr/Action.h"
 #include "StoreIOBuffer.h"
 
-
 class store_client;
 class CommIoCbParams;
 class CommCloseCbParams;
@@ -25,7 +25,7 @@ namespace Mgr
 class StoreToCommWriter: public AsyncJob
 {
 public:
-    StoreToCommWriter(int aFd, StoreEntry *anEntry);
+    StoreToCommWriter(const Comm::ConnectionPointer &conn, StoreEntry *anEntry);
     virtual ~StoreToCommWriter();
 
 protected:
@@ -53,7 +53,7 @@ protected:
     void close();
 
 protected:
-    int fd; ///< HTTP client descriptor
+    Comm::ConnectionPointer clientConnection; ///< HTTP client descriptor
 
     StoreEntry* entry; ///< store entry with the cache manager response
     store_client* sc; ///< our registration with the store