easywsclient icon indicating copy to clipboard operation
easywsclient copied to clipboard

from_url() missing close(sockfd)

Open VisualGPS opened this issue 1 year ago • 0 comments

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.

VisualGPS avatar Jan 31 '24 17:01 VisualGPS