Commit 0959f355 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

backend: Assume TX_ERROR by default for pipe

parent 48170767
......@@ -382,11 +382,10 @@ vbe_dir_http1pipe(VRT_CTX, VCL_BACKEND d)
ctx->req->res_mode = RES_PIPE;
retval = SC_TX_ERROR;
pfd = vbe_dir_getfd(ctx, ctx->req->wrk, d, bp, 0);
if (pfd == NULL) {
retval = SC_TX_ERROR;
} else {
if (pfd != NULL) {
CHECK_OBJ_NOTNULL(ctx->bo->htc, HTTP_CONN_MAGIC);
i = V1F_SendReq(ctx->req->wrk, ctx->bo,
&v1a.bereq, &v1a.out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment