// Can this really even happen? Shouldn't this code be in the catch block // above?
Probably not. That "if" is a relic from an earlier RequestFailed (when it was subclassed with a different message for InsertRequest and DataRequest). On Mon, 24 Apr 2000, Bill Trost wrote: > It's been added. > > In order to test the code to my satisfaction, I added a new .freenetrc > option, "doHandshake", which defaults to true. Set it to false and the > code does not attempt to handshake. Combine this with entries like > tcp/somehost:9 (the "discard" port) in nodes.config and you can test the > request timeout code. > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
