I once saw something similar when using the Win32 pthreads library for the multithreaded app.  pthread_self called TlsGetValue (I think) which resets the error value.  pthread_self was being called when the error stack logged the error.
 
-----Original Message-----
From: Thomas Jongepier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 12 July 2001 11:02 PM
To: [EMAIL PROTECTED]
Subject: win32 + SSL_read + SSL_ERROR_SYSCALL

Hello,
 
Sometimes I get -1 back from SSL_read(....). Via SSL_get_error(..) the error seems to be SSL_ERROR_SYSCALL. When I call ERR_get_error( ) it returns 0.
The SSL code is located in a DLL (Multithreaded DLL), but it is loaded in another (MFC) DLL (statically linked). Does anyone have experience with these circumstances or does anyone no where I should look?
 
tia
 
Thomas Jongepier
 

Reply via email to