Commit 725e716
committed
varnishd: minor refractory for PROXY send error
There is no need to special case VPX_Send_Proxy with its own error
handling. We can instead reuse vbe_dir_finish. We will now report
BackendClosed tag in VSL as well (from vbe_dir_finish). To accomplish this we
need to initialize the HTC struct a little bit earlier. Finally, we
change the doclose reason to be an error transmission (SC_TX_ERROR).
Signed-off-by: Asad Sajjad Ahmed <asadsa@varnish-software.com>1 parent 268b182 commit 725e716
File tree
2 files changed
+12
-16
lines changed- bin
- varnishd/cache
- varnishtest/tests
2 files changed
+12
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
383 | 387 | | |
384 | 388 | | |
385 | 389 | | |
386 | 390 | | |
387 | | - | |
| 391 | + | |
388 | 392 | | |
389 | 393 | | |
390 | 394 | | |
391 | 395 | | |
392 | 396 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | | - | |
400 | | - | |
| 399 | + | |
401 | 400 | | |
402 | | - | |
403 | 401 | | |
| 402 | + | |
404 | 403 | | |
405 | 404 | | |
406 | 405 | | |
| |||
412 | 411 | | |
413 | 412 | | |
414 | 413 | | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | 414 | | |
420 | 415 | | |
421 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments