easywsclient
easywsclient copied to clipboard
from_url() missing close(sockfd)
from_url()
Upon a valid socket descriptor and a failure to connect, sockfd was never closed. This was descovered in an embedded Linux system where eventually the max number of file descriptors was reached.