Skip to content

Commit ad80427

Browse files
committed
fix: Enable HTTP/2 support in hyper server
1 parent 6023c87 commit ad80427

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • libsql-server/src/http/user

libsql-server/src/http/user/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ where
469469

470470
task_manager.spawn_with_shutdown_notify(|shutdown| async move {
471471
let builder =
472-
hyper_util::server::conn::auto::Builder::new(hyper_util::rt::TokioExecutor::new());
472+
hyper_util::server::conn::auto::Builder::new(hyper_util::rt::TokioExecutor::new())
473+
.http2_only(false);
473474

474475
let mut acceptor = acceptor;
475476

0 commit comments

Comments
 (0)