On Sun, Feb 03, 2008, Amos Jeffries wrote:
> Adrian Chadd wrote:
> >Thats basically what Robert was proposing with his method changes
> >in squid-3 a few years ago.
> >
> >Of course, what you really want to do is break out all of the magic
> >url manipulation stuff that happens for acceleration, because -that- stuff
> >gets rewritten far before the forwarding manager gets its hands dirty..
> >
>
> Code references?
clientReadRequest()
clientParseRequest()
parseHttpRequest()
prepareTransparentURL() or prepareAcceleratedURL()
prepareTransparentURL() actually looks at the -unparsed headers- to grab
the Host: header, for example, because the request isn't parsed yet..
Thats the kinda mess that has to be sorted out in the client side.
It'd also be reasonably fantastic to be able to run a lot of these
request parsing routines before we begin checking for ACL and forwarding;
give the CPU caches time to adequately take advantage of, well, caching,
before we blow it by running through megabytes of random data and
code. :)
Adrian
-- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -Received on Sun Feb 03 2008 - 05:13:06 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST