We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The libp2phttp host's ServeMux is supposed to be modifiable by the user
go-libp2p/p2p/http/libp2phttp.go
Lines 126 to 130 in 87a8d4e
Unfortunately, without some hackery this is difficult to do because creating a custom ServeMux will result in that ServeMux getting clobbered by
Lines 182 to 186 in 87a8d4e
Line 261 in 87a8d4e
Seems like this is most easily fixable by adding a guard to check if the *ServeMux is nil before initializing it
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The libp2phttp host's ServeMux is supposed to be modifiable by the user
go-libp2p/p2p/http/libp2phttp.go
Lines 126 to 130 in 87a8d4e
Unfortunately, without some hackery this is difficult to do because creating a custom ServeMux will result in that ServeMux getting clobbered by
go-libp2p/p2p/http/libp2phttp.go
Lines 182 to 186 in 87a8d4e
go-libp2p/p2p/http/libp2phttp.go
Line 261 in 87a8d4e
Seems like this is most easily fixable by adding a guard to check if the *ServeMux is nil before initializing it
The text was updated successfully, but these errors were encountered: