Skip to content

Commit

Permalink
cargo: upgrade dbs-uhttp to v0.3.0
Browse files Browse the repository at this point in the history
Nydus snapshotter throws this error if HTTP payload exceeds 1k
when calling nydusd's mount API:

```
Post "http://unix/api/v1/mount?mountpoint=/2/fs": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
```

The root cause is that the HTTP server hangs, see openanolis/dbs-uhttp#14

Update dbs-uhttp v0.3.0 to fix.
  • Loading branch information
imeoer committed May 26, 2022
1 parent 1c0598e commit 86ddff8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "Apache-2.0 OR BSD-3-Clause"
[dependencies]
lazy_static = "1.4.0"
log = "0.4.8"
dbs-uhttp = { version = "0.2.0" }
dbs-uhttp = { version = "0.3.0" }
serde = { version = "1.0.110", features = ["rc"] }
serde_derive = "1.0.110"
serde_json = "1.0.53"
Expand Down
2 changes: 1 addition & 1 deletion storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fuse-backend-rs = { version = "0.9.0" }
nydus-utils = { path = "../utils" }
nydus-error = { path = "../error" }

dbs-uhttp = { version = "0.2.0" }
dbs-uhttp = { version = "0.3.0" }

[dev-dependencies]

Expand Down

0 comments on commit 86ddff8

Please sign in to comment.