Skip to content
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(websocket): switch the underlying http server logger to use ipfs/go-log #2985

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

aschmahmann
Copy link
Collaborator

Does what it says on the box 😅.

The motivation behind this change is that while implementing ipfs/kubo#10521 I noticed a large number of logs of the form "http: TLS handshake error from ip:port: EOF" and I couldn't control them in the same way I can logs for any other transport.

This error in particular is one I don't expect many folks have run into since my understanding is that the WSS listener within go-libp2p is not highly utilized with many applications dependent on WSS choosing to use WS + do TLS termination in front of the libp2p node instead. However, in the linked issue the idea is to do the TLS termination within go-libp2p and so the issue becomes apparent.

Copy link
Member

@sukunrt sukunrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aschmahmann

@sukunrt sukunrt merged commit 005f9b6 into master Sep 30, 2024
10 of 11 checks passed
@MarcoPolo MarcoPolo mentioned this pull request Oct 17, 2024
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants