Hi Rick, Thanks for your reply.
I want to reduce the reading the response time, so that the performance will get improve. I want to read all the bytes at a time. SSL_read API is taking much time to read all the bytes of the response from the server. First time it is going to read 112 bytes, then 1300 bytes,1460 bytes...etc. Instead of this reading the bytes in chunks in while loop, i want to read all the bytes at a time. Could you please suggest me any other API to read all the bytes at a time. Please send me any example code of this scenario where i can read all the bytes at a time. Thanks in Advance, Ghouse... On 5/22/07, Rick Jones <[EMAIL PROTECTED]> wrote:
ghouse mohiddin wrote: > Hi, > > How to improve the performance of the SSL Read call?. Is there any > call to increase the Buffercapacity. > > I am able to read around 1300 bytes at a time. > It is taking 5 to 6 seconds for reading the whole response (Header and > Body)from the server which is very slow. 1300 bytes at a time sounds like one TCP segment at a time. How much data in total are you reading in those 5 to 6 seconds? If there really isn't all that much data, perhaps the sender is having to retransmit some of it. Check the netstat statistics and link-level statistics on both ends and look for drops, errors, retransmissions and the like. rick jones ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]