]> git.ipfire.org Git - thirdparty/squid.git/commit
Replacing ClientBody class with BodyReader.
authorwessels <>
Fri, 28 Apr 2006 01:27:37 +0000 (01:27 +0000)
committerwessels <>
Fri, 28 Apr 2006 01:27:37 +0000 (01:27 +0000)
commit3b299123c03cdf557bdfae37260f1f80014890f3
tree4109b6023d24df8bd2b02351c33eee7b03e8cacd
parentb60a34bcb161b28df99f33e0832a73d3e216b4f3
Replacing ClientBody class with BodyReader.

The old ClientBody code did not allow us to insert ICAP into the
flow of an HTTP request.  Code in http.cc called read functions in
client_side.cc when forwarding a request body.  But with ICAP in
the middle, HTTP needs to get the message body from ICAP, not
client_side.

The new BodyReader is similar to ClientBody.  Now read and abort
functions are pointers, rather than hard-coded in HTTP/FTP modules.
23 files changed:
src/BodyReader.cc [new file with mode: 0644]
src/BodyReader.h [new file with mode: 0644]
src/HttpRequest.cc
src/HttpRequest.h
src/ICAP/ICAPClientReqmodPrecache.cc
src/ICAP/ICAPClientReqmodPrecache.h
src/ICAP/ICAPConfig.cc
src/ICAP/ICAPModXact.cc
src/ICAP/ICAPXaction.cc
src/ICAP/MsgPipe.cc
src/Makefile.am
src/Makefile.in
src/client_side.cc
src/client_side.h
src/client_side_request.cc
src/client_side_request.h
src/forward.cc
src/ftp.cc
src/http.cc
src/http.h
src/protos.h
src/structs.h
src/typedefs.h