MCPcopy Create free account
hub / github.com/bitcoin-sv/bitcoin-sv / StopWritingChunks

Method StopWritingChunks

src/httpserver.cpp:559–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void HTTPRequest::StopWritingChunks() {
560 HTTPEvent *ev = new HTTPEvent(eventBase, true, std::bind(evhttp_send_reply_end, req));
561 ev->trigger(nullptr);
562
563 replySent = true;
564 req = 0;
565}
566
567CService HTTPRequest::GetPeer() {
568 evhttp_connection *con = evhttp_request_get_connection(req);

Callers 15

rest_headersFunction · 0.80
rest_mempool_contentsFunction · 0.80
rest_txFunction · 0.80
getblocktemplateFunction · 0.80
getrawtransactionFunction · 0.80
decoderawtransactionFunction · 0.80
sendrawtransactionsFunction · 0.80
queryBlacklistFunction · 0.80
JSONRPCExecBatchFunction · 0.80
getsafemodeinfoFunction · 0.80
getrawmempoolFunction · 0.80

Calls 1

triggerMethod · 0.80

Tested by

no test coverage detected