Commit 87072eed authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Replay SVN r5769

Add a comment with our worst case gzip scenario
parent 1c0a69cb
......@@ -33,6 +33,35 @@
*
* The API defined by this file, will also insulate the rest of the code,
* should we find a better gzip library at a later date.
*
* The absolutely worst case gzip processing path, once we have pipe-lining,
* will be the following, so we need to be a bit careful with the scratch
* space we use:
*
* Backend Tmp Input Output
* | ----------------------
* v
* gunzip wrk stack ?
* |
* v
* esi
* |
* v
* gzip wrk ? storage
* |
* v
* cache
* |
* v
* gunzip wrk storage stack
* |
* v
* client
*
* XXXX: The two '?' are obviously the same memory, but I have yet to decide
* where it goes. As usual we try to avoid the session->ws if we can but
* I may have to use that.
*
*/
#include "config.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment