public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Ali Sherief <ali@notatether•com>
To: "bitcoin-dev@lists•linuxfoundation.org"
	<bitcoin-dev@lists•linuxfoundation.org>
Subject: [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC
Date: Thu, 12 Aug 2021 16:26:23 +0000	[thread overview]
Message-ID: <RR0E6V2u2GMj2AgH5MEy4nAI4PUOdWClgWtoErKa-Gf-mdWIuqLYGVxFQdYhLXE23nXbBnEWGNkmEYts3G3SosNlkgcDDzlr9aTRDnJ8XNk=@notatether.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

I am using Bitcoin Core's HTTP RPC server as a basis for my own application. While browsing the source code of src/httprpc.cpp, I notice that the InterruptHTTPRPC function https://github.com/bitcoin/bitcoin/blob/7fcf53f7b4524572d1d0c9a5fdc388e87eb02416/src/httprpc.cpp#L310-L314 just calls LogPrint() without doing anything else.

Does the HTTP RPC server support interrupting the event loop at this time, or is this method a stub?

- Ali

[-- Attachment #2: Type: text/html, Size: 768 bytes --]

             reply	other threads:[~2021-08-12 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 16:26 Ali Sherief [this message]
2021-08-12 18:09 ` Jeremy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='RR0E6V2u2GMj2AgH5MEy4nAI4PUOdWClgWtoErKa-Gf-mdWIuqLYGVxFQdYhLXE23nXbBnEWGNkmEYts3G3SosNlkgcDDzlr9aTRDnJ8XNk=@notatether.com' \
    --to=ali@notatether$(echo .)com \
    --cc=bitcoin-dev@lists$(echo .)linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox