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
9d5ca140
Commit
9d5ca140
authored
Apr 20, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
White-space fixups
parent
d0463012
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
cache_center.c
bin/varnishd/cache_center.c
+2
-2
cache_fetch.c
bin/varnishd/cache_fetch.c
+1
-1
mgt_sandbox.c
bin/varnishd/mgt_sandbox.c
+1
-1
rfc2616.c
bin/varnishd/rfc2616.c
+1
-1
storage_persistent_silo.c
bin/varnishd/storage_persistent_silo.c
+1
-1
vsm.c
bin/varnishd/vsm.c
+1
-1
vtc_main.c
bin/varnishtest/vtc_main.c
+1
-1
vsm.h
include/vsm.h
+1
-1
No files found.
bin/varnishd/cache_center.c
View file @
9d5ca140
...
...
@@ -535,8 +535,8 @@ cnt_fetch(struct sess *sp)
/*
* Figure out how the fetch is supposed to happen, before the
* headers are adultered by VCL
* NB: Also sets other sp->wrk variables
*/
* NB: Also sets other sp->wrk variables
*/
sp
->
wrk
->
body_status
=
RFC2616_Body
(
sp
);
sp
->
err_code
=
http_GetStatus
(
sp
->
wrk
->
beresp
);
...
...
bin/varnishd/cache_fetch.c
View file @
9d5ca140
...
...
@@ -538,7 +538,7 @@ FetchBody(struct sess *sp)
INCOMPL
();
}
AZ
(
sp
->
wrk
->
vgz_rx
);
/*
* It is OK for ->end to just leave the last storage segment
* sitting on sp->wrk->storage, we will always call vfp_nop_end()
...
...
bin/varnishd/mgt_sandbox.c
View file @
9d5ca140
...
...
@@ -106,7 +106,7 @@ mgt_sandbox(void)
*/
priv_addset
(
minimal
,
"net_access"
);
#define SETPPRIV(which, set)
\
#define SETPPRIV(which, set) \
if (setppriv(PRIV_SET, which, set)) \
REPORT0(LOG_ERR, \
"Waiving privileges failed on " #which)
...
...
bin/varnishd/rfc2616.c
View file @
9d5ca140
...
...
@@ -167,7 +167,7 @@ RFC2616_Ttl(const struct sess *sp)
ttl
=
(
int
)(
h_expires
-
h_date
);
}
}
}
/* calculated TTL, Our time, Date, Expires, max-age, age */
WSP
(
sp
,
SLT_TTL
,
"%u RFC %g %.0f %.0f %.0f %u %u"
,
sp
->
xid
,
...
...
bin/varnishd/storage_persistent_silo.c
View file @
9d5ca140
...
...
@@ -433,7 +433,7 @@ smp_oc_getobj(struct worker *wrk, struct objcore *oc)
if
(
bad
)
{
EXP_Set_ttl
(
&
o
->
exp
,
-
1
);
so
->
ttl
=
0
;
}
}
sg
->
nfixed
++
;
wrk
->
stats
.
n_object
++
;
...
...
bin/varnishd/vsm.c
View file @
9d5ca140
...
...
@@ -33,7 +33,7 @@
* The VSM studying programs only have read-only access to the VSM
* so everybody else must use memory barriers, stable storage and
* similar tricks to keep the VSM image in sync (long enough) for
*
the studying programs.
* the studying programs.
*
* Manager process vs child process.
* Will only muck about in VSM when child process is not running
...
...
bin/varnishtest/vtc_main.c
View file @
9d5ca140
...
...
@@ -340,7 +340,7 @@ main(int argc, char * const *argv)
switch
(
ch
)
{
case
'D'
:
if
(
!
parse_D_opt
(
optarg
))
{
fprintf
(
stderr
,
"Cannot parse D opt '%s'
\n
"
,
fprintf
(
stderr
,
"Cannot parse D opt '%s'
\n
"
,
optarg
);
exit
(
2
);
}
...
...
include/vsm.h
View file @
9d5ca140
...
...
@@ -92,7 +92,7 @@ vsm_iter_0(void)
CHECK_OBJ_NOTNULL
(
&
vsm_head
->
head
,
VSM_CHUNK_MAGIC
);
return
(
&
vsm_head
->
head
);
}
static
inline
void
vsm_iter_n
(
struct
vsm_chunk
**
pp
)
{
...
...
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