Recent commits to Chunga have modified the interning behavior, to prevent a memory leak when servers use pseudorandom names for response headers (see #140 and edicl/chunga#11).
This commit updates the matching behavior to support unknown headers provided as strings. It does not support matching keywords against strings, nor vice versa; it could be a flexibility improvement to support that, for use when interactively discovering the set of desired headers for interning.
Recent commits to Chunga have modified the interning behavior, to prevent a memory leak when servers use pseudorandom names for response headers (see #140 and edicl/chunga#11).
This commit updates the matching behavior to support unknown headers provided as strings. It does not support matching keywords against strings, nor vice versa; it could be a flexibility improvement to support that, for use when interactively discovering the set of desired headers for interning.