forked from apache/trafficserver
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Destroy MIMEFieldBlockImpl that doesn't have fields in use
Because MIMEFieldBlocks are destroyed only when MIMEHdr is destroyed, the block chain never be short. With this change, a block will be destroyed when all fields in a block are deleted, and the block will be removed from a block chain. (cherry picked from commit 482e30a)
- Loading branch information
Showing
2 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters