HomePhabricator

Support multi-threaded JSON-RPC
e9205293bd8dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Support multi-threaded JSON-RPC

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]

Details

Provenance
David Joel Schwartz <davidjoelschwartz@gmail.com>Authored on Apr 15 2012, 00:35
Jeff Garzik <jgarzik@redhat.com>Committed on May 9 2012, 00:11
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING203f9e6c0010: Merge branch 'tmp-ipv6' into merge-ipv6
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rSTAGINGe9205293bd8d: Support multi-threaded JSON-RPC (authored by David Joel Schwartz <davidjoelschwartz@gmail.com>).May 9 2012, 00:11