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
4c4ef960
Commit
4c4ef960
authored
Aug 22, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly clean up if we bail out of cnt_error because we cannot allocate
an object. Fixes #985
parent
460b1d14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_center.c
bin/varnishd/cache_center.c
+4
-0
No files found.
bin/varnishd/cache_center.c
View file @
4c4ef960
...
...
@@ -424,6 +424,10 @@ cnt_error(struct sess *sp)
1024
,
&
w
->
exp
,
(
uint16_t
)
params
->
http_max_hdr
);
if
(
sp
->
obj
==
NULL
)
{
sp
->
doclose
=
"Out of objects"
;
sp
->
director
=
NULL
;
sp
->
wrk
->
h_content_length
=
NULL
;
http_Setup
(
sp
->
wrk
->
beresp
,
NULL
);
http_Setup
(
sp
->
wrk
->
bereq
,
NULL
);
sp
->
step
=
STP_DONE
;
return
(
0
);
}
...
...
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