Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
03b60ae2
Commit
03b60ae2
authored
Jul 31, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for fetch failure, close all vdps, not just pesi
parent
2b834548
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vdp_pesi.c
src/vdp_pesi.c
+3
-2
No files found.
src/vdp_pesi.c
View file @
03b60ae2
...
@@ -2559,7 +2559,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
...
@@ -2559,7 +2559,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
if
(
req
->
objcore
->
flags
&
OC_F_FAILED
)
{
if
(
req
->
objcore
->
flags
&
OC_F_FAILED
)
{
/* No way of signalling errors in the middle of
/* No way of signalling errors in the middle of
the ESI body. Omit this ESI fragment. */
the ESI body. Omit this ESI fragment. */
goto
cl
ean
;
// XXX
goto
cl
ose
;
// XXX
}
}
}
}
...
@@ -2570,6 +2570,8 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
...
@@ -2570,6 +2570,8 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
AZ
(
VDP_Push
(
req
,
&
vped_to_parent
,
parent
->
req
));
AZ
(
VDP_Push
(
req
,
&
vped_to_parent
,
parent
->
req
));
(
void
)
VDP_DeliverObj
(
req
);
(
void
)
VDP_DeliverObj
(
req
);
/* pesi_buf does not pesi_destroy() on fini */
req
->
transport_priv
=
NULL
;
req
->
transport_priv
=
NULL
;
pesi_destroy
(
&
pesi
);
pesi_destroy
(
&
pesi
);
goto
noesi
;
// XXX
goto
noesi
;
// XXX
...
@@ -2678,7 +2680,6 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
...
@@ -2678,7 +2680,6 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
*
*
* XXX cleanup
* XXX cleanup
*/
*/
clean:
vped_close_vdp
(
req
,
0
,
&
VDP_pesi
);
vped_close_vdp
(
req
,
0
,
&
VDP_pesi
);
noesi:
noesi:
vped_close_vdp
(
req
,
0
,
&
VDP_pesi_buf
);
vped_close_vdp
(
req
,
0
,
&
VDP_pesi_buf
);
...
...
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