From: robertc <> Date: Sat, 24 May 2003 17:32:34 +0000 (+0000) Subject: Summary: Bugfix: #651 X-Git-Tag: SQUID_3_0_PRE1~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec43ae0ee2f0ebd9328f0ee41e849e6a1a6d4aa3;p=thirdparty%2Fsquid.git Summary: Bugfix: #651 Keywords: Quote the Surrogate-Capability capability statement as per the draft spec. --- diff --git a/src/http.cc b/src/http.cc index d28580fa36..49094bb733 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.413 2003/03/10 04:56:38 robertc Exp $ + * $Id: http.cc,v 1.414 2003/05/24 11:32:34 robertc Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -1154,7 +1154,7 @@ httpBuildRequestHeader(request_t * request, { /* Append Surrogate-Capabilities */ String strSurrogate (httpHeaderGetList(hdr_in, HDR_SURROGATE_CAPABILITY)); - snprintf(bbuf, BBUF_SZ, "%s=Surrogate/1.0 ESI/1.0", + snprintf(bbuf, BBUF_SZ, "%s=\"Surrogate/1.0 ESI/1.0\"", Config.Accel.surrogate_id); strListAdd(&strSurrogate, bbuf, ','); httpHeaderPutStr(hdr_out, HDR_SURROGATE_CAPABILITY, strSurrogate.buf());