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

pull luke-jr wants to merge 4 commits into bitcoin:master from luke-jr:rpc_keepalive changing 3 files +161 −39
  1. luke-jr commented at 8:59 pm on October 4, 2011: member
    This is a combination of my older multithreaded patch and parts of JoelKatz’s 4diff patch. My original patch was required to get Eligius started and had testing from early 2011 until a few months ago when I merged it with JoelKatz’s code (which fixed SSL JSON-RPC and added keepalive support). Since then, the combination has had plenty of testing on Eligius with the 0.3.24 codebase.
  2. jgarzik commented at 4:52 pm on December 19, 2011: contributor
    not sure about ThreadSafeRPC/ThreadUnsafeRPC markers adding value. However the rest looks good to have.
  3. luke-jr commented at 4:58 pm on December 19, 2011: member
    Without them, there’s no way to gradually migrate things to be threadsafe. When 100% of JSON-RPC commands are known to be threadsafe, then it makes sense to remove it…
  4. muggenhor commented at 5:56 pm on December 24, 2011: contributor
    I’ve updated #457 to be on top of this pull request. It’s code changes are reasonably small so it should be easy to merge into this pull request. (Small enough to understand the consequences of merging, not to perform the actual merge itself as that should be a fast-forward).
  5. Support multi-threaded JSON-RPC 73636bc230
  6. Implement ThreadSafeRPC and ThreadUnsafeRPC system to allow specific parts to be made thread-safe 8349ef0558
  7. Support for HTTP/1.0 and HTTP/1.1, including the proper use of keep-alives 7ee8f04aa1
  8. Allow at least CreateNewBlock (in getwork) to run in parallel with other JSON-RPC requests 1fbd8edfc1
  9. luke-jr commented at 10:54 pm on April 14, 2012: member
    FWIW, since originally submitting this pullreq, I’ve kept it up to date with master, and Eligius is running a 0.6-based bitcoind with it now, as well as having continual testing in my next-test branch (which I run locally).
  10. luke-jr commented at 2:44 pm on April 24, 2012: member
    Mostly superceded by #1101, closing.
  11. luke-jr closed this on Apr 24, 2012

  12. ptschip referenced this in commit 33bfd360ca on May 15, 2017
  13. dexX7 referenced this in commit a57db1cdbc on Mar 22, 2018
  14. sipa referenced this in commit cc05fa919a on Mar 30, 2019
  15. sipa referenced this in commit 1e32413e52 on Mar 30, 2019
  16. sipa referenced this in commit 54245985fb on Mar 31, 2019
  17. sipa referenced this in commit 3fe71bbd95 on Apr 2, 2019
  18. LongShao007 referenced this in commit 3d9a3d2063 on Jul 15, 2019
  19. LongShao007 referenced this in commit 8af66f3427 on Jul 15, 2019
  20. LongShao007 referenced this in commit 807f206f73 on Jul 15, 2019
  21. fjahr referenced this in commit aa15154a48 on Jul 24, 2019
  22. kallewoof referenced this in commit 8fd8a45011 on Oct 4, 2019
  23. kallewoof referenced this in commit c866f52e2a on Oct 4, 2019
  24. KolbyML referenced this in commit bc86927231 on Sep 4, 2020
  25. backpacker69 referenced this in commit ef89673ace on Mar 28, 2021
  26. rajarshimaitra referenced this in commit 1997ed28a7 on Aug 5, 2021
  27. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 21:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me