Commit 51b37ba
Add Validation Check 2/n: Add Filter Assertion on Writebackfilter
Summary:
## Summary
Add an XCHECK assertion to prevent two WritebackFilters from being registered consecutively in `HTTPTransactionHandlerFilterSeries`. This is a defensive measure to prevent bugs like SEV S570156, where two `CacheRuleResponse` rules used back-to-back in a request handler caused response corruption.
https://fb.workplace.com/groups/proxygendevelopers/permalink/3748394398801257/
Differential Revision: D89745261
fbshipit-source-id: a67c314b0e148cacc99bc32707ba117d4a25cb311 parent f88927b commit 51b37ba
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
114 | 128 | | |
0 commit comments