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

client: reconnect after an EOF #148

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pjcdawkins
Copy link

@pjcdawkins pjcdawkins commented Feb 7, 2023

Closes #147

Removes the special case for EOF errors, so that a client will reconnect when the stream is closed with an EOF.

Edit: this is almost a duplicate of #145 / #75 - although that keeps the old behavior by default, with an AutoReconnect flag. I am not sure why the default behavior is desirable (the conversation could happen in any of those issues). (So if this PR is preferred, it closes #75 and closes #145)

@pjcdawkins
Copy link
Author

If implementing a client running long-term expected to go through many reconnections, you would probably also want #152

tobias-urdin added a commit to tobias-urdin/sse that referenced this pull request Feb 23, 2023
sergey-cheperis added a commit to sergey-cheperis/sse that referenced this pull request Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant