Hi, I'm writing an application that connects via SSL to a proxy server. Once connected to the proxy server, it sends a CONNECT request to the proxy to establish a tunnel to another server. I'm following these steps:
1.Connect to the proxy, and then call SslOpen. This doesn't return any error, it works fine. 2.Send the CONNECT request to the proxy by calling SslWrite. This works fine, the method doesn't return any error and the SslContextGet_Error macro doesn't return any error also. 3. Read the response from the proxy by calling SslRead. This call doesn't return any error (it returns the number of bytes actually read and the error is 0), but the SslContextGet_Error macro returns error sslErrEof (14594). I set the error to 0 like described in the documentation with SslContextSet_Error macro and continue. 4. Send something to the server (via proxy). The SslWrite call works fine, no error returned and the context error is also 0. 5. Read something from the server (via proxy). The SslRead call returns -1 and the error is netErrInternal (4625). Has anyone encountered a similar problem? What can be done in this case? Thanks, Bogdan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
