Re: [openssl-users] Strange SSL_read behavior: 1/N-1

2014-12-08 Thread Dave Thompson
> From: openssl-users On Behalf Of Hooman Fazaeli > Sent: Monday, December 08, 2014 09:36 > 1. The SSL_read in my http server app always reads the first byte of >   http request, instead of the whole. To read the rest, I should do >   further SSL_reads: >   I have seen this pattern with firefox

[openssl-users] Strange SSL_read behavior

2014-12-08 Thread Hooman Fazaeli
Hi, I have two (unrelated) questions and would appreciate if anybody provides some answers: 1. The SSL_read in my http server app always reads the first byte of http request, instead of the whole. To read the rest, I should do further SSL_reads: while (SSL_read(...) > 0) co