{"record":{"id":"b36cc3784e45363d","repo":"nginx/nginx","slug":"ngx-http-parse-invalid-header","errorCode":"NGX_HTTP_PARSE_INVALID_HEADER","errorMessage":"NGX_HTTP_PARSE_INVALID_HEADER","messagePattern":"NGX_HTTP_PARSE_INVALID_HEADER","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/http/ngx_http_request.h","lineNumber":62,"sourceCode":"#define NGX_HTTP_TRACE                     0x00008000\n#define NGX_HTTP_CONNECT                   0x00010000\n\n#define NGX_HTTP_CONNECTION_CLOSE          1\n#define NGX_HTTP_CONNECTION_KEEP_ALIVE     2\n\n\n#define NGX_NONE                           1\n\n\n#define NGX_HTTP_PARSE_HEADER_DONE         1\n\n#define NGX_HTTP_CLIENT_ERROR              10\n#define NGX_HTTP_PARSE_INVALID_METHOD      10\n#define NGX_HTTP_PARSE_INVALID_REQUEST     11\n#define NGX_HTTP_PARSE_INVALID_VERSION     12\n#define NGX_HTTP_PARSE_INVALID_09_METHOD   13\n\n#define NGX_HTTP_PARSE_INVALID_HEADER      14\n\n\n/* unused                                  1 */\n#define NGX_HTTP_SUBREQUEST_IN_MEMORY      2\n#define NGX_HTTP_SUBREQUEST_WAITED         4\n#define NGX_HTTP_SUBREQUEST_CLONE          8\n#define NGX_HTTP_SUBREQUEST_BACKGROUND     16\n\n#define NGX_HTTP_LOG_UNSAFE                1\n\n\n#define NGX_HTTP_CONTINUE                  100\n#define NGX_HTTP_SWITCHING_PROTOCOLS       101\n#define NGX_HTTP_PROCESSING                102\n#define NGX_HTTP_EARLY_HINTS               103\n\n#define NGX_HTTP_OK                        200\n#define NGX_HTTP_CREATED                   201","sourceCodeStart":44,"sourceCodeEnd":80,"githubUrl":"https://github.com/nginx/nginx/blob/3f6f7824d4e2eb1ac37dec76683d525ac0ff521c/src/http/ngx_http_request.h#L44-L80","documentation":"Error \"NGX_HTTP_PARSE_INVALID_HEADER\" thrown in nginx/nginx.","triggerScenarios":"Thrown at src/http/ngx_http_request.h:62 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f6f7824d4e2eb1ac37dec76683d525ac0ff521c","analyzedAt":"2026-08-22T03:09:46.447Z","schemaVersion":2},"datasetVersion":"2026-08-22T04:17:13.399Z"}