{"record":{"id":"fdccf3f2c2f51270","repo":"sqlmapproject/sqlmap","slug":"declared-response-body-exceeds-configured-limit","errorCode":null,"errorMessage":"declared response body exceeds configured limit","messagePattern":"declared response body exceeds configured limit","errorType":"exception","errorClass":"H2Error","httpStatus":null,"severity":"error","filePath":"lib/request/http2.py","lineNumber":1123,"sourceCode":"                    raise H2Error(\"too many informational responses\")\n                if state.informational_bytes > MAX_INFORMATIONAL_HEADER_BYTES:\n                    self.usable = False\n                    raise H2Error(\"informational response headers exceed configured limit\")\n                return\n            state.headers = headers\n            state.status = status\n            state.expected_content_length = content_length\n            state.body_forbidden = state.request_method == b\"HEAD\" or status in (204, 205, 304)\n            if status == 204 and content_length is not None:\n                self._connection_error(\"204 response must not carry content-length\")\n            if status == 205 and content_length not in (None, 0):\n                self._connection_error(\"205 response content-length must be zero\")\n            if state.request_method == b\"CONNECT\" and 200 <= status < 300 and content_length is not None:\n                self._connection_error(\"successful CONNECT response must not carry content-length\")\n            if (not state.body_forbidden and content_length is not None and\n                    content_length > MAX_RESPONSE_SIZE):\n                self.usable = False\n                raise H2Error(\"declared response body exceeds configured limit\")\n            if end_stream:\n                self._finish_response(state)\n        else:\n            _validate_response_field_section(headers, trailers=True)\n            if not end_stream:\n                self._connection_error(\"trailing field section did not end the stream\")\n            if _field_section_size(state.headers) + _field_section_size(headers) > MAX_HEADER_LIST_SIZE:\n                self.usable = False\n                raise H2Error(\"aggregate response headers exceed configured limit\")\n            state.trailers.extend(headers)\n            state.headers.extend(headers)\n            self._finish_response(state)\n\n    def _process_header_frame(self, ftype, flags, sid, payload, states, continuation_sid):\n        if continuation_sid is not None:\n            if ftype != CONTINUATION or sid != continuation_sid:\n                self._connection_error(\"frame interleaved inside a CONTINUATION sequence\")\n        elif ftype == CONTINUATION:","sourceCodeStart":1105,"sourceCodeEnd":1141,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/request/http2.py#L1105-L1141","documentation":"Error \"declared response body exceeds configured limit\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/request/http2.py:1123 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":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}