sqlmapproject/sqlmap · error · H2Error

informational response headers exceed configured limit

Error message

informational response headers exceed configured limit

What it means

Error "informational response headers exceed configured limit" thrown in sqlmapproject/sqlmap.

Source

Thrown at lib/request/http2.py:1108

        end_stream = state.block_end_stream
        state.block = None
        state.block_end_stream = False

        if state.headers is None:
            status, content_length = _validate_response_field_section(headers, trailers=False)
            if 100 <= status < 200:
                if end_stream:
                    self._connection_error("informational response ended the stream")
                if content_length is not None:
                    self._connection_error("informational response carried content-length")
                state.informational_count += 1
                state.informational_bytes += _field_section_size(headers)
                if state.informational_count > MAX_INFORMATIONAL_RESPONSES:
                    self.usable = False
                    raise H2Error("too many informational responses")
                if state.informational_bytes > MAX_INFORMATIONAL_HEADER_BYTES:
                    self.usable = False
                    raise H2Error("informational response headers exceed configured limit")
                return
            state.headers = headers
            state.status = status
            state.expected_content_length = content_length
            state.body_forbidden = state.request_method == b"HEAD" or status in (204, 205, 304)
            if status == 204 and content_length is not None:
                self._connection_error("204 response must not carry content-length")
            if status == 205 and content_length not in (None, 0):
                self._connection_error("205 response content-length must be zero")
            if state.request_method == b"CONNECT" and 200 <= status < 300 and content_length is not None:
                self._connection_error("successful CONNECT response must not carry content-length")
            if (not state.body_forbidden and content_length is not None and
                    content_length > MAX_RESPONSE_SIZE):
                self.usable = False
                raise H2Error("declared response body exceeds configured limit")
            if end_stream:
                self._finish_response(state)
        else:

View on GitHub (pinned to 0a35b20e39)

When it happens

Trigger: Thrown at lib/request/http2.py:1108 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of sqlmapproject/sqlmap@0a35b20e39 (2026-08-26). Data as JSON: /api/errors/8fae85634ce59b78. Report an issue: GitHub.