RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-17 Thread David Schwartz
> > Because that's what HTTP version 1.0 says to do, and you asked > > for HTTP 1.0 > > behavior. If it didn't, how would the client know when it got the entire > > request? > (You mean the entire response, and in particular response body > aka entity.) Right. > Content-length is allowed in 1.0

RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-17 Thread Dave Thompson
> From: owner-openssl-users On Behalf Of David Schwartz > Sent: Monday, 14 January, 2008 16:48 > > In fact, I'm not sure why apache closes connection even if I > set KeepAlive > > to On in httpd.conf. > > Because that's what HTTP version 1.0 says to do, and you asked > for HTTP 1.0 > behavior.

RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread David Schwartz
> Hi > Thanks for reply. > > In fact, I'm not sure why apache closes connection even if I set KeepAlive > to On in httpd.conf. Because that's what HTTP version 1.0 says to do, and you asked for HTTP 1.0 behavior. If it didn't, how would the client know when it got the entire request? > If I send

RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread Dima Rusyy
_ > OpenSSL Project http://www.openssl.org > User Support Mailing Listopenssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > > -- View this message in context: ht

RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread Dima Rusyy
_ > OpenSSL Project http://www.openssl.org > User Support Mailing Listopenssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > > -- View this message in context: ht

RE: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread David Schwartz
> Hello! > > I use openssl to work with apache server via https. > But I see a strange situation when the second and the third calls > to send() > in my test-case read 0 bytes from socket. > Can you provide here any help? Why is that surprising? That's exactly what I would expect to happen. When

Re: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread Dima Rusyy
openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/SSL_read-reads-0-bytes-after-SSL_write-SSL_read-SSL_write-tp14737783p14797266.html Sent from the OpenSSL - User mailing list arch

SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-14 Thread Dima Rusyy
BIO_new_socket(sock, BIO_NOCLOSE); SSL_set_bio(ssl, sbio, sbio); err = SSL_connect(ssl); send(); send(); send(); BIO_free_all(sbio); ERR_print_errors_fp(stderr); return 0; } -- View this message in context: http://www.nabble.com/SSL_read-reads-0-bytes-after-SSL_write-SSL_read-SSL_writ

Re: SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-10 Thread Marek . Marcola
Hello, > I use openssl to work with apache server via https. > But I see a strange situation when second and third calls to send() in my test-case read > 0 bytes from socket. > Can you provide here any help? You should not use names like "send" in your program. send() is already defined system cal

SSL_read reads 0 bytes after SSL_write/SSL_read/SSL_write

2008-01-10 Thread Dima Rusyy
Hello! I use openssl to work with apache server via https. But I see a strange situation when second and third calls to send() in my test-case read 0 bytes from socket. Can you provide here any help? I use 'Fedora Core 7 x86' and openssl-0.9.8e. Thanks! -Dima #include #include #include #inclu