Commit f792cd7
authored
header_rewrite: Fix uninitialized bufp/hdr_loc (#12520)
Fix a bug where if RSRC_RESPONSE_STATUS is requested without
RSRC_SERVER_RESPONSE_HEADERS, the bufp and hdr_loc variables would be
uninitialized when passed to TSHttpHdrStatusGet().
This change ensures that TSHttpTxnServerRespGet() is called when
either resource is requested, properly initializing the required
variables.1 parent 2128398 commit f792cd7
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments