()
| 307 | let warnedLenient = false; |
| 308 | |
| 309 | function isLenient() { |
| 310 | if (insecureHTTPParser && !warnedLenient) { |
| 311 | warnedLenient = true; |
| 312 | process.emitWarning('Using insecure HTTP parsing'); |
| 313 | } |
| 314 | return insecureHTTPParser; |
| 315 | } |
| 316 | |
| 317 | function calculateLenientFlags(httpValidation, insecureHTTPParserOption) { |
| 318 | if (httpValidation === 'strict') { |
no outgoing calls
no test coverage detected
searching dependent graphs…