Genny Test v0.26, Mon, 16 Apr 2001 10:24:36 +0000
Greetings,
Changed and fixed:
Foos and Bars now work! Unfortunately they don't stop working.
Anyways, this version of Genny Test will close a connection under its
own power if it does not get the appropriate Control Bars.
This was a lot of work. :-o
Due to broken Bar code in Genny Test before this one, connections are
not compatible between 0.26 and all earlier versions.
A bug due to an initialised config['mywebserveripaddy'] has hopefully
been squashed.
Improper use of struct's pack and unpack has been fixed.
Imports have been rearranged a lot. All the project wide imports should
go into gennylib.py. The objects are imported "on their own", that is,
one needs to use split() instead of string.split(). I think it looks
much better.
I moved the config file parsing sooner in the initialisation, so that
somethings are not assigned if the config file parsing will assign them
anyways.
I moved a do_foo_bars from genny.py to genny_basic.py.
I moved get_random_bytes from genny.py to gennylib.py.
The webserver is no longer started by default. (I can't remember when I
changed that.)
I moved handle_genny_control out of handle_genny_packet (which will be
renamed) because control packets should not be routed. This removed
other bugs.
I added the announce command, which sends an Info Pong Broadcast.
I haved in the code the "words" "Sended" and "Recved". They are like
that so the output columns match without gratuitous spaces.
Packet loss is much higher than I expected and connections are dropped
due to missing foos and bars easily. I thought I had the code set up so
three bars in a row would have to be missed, which I thought was
unlikely enough, but I might not have that right.
Minor bug in file getting code fixed.
I have this bit of code:
rawipaddy = join(map(lambda x:chr(int(x)), split(config['webip'], '.')), '')
Which I think is neat. :-)
Plans and whatnot:
I want to run rsyncd for access to the very latest in changes out of my
source directory.
I still can't decide on a name for "services that can be implemented
over any distributed network" that Genny and Pyng will use. But, I'll
have to write them anyways.
I'm getting more and good ideas for the info services thanks to this
mailing list and other things.
Goodnight,
TomG
Home: Genny: Posts