Commit 7c83a7d
Reset write lock state to init after closing write (#12215)
This commit mitigates the crash reported in #11700. That crash happens when
a redirect is issued on a state machine that has already cached a response
and closed the cache write VC.
After this patch, the state machine will likely open a new cache VC to cache
the response from the origin it was redirected to. We will refer to the
original origin as A, and the origin the state machine was redirected to after
the response from A as B.
We have not yet reproduced this locally - the exact sequence of events that
gets the state machine into this state are still unknown.
(cherry picked from commit 5c0aaf2)1 parent 6de6ebb commit 7c83a7d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6460 | 6460 | | |
6461 | 6461 | | |
6462 | 6462 | | |
| 6463 | + | |
6463 | 6464 | | |
6464 | 6465 | | |
6465 | 6466 | | |
| |||
6518 | 6519 | | |
6519 | 6520 | | |
6520 | 6521 | | |
| 6522 | + | |
6521 | 6523 | | |
6522 | 6524 | | |
6523 | 6525 | | |
| |||
0 commit comments