Is it allowed to share `lhttp_settings_t` between multiple parsers?
vitorb-rzero opened this issue · comments
vitorb-rzero commented
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.
Derrick Lyndon Pallas commented
Yes, there is no state in the callback table. As an example, @pallas/pyllhttp uses a single table for multiple parsers.