dear adviser
on http://www.student.uni-oldenburg.de/rainer.valentin/test/ I add some little c source pieces . Is there anything wrong with initSSL or tcp_connect(w32) functions ? I guess SSL_read is in blocking mode and therefor SSL_pending(mySSL->ssl) and getting "SSL_ERROR_WANT_READ" doesn`t work > not send the second request until you have received the entire first > reply. yes you are right but the indication for "nothing else to read" is invalid. SSL_pending(...) is zero after the first portion therefor nothing else to read and then loop stops And when I try something like that r = SSL_read(......) if ( r > 0 ) { save data , stay in loop } else stop loop this cause r = SSL_read(......) to block for ever. I also can parse response and find "Content-Length: 7967" I would get 7195 bytes and try one more r = SSL_read(......) and it block for ever. I tried it. I do not get "SSL_ERROR_WANT_READ" error that is the indication for "there is more data read once more". I only use the HTTP header string GET /global/v3/BFGlobalService HTTP/1.1 Host: api.betfair.com:443 Content-Type: text/xml; charset=UTF-8 Content-Length: 609 SOAPAction: "getActiveEventTypes" empty line 609 bytes Perhabs I have to add something like "Allow SEND ALL DATA AT ONCE" thank you Peter -- View this message in context: http://www.nabble.com/Last-portion-SSL_read-only-after-a-SSL_write-.--Please-Help.-tp18717834p18737753.html Sent from the OpenSSL - Dev mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
