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
47e82920
Commit
47e82920
authored
Dec 09, 2014
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend the type of argument and return value of V1L_Write
This allows adding up to ssize_t chunks
parent
7f484581
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cache.h
bin/varnishd/cache/cache.h
+1
-1
cache_http1_line.c
bin/varnishd/http1/cache_http1_line.c
+2
-2
No files found.
bin/varnishd/cache/cache.h
View file @
47e82920
...
@@ -964,7 +964,7 @@ void V1L_EndChunk(const struct worker *w);
...
@@ -964,7 +964,7 @@ void V1L_EndChunk(const struct worker *w);
void
V1L_Reserve
(
struct
worker
*
,
struct
ws
*
,
int
*
fd
,
struct
vsl_log
*
,
double
t0
);
void
V1L_Reserve
(
struct
worker
*
,
struct
ws
*
,
int
*
fd
,
struct
vsl_log
*
,
double
t0
);
unsigned
V1L_Flush
(
const
struct
worker
*
w
);
unsigned
V1L_Flush
(
const
struct
worker
*
w
);
unsigned
V1L_FlushRelease
(
struct
worker
*
w
);
unsigned
V1L_FlushRelease
(
struct
worker
*
w
);
unsigned
V1L_Write
(
const
struct
worker
*
w
,
const
void
*
ptr
,
in
t
len
);
size_t
V1L_Write
(
const
struct
worker
*
w
,
const
void
*
ptr
,
ssize_
t
len
);
/* cache_range.c [VRG] */
/* cache_range.c [VRG] */
void
VRG_dorange
(
struct
req
*
req
,
struct
busyobj
*
bo
,
const
char
*
r
);
void
VRG_dorange
(
struct
req
*
req
,
struct
busyobj
*
bo
,
const
char
*
r
);
...
...
bin/varnishd/http1/cache_http1_line.c
View file @
47e82920
...
@@ -221,8 +221,8 @@ V1L_Flush(const struct worker *wrk)
...
@@ -221,8 +221,8 @@ V1L_Flush(const struct worker *wrk)
return
(
v1l
->
werr
);
return
(
v1l
->
werr
);
}
}
unsigned
size_t
V1L_Write
(
const
struct
worker
*
wrk
,
const
void
*
ptr
,
in
t
len
)
V1L_Write
(
const
struct
worker
*
wrk
,
const
void
*
ptr
,
ssize_
t
len
)
{
{
struct
v1l
*
v1l
;
struct
v1l
*
v1l
;
...
...
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