Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
87072eed
Commit
87072eed
authored
Jan 21, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replay SVN r5769
Add a comment with our worst case gzip scenario
parent
1c0a69cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
cache_gzip.c
bin/varnishd/cache_gzip.c
+29
-0
No files found.
bin/varnishd/cache_gzip.c
View file @
87072eed
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment