--- loncom/LondConnection.pm 2009/10/29 03:23:52 1.47 +++ loncom/LondConnection.pm 2010/07/06 07:48:38 1.48 @@ -1,7 +1,7 @@ # This module defines and implements a class that represents # a connection to a lond daemon. # -# $Id: LondConnection.pm,v 1.47 2009/10/29 03:23:52 raeburn Exp $ +# $Id: LondConnection.pm,v 1.48 2010/07/06 07:48:38 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -184,7 +184,7 @@ sub new { TimeoutCallback => undef, TransitionCallback => undef, Timeoutable => 0, - TimeoutValue => 30, + TimeoutValue => 300, TimeoutRemaining => 0, LocalKeyFile => "", CipherKey => "", @@ -563,6 +563,7 @@ sub Writable { ($errno == POSIX::EAGAIN) || ($errno == POSIX::EINTR) || ($errno == 0)) { + $self->{TimeoutRemaining} = $self->{TimeoutValue}; substr($self->{TransactionRequest}, 0, $nwritten) = ""; # rmv written part if(length $self->{TransactionRequest} == 0) { $self->{InformWritable} = 0;