MCPcopy Create free account
hub / github.com/nodejs/undici / llhttp_set_lenient_transfer_encoding

Function llhttp_set_lenient_transfer_encoding

deps/llhttp/src/api.c:263–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void llhttp_set_lenient_transfer_encoding(llhttp_t* parser, int enabled) {
264 if (enabled) {
265 parser->lenient_flags |= LENIENT_TRANSFER_ENCODING;
266 } else {
267 parser->lenient_flags &= ~LENIENT_TRANSFER_ENCODING;
268 }
269}
270
271void llhttp_set_lenient_version(llhttp_t* parser, int enabled) {
272 if (enabled) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected