Skip to content

Commit

Permalink
Fix #6493 header cache memory usage
Browse files Browse the repository at this point in the history
Delay creating a header cache until a second request on a parser.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Jul 5, 2021
1 parent c8ed44d commit 4dca32c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1935,6 +1935,7 @@ protected void setState(FieldState state)

public Index<HttpField> getFieldCache()
{
checkHeaderCache();
return _fieldCache;
}

Expand Down

0 comments on commit 4dca32c

Please sign in to comment.