sqlmapproject/sqlmap · error · H2CompressionError

decoded header list exceeds configured limit

Error message

decoded header list exceeds configured limit

What it means

Error "decoded header list exceeds configured limit" thrown in sqlmapproject/sqlmap.

Source

Thrown at lib/request/http2.py:515

                if new_size > self.max_allowed_size:
                    raise H2CompressionError("dynamic table size exceeds advertised maximum")
                self.max_size = new_size
                self._evict()
                continue
            else:
                saw_header = True
                index, pos = decode_integer(data, pos, 4)
                if index:
                    name = self._get(index)[0]
                else:
                    name, pos = decode_string(data, pos)
                value, pos = decode_string(data, pos)
                headers.append((name, value))

            name, value = headers[-1]
            list_size += self._entry_size(name, value)
            if list_size > self.max_header_list_size:
                raise H2CompressionError("decoded header list exceeds configured limit")
        return headers


class Encoder(object):
    """A stateless, literal-without-indexing HPACK encoder."""

    def encode(self, headers):
        out = bytearray()
        for name, value in headers:
            name = _as_bytes(name)
            value = _as_bytes(value)
            out += encode_integer(0, 4, 0x00)
            out += encode_string(name)
            out += encode_string(value)
        return bytes(out)


def _recv_exact(sock, count):

View on GitHub (pinned to 0a35b20e39)

When it happens

Trigger: Thrown at lib/request/http2.py:515 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/517606f609ecabe5. Report an issue: GitHub.