Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5D4F5C000E for ; Thu, 12 Aug 2021 18:09:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5AAC880CC0 for ; Thu, 12 Aug 2021 18:09:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -4.199 X-Spam-Level: X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JD5wm3eYylXF for ; Thu, 12 Aug 2021 18:09:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4932D80CBD for ; Thu, 12 Aug 2021 18:09:33 +0000 (UTC) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (authenticated bits=0) (User authenticated as jlrubin@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 17CI9UdS025394 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 12 Aug 2021 14:09:31 -0400 Received: by mail-io1-f50.google.com with SMTP id b7so517454iob.4 for ; Thu, 12 Aug 2021 11:09:31 -0700 (PDT) X-Gm-Message-State: AOAM533f4EOELM/A//tN1+cB0DaYn6jNwAcwZjDbyTi+zhuqv5csdzdN s2nU/idWNZGldAl+eGzGnNUPOdCe05RHlbAD1Aw= X-Google-Smtp-Source: ABdhPJzlRTI4aYE7bANYlzKX8mxSUbSIUJxn8opoPqyYNzI768Tgarf+jeFVJ6TWLtIFlvAUBIuyWbdBcWpHWUuqjOg= X-Received: by 2002:a05:6638:2284:: with SMTP id y4mr4457346jas.75.1628791770569; Thu, 12 Aug 2021 11:09:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jeremy Date: Thu, 12 Aug 2021 11:09:19 -0700 X-Gmail-Original-Message-ID: Message-ID: To: Ali Sherief , Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="000000000000e5e0d105c960a222" Subject: Re: [bitcoin-dev] src/httprpc.cpp InterruptHTTPRPC X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2021 18:09:37 -0000 --000000000000e5e0d105c960a222 Content-Type: text/plain; charset="UTF-8" This is probably best to open as an issue in github! -- @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 > --000000000000e5e0d105c960a222 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is probably=C2=A0bes= t to open as an issue in github!


On Thu, Aug 12, 2021 at 11:03 AM Ali Sherief via bitcoin-dev <= bitcoin-dev@lists.= linuxfoundation.org> wrote:
I am usin= g Bitcoin Core's HTTP RPC server as a basis for my own application. Whi= le browsing the source code of src/httprpc.cpp, I notice that the Interrupt= HTTPRPC function=C2=A0https://github.com/bitcoin/bitcoin/blob/7fcf53f7b4524572d1d0c9a5fd= c388e87eb02416/src/httprpc.cpp#L310-L314=C2=A0just calls LogPrint() wit= hout doing anything else.

Does the HTTP RPC se= rver 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/mail= man/listinfo/bitcoin-dev
--000000000000e5e0d105c960a222--