src: do not store compression methods on Brotli classes · nodejs/node@3d1d152 · GitHub
Skip to content

Commit 3d1d152

Browse files
addaleaxaduh95
authored andcommitted
src: do not store compression methods on Brotli classes
This addresses a long-standing TODO comment, referencing the fact that these values are either known at compile time or can be inferred from the `this` value in the context class. PR-URL: #61717 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent b2915cd commit 3d1d152

1 file changed

Lines changed: 27 additions & 43 deletions

File tree

src/node_zlib.cc

Lines changed: 27 additions & 43 deletions

0 commit comments

Comments
 (0)