#include "adaptation/icap/Elements.h"
#endif
#include "RefCount.h"
+#if USE_SSL
+#include "ssl/gadgets.h"
+#endif
/* forward decls */
class HttpReply;
const char *opcode;
} htcp;
+#if USE_SSL
+ /// logging information specific to the SSL protocol
+ class SslDetails
+ {
+ public:
+ SslDetails();
+
+ const char *user; ///< emailAddress from the SSL client certificate
+ int bumpMode; ///< whether and how the request was SslBumped
+ } ssl;
+#endif
+
/** \brief This subclass holds log info for Squid internal stats
* \todo Inner class declarations should be moved outside
* \todo some details relevant to particular protocols need shuffling to other sub-classes
#if USE_SSL
ssluser(NULL),
#endif
- port(NULL)
- {;
+ port(NULL) {
+ ;
}
Ip::Address caddr;
#if USE_SSL
const char *ssluser;
+ Ssl::X509_Pointer sslClientCert; ///< cert received from the client
#endif
AnyP::PortCfg *port;
HttpRequest *request; //< virgin HTTP request
HttpRequest *adapted_request; //< HTTP request after adaptation and redirection
-
#if ICAP_CLIENT
/** \brief This subclass holds log info for ICAP part of request
* \todo Inner class declarations should be moved outside