public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC
@ 2021-08-12 16:26 Ali Sherief
  2021-08-12 18:09 ` Jeremy
  0 siblings, 1 reply; 2+ messages in thread
From: Ali Sherief @ 2021-08-12 16:26 UTC (permalink / raw)
  To: bitcoin-dev

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC
  2021-08-12 16:26 [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC Ali Sherief
@ 2021-08-12 18:09 ` Jeremy
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy @ 2021-08-12 18:09 UTC (permalink / raw)
  To: Ali Sherief, Bitcoin Protocol Discussion

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

This is probably best to open as an issue in github!
--
@JeremyRubin <https://twitter.com/JeremyRubin>
<https://twitter.com/JeremyRubin>


On Thu, Aug 12, 2021 at 11:03 AM Ali Sherief via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> 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
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-12 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 16:26 [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC Ali Sherief
2021-08-12 18:09 ` Jeremy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox