NASA-AMMOS / AIT-DSN

MIT License
19 stars 10 forks source link

Issue 163 - Create fresh socket for each hostname connection attempt #164

Closed nttoole closed 2 years ago

nttoole commented 2 years ago

This PR fixes how sockets are managed when attempting to connect to SLE services. Instead of instantiating a single socket for potentially all hostnames, we now create a new socket for each hostname, and are sure to close it as part of error handling.

Testing documentation can be found in the original issue #163

Fixes #163