Commit 8e43076
call_filters: Reset server initial metadata to nullptr on push failure
When server initial metadata fails to be pushed synchronously, the cached metadata handle (push_server_initial_metadata_) was left populated instead of being reset to nullptr. This can cause lingering references to metadata.
This updates PushServerInitialMetadata in CallFilters to reset push_server_initial_metadata_ to nullptr when the call state push operation returns failure.
PiperOrigin-RevId: 9385194451 parent 9dd36e8 commit 8e43076
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1976 | 1976 | | |
1977 | 1977 | | |
1978 | 1978 | | |
1979 | | - | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
1980 | 1984 | | |
1981 | 1985 | | |
1982 | 1986 | | |
| |||
0 commit comments