- Removed SCStart/EndBuffering as far as possible and fixed an issue with
the capture command in that it not put resluts into the Tcl interpreter. This broke scriptcontext scripts in complicated situations. - Resolved some issues with the TAS calculation and negative scattering sense. - Fixed a bug which did not reset the state to idle after checking reachability in confvirtualmot.c
This commit is contained in:
@@ -155,7 +155,7 @@ static int JVLHandler(Ascon *a)
|
||||
a->state = AsconWriteStart;
|
||||
return 1;
|
||||
}
|
||||
if(time(NULL) > priv->start + 1){
|
||||
if(time(NULL) > priv->start + a->timeout){
|
||||
a->state = AsconReadDone;
|
||||
DynStringConcat(a->rdBuffer,"timeout");
|
||||
return 1;
|
||||
@@ -211,7 +211,7 @@ static int JVLInit(Ascon * a, SConnection * con, int argc, char *argv[])
|
||||
if (argc > 2) {
|
||||
a->timeout = atof(argv[2]);
|
||||
} else {
|
||||
a->timeout = 2.0; /* sec */
|
||||
a->timeout = 1.0; /* sec */
|
||||
}
|
||||
a->private = priv;
|
||||
a->killPrivate = free;
|
||||
|
||||
Reference in New Issue
Block a user