Skip to content

Commit

Permalink
Use DEFAULT_MAX_INCOMPLETE_EVENT_SIZE as default to `h11_max_incomp…
Browse files Browse the repository at this point in the history
…lete_event_size` on the CLI (encode#1534)
  • Loading branch information
Kludex committed Oct 29, 2022
1 parent 41ca8f9 commit ddb7275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/main.py
Expand Up @@ -346,7 +346,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
"--h11-max-incomplete-event-size",
"h11_max_incomplete_event_size",
type=int,
default=None,
default=DEFAULT_MAX_INCOMPLETE_EVENT_SIZE,
help="For h11, the maximum number of bytes to buffer of an incomplete event.",
)
@click.option(
Expand Down

0 comments on commit ddb7275

Please sign in to comment.