assert(method == Note::Value::mhReplace);
if (Note::Pointer oldNote = find(SBuf(k, keyLen)))
debugs(28, DBG_CRITICAL, "Warning: annotation configuration with key " << k <<
- " already exists and will be overwritten");
+ " already exists and will be overwritten");
}
SBuf key(k, keyLen);
validateKey(key);
/// Adds a value to the note and returns a pointer to the
/// related Value object.
Value::Pointer addValue(const char *value, const bool quoted, const char *descr,
- const Value::Method m = Value::mhAppend);
+ const Value::Method m = Value::mhAppend);
/// Walks through the possible values list of the note, selects
/// the first value, matching the given HttpRequest and HttpReply
/// entries separated by sep string.
const char *toString(const char *sep = "\r\n") const;
void updateNotePairs(NotePairsPointer pairs, const CharacterSet *delimiters,
- const AccessLogEntryPointer &al);
+ const AccessLogEntryPointer &al);
private:
/// Verifies that the key is not blacklisted (fatal error) and
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * 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.
// Make the previously set client connection ID available as annotation.
if (ConnStateData *csd = calloutContext->http->getConn()) {
if (!csd->notes()->empty())
- calloutContext->http->request->notes()->appendNewOnly(csd->notes().getRaw());
+ calloutContext->http->request->notes()->appendNewOnly(csd->notes().getRaw());
}
ale->syncNotes(calloutContext->http->request);
}