[openssl-users] BIO_read hangs, how can I know if the server wants to send data?

Hanno Böck hanno at hboeck.de
Tue Apr 26 17:47:14 UTC 2016


Hello,

On Tue, 26 Apr 2016 16:58:48 +0000
Michael Wojcik <Michael.Wojcik at microfocus.com> wrote:

> But, again, this is just a performance and efficiency hit - it won't
> break anything - and if it's on the Apache side, there probably isn't
> much you can do about it. Maybe it's tunable in the Apache
> configuration but it seems like an odd thing to make configurable,
> and even odder to make wrong by default.

First of all: Before you continue speculating, my server is not doing
anything secret, just connect to it :-) (the one behind hboeck.de)

It's definitely chunking, if I manually connect via openssl s_client I
can see.

The reason is (as Rainer pointed out in a private mail) server side
includes used in the error pages. So it seems Apache's server side
includes implementation causes lots of small chunks.

This essentially means my error pages are serverd horribly inefficient.
However I think that doesn't matter too much, as they should only be
served on errors and errors should be hopefully scarce. This does not
happen with static content. Also with PHP content I still get chunked
encoding, but not these many small chunks.

I think we're getting pretty far away from openssl, so I hope nobody is
annoyed by offtopic discussion (and I think we can close it here), just
as people were speculating and it seemed to have generated quite
some interest I wanted to give a final answer what the cause was.

-- 
Hanno Böck
https://hboeck.de/

mail/jabber: hanno at hboeck.de
GPG: BBB51E42
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160426/a699f296/attachment.sig>


More information about the openssl-users mailing list