Strange SSL_read behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
            copy read data to request buffer;

    I have seen this pattern with firefox, IE and opera as client.

    I know that openssl has received the whole request record because I
    do not write any data to the read bio of the SSL object between
    SSL_read calls in the loop.

    So, the question is, why SSL_read does not return all the data in
    the first call?

2. Is there any patch around to add support of custom TLS extensions to 1.0.1j?


-- 
Best regards
Hooman Fazaeli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.opensslfoundation.net/pipermail/openssl-users/attachments/20141208/50e6455e/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux