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

fix: ensure websocket is flushed #6347

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Nov 17, 2023

closes #6345

regression introduced via tungseinite bump in #6321

ref snapview/tokio-tungstenite#284

TLDR: websocket sink no longer always handles poll_flush

@kristian1108
Copy link
Contributor

@mattsse was the websocket generating an error of some kind that wasn't being flushed? Any idea what that error is?

@mattsse
Copy link
Member Author

mattsse commented Nov 17, 2023

no error, it just no longer always flushed the messages to the wire due to some API changes

so it took forever to send new messages, that's why our tests were still passing...

@mattsse mattsse merged commit 141bd91 into foundry-rs:master Nov 17, 2023
19 checks passed
@kristian1108
Copy link
Contributor

no error, it just no longer always flushed the messages to the wire due to some API changes

so it took forever to send new messages, that's why our tests were still passing...

Oh yep, I see. Misread the code. Ok thanks, you guys are awesome. Really appreciate the quick fix.🙏

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.

eth_subscribe newHeads doesn't appear to work?
3 participants