Hello OpenSSL users,

can anybody give me a hint for the following problem?

I have a simple HTTP client sending some data to an HTTP server over SSL.
Depending on the amount of data and the buffer size on each SSL_write() call
there happens that the server does not receive the last sent data. The
client already waits for the response and when it runs into it's 60s timeout
and closes the socket, the server suddently reads the rest of the sent data.
I suppose that the last data isn't really sent, but still buffered and when
the socket is shutdown it is really sent.

It seems to me that there's a flush() missing after the last SSL_write()
call was executed, but I didn't find an appropriate API function. 

What am I doing wrong? Did I miss some facts or functions?

Thanks in advance,

Xaver Fischer

---------------------------------------------------------------------------
  Dipl. Inform. Xaver Fischer
  Software-Entwickler
  Product Development
  
  iXOS Software AG
  Technopark Neukeferloh     
  Bretonischer Ring 12
  D-85630 Grasbrunn/M�nchen
  Phone: (+49)-(89)-4629-1301
  Fax: (+49)-(89)-4629-331301
  World Wide Web: http://www.ixos.com/deutschland
  mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to