Skip to content

Commit

Permalink
Set success when closing socket
Browse files Browse the repository at this point in the history
Closes #8337
Closes IDFGH-6709
  • Loading branch information
bugadani authored and mahavirj committed Feb 7, 2022
1 parent e6c0d1e commit 2ffa82a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/tcp_transport/transport_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ static int base_close(esp_transport_handle_t t)
} else if (ssl && ssl->sockfd >= 0) {
close(ssl->sockfd);
ssl->sockfd = INVALID_SOCKET;
ret = 0;
}
return ret;
}
Expand Down

0 comments on commit 2ffa82a

Please sign in to comment.