Skip to content

Commit

Permalink
Merge branch 'main' into clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou authored Dec 10, 2024
2 parents 7a407a6 + 8d3de95 commit 38def69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AsyncTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,9 @@ bool AsyncClient::connect(const char* host, uint16_t port){
return false;
}

TCP_MUTEX_LOCK();
err_t err = dns_gethostbyname(host, &addr, (dns_found_callback)&_tcp_dns_found, this);
TCP_MUTEX_UNLOCK();
if(err == ERR_OK) {
#if ESP_IDF_VERSION_MAJOR < 5
#if LWIP_IPV6
Expand Down

0 comments on commit 38def69

Please sign in to comment.