Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
2cdfba04
Commit
2cdfba04
authored
Sep 05, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also rename the function calls.
parent
dd67c0d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
cache_http1_deliver.c
bin/varnishd/cache/cache_http1_deliver.c
+6
-6
No files found.
bin/varnishd/cache/cache_http1_deliver.c
View file @
2cdfba04
...
...
@@ -282,7 +282,7 @@ v1d_WriteObj(struct req *req)
cache_param
->
http_range_support
&&
req
->
obj
->
response
==
200
&&
http_GetHdr
(
req
->
http
,
H_Range
,
&
r
))
res
_dorange
(
req
,
r
,
&
low
,
&
high
);
v1d
_dorange
(
req
,
r
,
&
low
,
&
high
);
WRW_Reserve
(
req
->
wrk
,
&
req
->
sp
->
fd
,
req
->
vsl
,
req
->
t_resp
);
...
...
@@ -309,11 +309,11 @@ v1d_WriteObj(struct req *req)
ESI_DeliverChild
(
req
);
}
else
if
(
req
->
res_mode
&
RES_ESI_CHILD
&&
!
req
->
gzip_resp
&&
req
->
obj
->
gziped
)
{
res
_WriteGunzipObj
(
req
);
v1d
_WriteGunzipObj
(
req
);
}
else
if
(
req
->
res_mode
&
RES_GUNZIP
)
{
res
_WriteGunzipObj
(
req
);
v1d
_WriteGunzipObj
(
req
);
}
else
{
res
_WriteDirObj
(
req
,
low
,
high
);
v1d
_WriteDirObj
(
req
,
low
,
high
);
}
if
(
req
->
res_mode
&
RES_CHUNKED
&&
...
...
@@ -330,6 +330,6 @@ V1D_Deliver(struct req *req)
while
(
req
->
obj
->
objcore
->
busyobj
)
(
void
)
usleep
(
10000
);
RES
_BuildHttp
(
req
);
RES
_WriteObj
(
req
);
v1d
_BuildHttp
(
req
);
v1d
_WriteObj
(
req
);
}
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