Client: OpenSSL 0.9.6k, Windows98
WebServer: IIS 6.0 (Don't know the OS specifics)
My client app is getting this from SSL_get_error() after an SSL_read() returning 0.
errno = ENOENT, which in the Win32 universe means "no such file or directory".
This occurs on the 3rd successive SSL_read() in the act of downloading a web page. As it happens, I know the expected content being downloaded so I know that (in this case at least) all of the data has already been downloaded. All the other SSL_read() calls return fine, no errors, and I would expect the error on this call to be either SSL_ERROR_NONE or SSL_ERROR_ZERO_RETURN; that's what happens on all the other URLs we download. I always get this same error on this particular URL, though.
Any suggestions on the correct client behavior in this condition would be greatly appreciated.
-- kov