Adrian Chadd wrote:
> In either modio or commloops I played with a single temp buffer which
> was linked to the client state. This cut down on the mallocs a little,
> but quite a bit of the mallocing went to the strings on the client
> and server (and back? :-) side.
Right, and when playing with writing a client within Squid I notices
that the http-header pack/unpack step is actually not at all needed. We
always have a memobj available with the headers unpacked (even on cache
hits I think)
Note: Some of the other "clients" are confused by this and do the wrong
thing by overwriting the memobj reply, for example the digest fetch
client.
-- HenrikReceived on Sat May 05 2001 - 02:50:28 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:59 MST