--- AnyEvent/lib/AnyEvent/Handle.pm 2008/05/24 15:20:46 1.26 +++ AnyEvent/lib/AnyEvent/Handle.pm 2008/05/24 15:26:04 1.27 @@ -714,6 +714,7 @@ # but the openssl maintainers basically said: "trust us, it just works". # (unfortunately, we have to hardcode constants because the abysmally misdesigned # and mismaintained ssleay-module doesn't even offer them). + # http://www.mail-archive.com/openssl-dev@openssl.org/msg22420.html Net::SSLeay::CTX_set_mode ($self->{tls}, (eval { Net::SSLeay::MODE_ENABLE_PARTIAL_WRITE () } || 1) | (eval { Net::SSLeay::MODE_ACCEPT_MOVING_WRITE_BUFFER () } || 2));