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
669caa0a
"vscode:/vscode.git/clone" did not exist on "32f8c89201e85f8405ec263d40baeb6daf84c3cb"
Unverified
Commit
669caa0a
authored
May 21, 2025
by
Zilin Zhu
Committed by
GitHub
May 21, 2025
Browse files
[router] support http2 in router (#6487)
parent
4024e1d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sgl-router/src/server.rs
sgl-router/src/server.rs
+1
-1
No files found.
sgl-router/src/server.rs
View file @
669caa0a
...
@@ -264,7 +264,7 @@ pub async fn startup(config: ServerConfig) -> std::io::Result<()> {
...
@@ -264,7 +264,7 @@ pub async fn startup(config: ServerConfig) -> std::io::Result<()> {
// Default handler for unmatched routes.
// Default handler for unmatched routes.
.default_service
(
web
::
route
()
.to
(
sink_handler
))
.default_service
(
web
::
route
()
.to
(
sink_handler
))
})
})
.bind
((
config
.host
,
config
.port
))
?
.bind
_auto_h2c
((
config
.host
,
config
.port
))
?
.run
()
.run
()
.await
.await
}
}
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