-
Notifications
You must be signed in to change notification settings - Fork 2k
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Re-enable HTTP persistent connections (keep-alive) for RPC #1856
Comments
See also #1593, which may be a blocker for this. |
Because #1593 is quite invasive, we want to ensure its necessary, so first step is to see if any users would benefit from having long-poll re-enabled, and also seeing if there are alternative solutions for those users and seeing how they stack up with a libevent refactor. |
libevent-based http server Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#5677 - bitcoin/bitcoin#6695 - bitcoin/bitcoin#6899 - bitcoin/bitcoin#7016 - bitcoin/bitcoin#7964 - bitcoin/bitcoin#8722 - bitcoin/bitcoin#8730 - bitcoin/bitcoin#9073 - bitcoin/bitcoin#9265 - bitcoin/bitcoin#9387 - bitcoin/bitcoin#9471 - bitcoin/bitcoin#9647 - bitcoin/bitcoin#9903 Closes #1593 and #1856.
@str4d Merging libevent will close this ticket, right? In that PR there is no mention of rpckeepalive. |
@bitcartel it will close it in the same fashion as upstream did: the libevent PR reverts our commit that disabled |
libevent-based http server Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#5677 - bitcoin/bitcoin#6695 - bitcoin/bitcoin#6899 - bitcoin/bitcoin#7016 - bitcoin/bitcoin#7964 - bitcoin/bitcoin#8722 - bitcoin/bitcoin#8730 - bitcoin/bitcoin#9073 - bitcoin/bitcoin#9265 - bitcoin/bitcoin#9387 - bitcoin/bitcoin#9471 - bitcoin/bitcoin#9647 - bitcoin/bitcoin#9903 - bitcoin/bitcoin#6640 - bitcoin/bitcoin#8139 - bitcoin/bitcoin#8839 Closes #1593 and #1856.
@daira yes inasmuch as it was fixed upstream: bitcoin/bitcoin#5677 mentions that it avoids bitcoin/bitcoin#5655 (which added |
More specifically, we are relying on upstream's assertion that migrating to libevent solved the problem that they added |
The rpckeepalive option and accepting HTTP keep-alive connection were disabled by PR #1847 to resolve ticket #1680.
When the RPC networking layer is ready to support persistent connections, we should re-enable the option.
The text was updated successfully, but these errors were encountered: