--- loncom/LondConnection.pm 2007/04/03 01:08:05 1.45 +++ loncom/LondConnection.pm 2009/10/29 03:23:52 1.47 @@ -1,7 +1,7 @@ # This module defines and implements a class that represents # a connection to a lond daemon. # -# $Id: LondConnection.pm,v 1.45 2007/04/03 01:08:05 albertel Exp $ +# $Id: LondConnection.pm,v 1.47 2009/10/29 03:23:52 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -184,7 +184,7 @@ sub new { TimeoutCallback => undef, TransitionCallback => undef, Timeoutable => 0, - TimeoutValue => 3, + TimeoutValue => 30, TimeoutRemaining => 0, LocalKeyFile => "", CipherKey => "", @@ -241,11 +241,11 @@ sub new { if((defined $ca) && (defined $cert) && (defined $sslkeyfile)) { $self->{AuthenticationMode} = "ssl"; - $self->{TransactionRequest} = "init:ssl\n"; + $self->{TransactionRequest} = "init:ssl:$perlvar{'lonVersion'}\n"; } else { if($InsecureOk) { # Allowed to do insecure: $self->{AuthenticationMode} = "insecure"; - $self->{TransactionRequest} = "init\n"; + $self->{TransactionRequest} = "init::$perlvar{'lonVersion'}\n"; } else { # Not allowed to do insecure... $socket->close;