/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "auth/UserRequest.h"
#include "helper/forward.h"
+#include "helper/ReservationId.h"
class ConnStateData;
class HttpReply;
namespace Negotiate
{
-/// \ingroup AuthNegotiateAPI
class UserRequest : public Auth::UserRequest
{
MEMPROXY_CLASS(Auth::Negotiate::UserRequest);
virtual const char * connLastHeader();
- /* we need to store the helper server between requests */
- helper_stateful_server *authserver;
void releaseAuthServer(void); ///< Release the authserver helper server properly.
/* what connection is this associated with */
/* need access to the request flags to mess around on pconn failure */
HttpRequest *request;
+ /// a helper-issued reservation locking the helper state between
+ /// HTTP requests
+ Helper::ReservationId reservationId;
private:
static HLPCB HandleReply;
};