summaryrefslogtreecommitdiff
path: root/92/8a5ad837c851ea2b2d7db163d6dd75f508543f
blob: c38abf668bd449745ea4923863f9fc3749db9d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
Return-Path: <jlrubin@mit.edu>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 5D4F5C000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>; Thu, 12 Aug 2021 14:09:31 -0400
Received: by mail-io1-f50.google.com with SMTP id b7so517454iob.4
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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: <RR0E6V2u2GMj2AgH5MEy4nAI4PUOdWClgWtoErKa-Gf-mdWIuqLYGVxFQdYhLXE23nXbBnEWGNkmEYts3G3SosNlkgcDDzlr9aTRDnJ8XNk=@notatether.com>
In-Reply-To: <RR0E6V2u2GMj2AgH5MEy4nAI4PUOdWClgWtoErKa-Gf-mdWIuqLYGVxFQdYhLXE23nXbBnEWGNkmEYts3G3SosNlkgcDDzlr9aTRDnJ8XNk=@notatether.com>
From: Jeremy <jlrubin@mit.edu>
Date: Thu, 12 Aug 2021 11:09:19 -0700
X-Gmail-Original-Message-ID: <CAD5xwhhM8uJBnfHEUoorGza_osRaQ1uHm0e0=67aW44pvY71jw@mail.gmail.com>
Message-ID: <CAD5xwhhM8uJBnfHEUoorGza_osRaQ1uHm0e0=67aW44pvY71jw@mail.gmail.com>
To: Ali Sherief <ali@notatether.com>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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 <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
>

--000000000000e5e0d105c960a222
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif;font-size:small;color:#000000">This is probably=C2=A0bes=
t to open as an issue in github!</div><div><div dir=3D"ltr" class=3D"gmail_=
signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">--<br><a hre=
f=3D"https://twitter.com/JeremyRubin" target=3D"_blank">@JeremyRubin</a><a =
href=3D"https://twitter.com/JeremyRubin" target=3D"_blank"></a></div></div>=
</div><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Thu, Aug 12, 2021 at 11:03 AM Ali Sherief via bitcoin-dev &lt;=
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-styl=
e:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>I am usin=
g Bitcoin Core&#39;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=A0<a href=3D"https://github.com/bitcoin/bitcoin/blob/7f=
cf53f7b4524572d1d0c9a5fdc388e87eb02416/src/httprpc.cpp#L310-L314" target=3D=
"_blank">https://github.com/bitcoin/bitcoin/blob/7fcf53f7b4524572d1d0c9a5fd=
c388e87eb02416/src/httprpc.cpp#L310-L314</a>=C2=A0just calls LogPrint() wit=
hout doing anything else.<br></div><div><br></div><div>Does the HTTP RPC se=
rver support interrupting the event loop at this time, or is this method a =
stub?<br></div><div><div></div></div><div><br></div><div>- Ali</div>_______=
________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div>

--000000000000e5e0d105c960a222--