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

Multithreaded JSON-RPC with HTTP 1.1 Keep-Alive support #434

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

Conversation

MitchellCash
Copy link
Contributor

No description provided.

Change internal HTTP JSON-RPC server from single-threaded to
thread-per-connection model.  The IP filter list is applied prior to starting
the thread, which then processes the RPC.

A mutex covers the entire RPC operation, because not all RPC operations are
thread-safe.

[minor modifications by jgarzik, to make change upstream-ready]
@IngCr3at1on
Copy link
Contributor

I actually had this done in another branch but I never was really able to properly test it.

@MitchellCash
Copy link
Contributor Author

Have you seen bitcoin/bitcoin@11d7a7d it might shed some light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants