Repository navigation
Commit 4070709
authored
bugfix: avoid truncating Lua context in filters.
The request context was widened from uint16_t to uint32_t when phase
flags grew beyond 16 bits, but the header and body filters continued
saving it in a uint16_t old_context variable.
Contexts above 0xffff were truncated while running a filter and
restored as zero afterward. Use uint32_t for old_context to preserve
the complete phase value.1 parent 81d7022 commit 4070709
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments