Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
08b8c0c3
Unverified
Commit
08b8c0c3
authored
Sep 23, 2025
by
Chang Su
Committed by
GitHub
Sep 23, 2025
Browse files
[router] fix axum default body limit (#10818)
parent
d42975c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
sgl-router/src/server.rs
sgl-router/src/server.rs
+1
-0
No files found.
sgl-router/src/server.rs
View file @
08b8c0c3
...
...
@@ -477,6 +477,7 @@ pub fn build_app(
.merge
(
public_routes
)
.merge
(
admin_routes
)
.merge
(
worker_routes
)
.layer
(
axum
::
extract
::
DefaultBodyLimit
::
max
(
max_payload_size
))
.layer
(
tower_http
::
limit
::
RequestBodyLimitLayer
::
new
(
max_payload_size
,
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment