Hi,

The application use the following functions for non-secure communication:
int    BIO_write(BIO *b, const void *data, int len);
int    BIO_read(BIO *b, void *data, int len);
calling them one by one.

The issue is that BIO_write() succeeds and returns the proper value of the data 
written. Then the BIO_read() is called and succeeds with no reasonable data 
read (return value is too small).

However the same works with the:
int  SSL_write(SSL *ssl,const void *buf,int num);
int  SSL_read(SSL *ssl,void *buf,int num);
when 'https' is used.

What could it mean ?

Please help !

Is that correct to use BIO for the 'http' protocol at all ?


Thanks a lot !


Sincerely,
Andrejs Igumenovs

Reply via email to