]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/Request.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / Request.h
index 50b29d7016c13688ade20886a8e809b75b57dbcf..305cf398b05cc6db170d6e617f5b3e461a43f18b 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * $Id$
- *
- * DEBUG: section 16    Cache Manager API
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 16    Cache Manager API */
+
 #ifndef SQUID_MGR_REQUEST_H
 #define SQUID_MGR_REQUEST_H
 
@@ -12,7 +15,6 @@
 #include "ipc/Request.h"
 #include "mgr/ActionParams.h"
 
-
 namespace Mgr
 {
 
@@ -20,7 +22,7 @@ namespace Mgr
 class Request: public Ipc::Request
 {
 public:
-    Request(int aRequestorId, unsigned int aRequestId, int aFd,
+    Request(int aRequestorId, unsigned int aRequestId, const Comm::ConnectionPointer &aConn,
             const ActionParams &aParams);
 
     explicit Request(const Ipc::TypedMsgHdr& msg); ///< from recvmsg()
@@ -32,12 +34,12 @@ private:
     Request(const Request& request);
 
 public:
-    int fd; ///< HTTP client connection descriptor
+    Comm::ConnectionPointer conn; ///< HTTP client connection descriptor
 
     ActionParams params; ///< action name and parameters
 };
 
-
 } // namespace Mgr
 
 #endif /* SQUID_MGR_REQUEST_H */
+