hmmm.....i get a 14594. Wat dyu mean traced the communication?. Im guessing, its got to do with the way im making the request. Cause i just realised in HTTP 1.1 the connection is *not* explicitly closed by the server if we specify in the header "Connection: Keep-Alive". The server would close the connection only after a certain timeout. But in this case even if i call 'SslClose' after one call to 'SslRead' im getting the same error, although im getting all the data in that one read.
Rakesh. "Philippe Fischer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Rakesh, > sorry no ideas! In my app SslClose returns an error too (4625) but > SslContextDestroy and SslLibDestroy returns 0. Have you traced the > communication to see what happened ? > > > Best regards > > Philippe > > ----- Original Message ----- > From: "Rakesh Pai" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Saturday, November 15, 2003 6:32 AM > Subject: Re: SSL problems again...more than one connection fails > > > > Yes. I tried doing the same thing, in the same order. 'SslClose' fails > after > > 'SslRead'. I get an error called 'sslErrEo' which means "You attempted to > > read or write a socket that isn't open.". > > > > Now, this is obvious because in 'SslClose' the library talks to the server > > and closes the connection. Also, 'SslRead' returned '0' just before this > > call, which means the server which im talking to has closed the > conneciton. > > > > Keeping this in mind i tried using the macro's > > sslError = SslContextSet_DontSendShutdown(sslLibRefUShort, sslContext, > > true); > > sslError = SslContextSet_DontWaitForShutdown(sslLibRefUShort, sslContext, > > true); > > > > and > > > > sslError = SslLibSet_DontSendShutdown(sslLibRefUShort, sslContext, true); > > sslError = SslLibSet_DontWaitForShutdown(sslLibRefUShort, sslContext, > true); > > > > to avoid any communication between with the server during 'SslClose'. But > > after trying this too, 'SslClose' returns the same error(even putting it > in > > a while loop till 'errNone' doesnt work :-) ) due to which sslError = > > SslContextDestroy(sslLibRefUShort, sslContext); fails!. And fails badly at > > that, the OS crashes at this point! > > Any ideas? :-) > > > > Rakesh. > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
