]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side.cc
First part of a comm layer rework
authoradrian <>
Tue, 19 Sep 2006 13:56:57 +0000 (13:56 +0000)
committeradrian <>
Tue, 19 Sep 2006 13:56:57 +0000 (13:56 +0000)
commit2b6639175f09dbfda75a81ae495dd0e230f0c29a
tree792b50ed2bfb1fc27958ec3451bd2585aa2bb501
parent782c46d8671181e34e88a994dc2bbd914aab46b4
First part of a comm layer rework

* Remove new-style CommWrite, CommFill
* Add in a low-overhead C replacement for comm_read and comm_write
* Remove the difference between comm_write and comm_old_write; everything
  is back to using the same API for now
* create a simple C-based read/write IO callback mechanism, used by
  comm_read and comm_write

Whats left to do:

* convert accept/connect to using the new C-based read/write IO callback
  mechanism (and remove the requirement to allocate/free transient
  structures)
* rework the deferred read manager code somewhat
* then, remove the new-style CommRead code and use comm_read + whatever
  the deferred read manager has become
* remove whats not being used
14 files changed:
src/client_side.cc
src/comm.cc
src/comm.h
src/dns_internal.cc
src/errorpage.cc
src/ftp.cc
src/gopher.cc
src/helper.cc
src/http.cc
src/http.h
src/ident.cc
src/tunnel.cc
src/wais.cc
src/whois.cc