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
c6403011
Commit
c6403011
authored
Jan 21, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the gzip_stack_buffer param throughout.
parent
af87aa4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cache_gzip.c
bin/varnishd/cache_gzip.c
+2
-2
cache_response.c
bin/varnishd/cache_response.c
+1
-1
No files found.
bin/varnishd/cache_gzip.c
View file @
c6403011
...
@@ -307,7 +307,7 @@ vfp_gunzip_bytes(struct sess *sp, struct http_conn *htc, size_t bytes)
...
@@ -307,7 +307,7 @@ vfp_gunzip_bytes(struct sess *sp, struct http_conn *htc, size_t bytes)
struct
storage
*
st
;
struct
storage
*
st
;
ssize_t
l
,
w
;
ssize_t
l
,
w
;
int
i
=
-
100
;
int
i
=
-
100
;
uint8_t
ibuf
[
64
*
1024
];
/* XXX size ? */
uint8_t
ibuf
[
1024
*
params
->
gzip_stack_buffer
];
size_t
dl
;
size_t
dl
;
const
void
*
dp
;
const
void
*
dp
;
...
@@ -406,7 +406,7 @@ vfp_gzip_bytes(struct sess *sp, struct http_conn *htc, size_t bytes)
...
@@ -406,7 +406,7 @@ vfp_gzip_bytes(struct sess *sp, struct http_conn *htc, size_t bytes)
struct
storage
*
st
;
struct
storage
*
st
;
ssize_t
l
,
w
;
ssize_t
l
,
w
;
int
i
=
-
100
;
int
i
=
-
100
;
uint8_t
ibuf
[
64
*
1024
];
/* XXX size ? */
uint8_t
ibuf
[
1024
*
params
->
gzip_stack_buffer
];
size_t
dl
;
size_t
dl
;
const
void
*
dp
;
const
void
*
dp
;
...
...
bin/varnishd/cache_response.c
View file @
c6403011
...
@@ -247,7 +247,7 @@ res_WriteGunzipObj(struct sess *sp)
...
@@ -247,7 +247,7 @@ res_WriteGunzipObj(struct sess *sp)
struct
vgz
*
vg
;
struct
vgz
*
vg
;
const
void
*
dp
;
const
void
*
dp
;
char
lenbuf
[
20
];
char
lenbuf
[
20
];
char
obuf
[
64
*
1024
];
/* XXX: size? */
char
obuf
[
1024
*
params
->
gzip_stack_buffer
];
size_t
dl
;
size_t
dl
;
int
i
;
int
i
;
...
...
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