Skip to content

Commit

Permalink
hyper and bearssl fixes:
Browse files Browse the repository at this point in the history
- add missing hypor method param after proxy-http change
- let bearssl handle repreated close calls properly
  • Loading branch information
icing committed Nov 8, 2022
1 parent 88da3d7 commit d62a42b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/http_proxy.c
Expand Up @@ -885,6 +885,7 @@ static CURLcode start_CONNECT(struct Curl_easy *data,
}

static CURLcode send_CONNECT(struct Curl_easy *data,
struct connectdata *conn,
struct tunnel_state *ts,
bool *done)
{
Expand All @@ -894,6 +895,7 @@ static CURLcode send_CONNECT(struct Curl_easy *data,
CURLcode result = CURLE_OK;

(void)ts;
(void)conn;
do {
task = hyper_executor_poll(h->exec);
if(task) {
Expand Down
1 change: 1 addition & 0 deletions lib/vtls/bearssl.c
Expand Up @@ -1155,6 +1155,7 @@ static void bearssl_close(struct Curl_easy *data,
DEBUGASSERT(backend);

if(backend->active) {
backend->active = FALSE;
br_ssl_engine_close(&backend->ctx.eng);
(void)bearssl_run_until(data, conn, sockindex, BR_SSL_CLOSED);
}
Expand Down

0 comments on commit d62a42b

Please sign in to comment.