Just to stir up more trouble, I'd like to belatedly object to the proposal to represent all numeric header fields in hex (i.e. htl, length, etc.). I think it just makes things more complicated because it makes it more difficult to read messages and easily see what's going on (which was the point of a text protocol) if you have to translate hex. Also clients have to parse hex, which they don't have to now (for UniqueId you can just drop leading 0s and compare case-insensitive).
I don't think consistency is really an issue -- HTTP, for example, mixes hex chunk lengths with decimal everywhere else. Or make the UniqueId decimal instead of turning everything else to hex -- the only reason to have it hex, as far as I can tell, is that it looks prettier. theo _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
