Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ reset_conn
Method
reset_conn
test/functional/interface_http.py:36–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
34
self.reset_conn()
35
36
def
reset_conn(self):
37
self.conn = http.client.HTTPConnection(self.url.hostname, self.url.port)
38
self.conn.connect()
39
40
def
sock_closed(self):
41
if
self.conn.sock is None:
Callers
2
__init__
Method · 0.95
check_idle_timeout
Method · 0.95
Calls
1
connect
Method · 0.45
Tested by
no test coverage detected