size_t crlfEnd = 0;
if (findCrlf(crlfBeg, crlfEnd)) {
- debugs(93,7, "found chunk-size end: " << crlfBeg << "-" << crlfEnd);
+ debugs(94,7, "found chunk-size end: " << crlfBeg << "-" << crlfEnd);
int64_t size = -1;
const char *p = 0;
theIn->consume(crlfEnd);
theChunkSize = theLeftBodySize = size;
- debugs(93,7, "found chunk: " << theChunkSize);
+ debugs(94,7, "found chunk: " << theChunkSize);
theStep = theChunkSize == 0 ? psTrailer : psChunkBody;
return;
}
/*
- * $Id: ChunkedCodingParser.h,v 1.3 2007/08/13 17:20:53 hno Exp $
+ * $Id: ChunkedCodingParser.h,v 1.1 2007/12/26 22:33:32 hno Exp $
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
bool needsMoreData() const;
bool needsMoreSpace() const;
- bool sawIeof; // saw ieof chunk extension after a 0-size chunk
private:
typedef void (ChunkedCodingParser::*Step)();
#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.am,v 1.194 2007/12/14 23:11:45 amosjeffries Exp $
+# $Id: Makefile.am,v 1.195 2007/12/26 22:33:31 hno Exp $
#
# Uncomment and customize the following to suit your needs:
#
carp.cc \
cbdata.cc \
cbdata.h \
+ ChunkedCodingParser.cc \
+ ChunkedCodingParser.h \
client_db.cc \
client_side.cc \
client_side.h \
structs.h \
SwapDir.cc \
SwapDir.h \
+ TextException.cc \
+ TextException.h \
time.cc \
tools.cc \
tunnel.cc \
ICAP_libicap_a_SOURCES = \
ICAP/AsyncJob.cc \
ICAP/AsyncJob.h \
- ICAP/ChunkedCodingParser.cc \
- ICAP/ChunkedCodingParser.h \
ICAP/ICAPClient.cc \
ICAP/ICAPClient.h \
ICAP/ICAPInitiator.cc \
ICAP/ICAPServiceRep.cc \
ICAP/ICAPServiceRep.h \
ICAP/ICAPXaction.cc \
- ICAP/ICAPXaction.h \
- ICAP/TextException.cc \
- ICAP/TextException.h
+ ICAP/ICAPXaction.h
unlinkd_SOURCES = unlinkd_daemon.cc SquidNew.cc
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
+ ChunkedCodingParser.h \
client_db.cc \
client_side.cc \
client_side_reply.cc \
store_swapout.cc \
structs.h \
SwapDir.cc \
+ TextException.cc \
+ TextException.h \
tools.cc \
typedefs.h \
$(UNLINKDSOURCE) \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ TextException.cc \
tools.cc \
tunnel.cc \
SwapDir.cc \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ TextException.cc \
tools.cc \
tunnel.cc \
SwapDir.cc \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ TextException.cc \
tools.cc \
tunnel.cc \
SwapDir.cc \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreSwapLogData.cc \
String.cc \
SwapDir.cc \
+ TextException.cc \
time.cc \
tools.cc \
tunnel.cc \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ TextException.cc \
tools.cc \
tunnel.cc \
SwapDir.cc \
CacheDigest.cc \
carp.cc \
cbdata.cc \
+ ChunkedCodingParser.cc \
client_db.cc \
client_side.cc \
client_side_reply.cc \
StoreMetaURL.cc \
StoreMetaVary.cc \
StoreSwapLogData.cc \
+ TextException.cc \
tools.cc \
tunnel.cc \
SwapDir.cc \