mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
This change ensures we wait for a response before the async http client is closed. Otherwise we can close the client during the connection to the remote endpoint or never even connect to the remote endpoint. Closes elastic/elasticsearch#3640 Original commit: elastic/x-pack-elasticsearch@54900b1b4a