dirmngr: Do not use a blocking connect in Tor mode.
authorWerner Koch <wk@gnupg.org>
Wed, 26 Jul 2017 11:48:27 +0000 (13:48 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 26 Jul 2017 11:48:27 +0000 (13:48 +0200)
commitc5e5748480952e5bcedb16f6ce6ef7e435acb3c7
tree8fb8f9486c5bdedf524a1885cba7940efdcf127b
parentfd68bdb61ec4f8441da6d3023a8da4315df54cec
dirmngr: Do not use a blocking connect in Tor mode.

* dirmngr/http.c (http_raw_connect): Disable the timeout in Tor mode.
(send_request): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/http.c
dirmngr/t-http.c