llhttp
llhttp copied to clipboard
Is it allowed to share `lhttp_settings_t` between multiple parsers?
Pretty much the title question. I'm working on a memory constrained environment, so saving some bytes by reusing this struct would be great. All parsers would have the same settings, of course.
Yes, there is no state in the callback table. As an example, @pallas/pyllhttp uses a single table for multiple parsers.