Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
ee4a4eec
Commit
ee4a4eec
authored
Jan 22, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We should be able to rely on POSIX' SSIZE_MAX here.
parent
f84f6a80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
cache_fetch.c
bin/varnishd/cache_fetch.c
+1
-7
No files found.
bin/varnishd/cache_fetch.c
View file @
ee4a4eec
...
@@ -313,13 +313,7 @@ fetch_eof(struct sess *sp, struct http_conn *htc)
...
@@ -313,13 +313,7 @@ fetch_eof(struct sess *sp, struct http_conn *htc)
assert
(
sp
->
wrk
->
body_status
==
BS_EOF
);
assert
(
sp
->
wrk
->
body_status
==
BS_EOF
);
sp
->
wrk
->
vfp
->
begin
(
sp
,
0
);
sp
->
wrk
->
vfp
->
begin
(
sp
,
0
);
i
=
sp
->
wrk
->
vfp
->
bytes
(
sp
,
htc
,
i
=
sp
->
wrk
->
vfp
->
bytes
(
sp
,
htc
,
SSIZE_MAX
);
#ifdef SSIZE_T_MAX
SSIZE_T_MAX
#else
sizeof
(
size_t
)
==
4
?
((
size_t
)
1
<<
30
)
:
((
size_t
)
1
<<
62
)
#endif
);
if
(
i
<
0
)
{
if
(
i
<
0
)
{
WSP
(
sp
,
SLT_FetchError
,
"eof read_error: %d (%s)"
,
WSP
(
sp
,
SLT_FetchError
,
"eof read_error: %d (%s)"
,
errno
,
strerror
(
errno
));
errno
,
strerror
(
errno
));
...
...
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