#define SQUID_CLIENTDELAYCONFIG_H
#include "acl/forward.h"
+
#include <vector>
class StoreEntry;
#if USE_DELAY_POOLS
#include "auth/Gadgets.h"
-#include "base/Vector.h"
#include "CompositePoolNode.h"
#include "DelayBucket.h"
#include "DelayIdComposite.h"
if (pconnRace == raceHappened)
debugs(17, 4, HERE << "retrying the same destination");
else
- serverDestinations.shift(); // last one failed. try another.
+ serverDestinations.erase(serverDestinations.begin()); // last one failed. try another.
startConnectionOrFail();
return;
}
#define SQUID_FORWARD_H
#include "base/RefCount.h"
-#include "base/Vector.h"
#include "comm.h"
#include "comm/Connection.h"
#include "err_type.h"
#ifndef SQUID_HTTPHEADERRANGE_H
#define SQUID_HTTPHEADERRANGE_H
-#include "base/Vector.h"
#include "MemPool.h"
#include "Packer.h"
#include "Range.h"
#include "AccessLogEntry.h"
#include "acl/Checklist.h"
-#include "base/Vector.h"
#include "cbdata.h"
#include "comm/forward.h"
#include "hier_code.h"
#ifndef SQUID_STOREFILESYSTEM_H
#define SQUID_STOREFILESYSTEM_H
-#include "base/Vector.h"
+#include <vector>
/* ****** DOCUMENTATION ***** */
#include "adaptation/History.h"
#include "adaptation/Service.h"
#include "adaptation/ServiceGroups.h"
-#include "base/Vector.h"
#include "ConfigParser.h"
#include "globals.h"
#include "HttpReply.h"
#include "adaptation/DynamicGroupCfg.h"
#include "base/RefCount.h"
-#include "base/Vector.h"
#include "HttpHeader.h"
#include "Notes.h"
#include "SBuf.h"
#define SQUID_ARRAY_H
/**
- \todo CLEANUP: this file should be called Vector.h at least, and probably be replaced by STL Vector<C>
+ \todo remove this after replacing with STL
*/
#include "fatal.h"
#define SQUID_EVENT_H
#include "AsyncEngine.h"
-#include "base/Vector.h"
#include "MemPool.h"
class StoreEntry;
#ifndef SQUID_IPC_COORDINATOR_H
#define SQUID_IPC_COORDINATOR_H
-#include "base/Vector.h"
#include "ipc/Messages.h"
#include "ipc/Port.h"
#include "ipc/SharedListen.h"
#define SQUID_IPC_QUEUE_H
#include "base/InstanceId.h"
-#include "base/Vector.h"
#include "Debug.h"
#include "ipc/AtomicWord.h"
#include "ipc/mem/FlexibleArray.h"
#include "squid.h"
#include "acl/FilledChecklist.h"
-#include "base/Vector.h"
#include "CachePeer.h"
#include "client_side.h"
#include "client_side_request.h"
/* At this point only the TCP handshake has failed. no data has been passed.
* we are allowed to re-try the TCP-level connection to alternate IPs for CONNECT.
*/
- tunnelState->serverDestinations.shift();
+ tunnelState->serverDestinations.erase(tunnelState->serverDestinations.begin());
if (status != COMM_TIMEOUT && tunnelState->serverDestinations.size() > 0) {
/* Try another IP of this destination host */