Skip to content

Commit c2e4850

Browse files
authored
Merge pull request #22 from CoLearn-Dev/accept-http1
- add accept_http1
2 parents 7fcc882 + 9c2a8e6 commit c2e4850

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "colink-server"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55

66
[dependencies]

src/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ async fn run_server(
225225
if cert.is_none() || key.is_none() {
226226
/* No TLS */
227227
Server::builder()
228+
.accept_http1(true)
228229
.add_service(service)
229230
.serve(socket_address)
230231
.await?;

0 commit comments

Comments
 (0)