estream_t fp = NULL;
char *request_buffer = NULL;
+ once_more:
/* Note that we only use the system provided certificates with the
* fetch command. */
err = http_session_new (&session, NULL, NULL, HTTP_FLAG_TRUST_SYS);
http_session_set_log_cb (session, cert_log_cb);
*r_fp = NULL;
- once_more:
err = http_open (&http,
HTTP_REQ_GET,
url,
url = request_buffer;
http_close (http, 0);
http = NULL;
+ http_session_release (session);
goto once_more;
}
err = gpg_error_from_syserror ();