On Sun, 5 Jan 2003, Jim Davidson wrote: > I'm not sure this could be done well in a single, global manner. Instead, > hooks for the three most common request paths directly in the aolserver core > may be needed: [snip] > perhaps this stuff should be a compile time option triggered on with a > --with-gzip= style autoconf thing (ugly as that may be).
I wouldn't mind seeing hooks, especially if they can be made more generic; gzip is today's problem, but I'm sure there will be another down the road. It would be nice to be able to have a stack of stream postprocessors, of which gzip compression could be one. Another module to get pushed onto the stack might be rate-limiting (so that a greedy client gets no more than x bytes per second; different from connection throttling, which needs to be done at the front of the request).
