-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(gateway): error handling improvements (500, 502, 504) #9660
Conversation
4922af6
to
a597d5e
Compare
a597d5e
to
37fc918
Compare
37fc918
to
0538cce
Compare
e841c4b
to
fda8adf
Compare
@lidel I reused this PR because the previous PR in go-libipfs was already making the tests fail here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Merging to fix CI here and in go-libipfs.
@@ -11,7 +11,7 @@ import ( | |||
cidutil "github.com/ipfs/go-cidutil" | |||
cmds "github.com/ipfs/go-ipfs-cmds" | |||
bitswap "github.com/ipfs/go-libipfs/bitswap" | |||
decision "github.com/ipfs/go-libipfs/bitswap/decision" | |||
"github.com/ipfs/go-libipfs/bitswap/server" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 because of monorepo, we have to touch unrelated bitswap files in a PR about gateway HTTP codes :|
this one is cosmetic, but i feel things like this will get even more nasty as the time goes by, and we change more things in go-libipfs, and we will end up blocking each other.
cc @ipfs/kubo-maintainers for visibility / ideas
See ipfs/boxo#182.
Requires: