main
py 7 lines 288 Bytes
Raw
1 # SPDX-License-Identifier: Apache-2.0
2 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3
4 # HTTP header limits for h11 parser
5 # These constants help mitigate header abuse attacks
6 H11_MAX_INCOMPLETE_EVENT_SIZE_DEFAULT = 4194304 # 4 MB
7 H11_MAX_HEADER_COUNT_DEFAULT = 256