[Grub-dev] Small error in protocol definition
Giorgos Logiotatidis
seadog at sealabs.net
Tue Jan 20 19:01:30 UTC 2009
On Κυρ, 2009-01-18 at 22:13 +0100, Balinny wrote:
> Bartek Jasicki wrote:
> > On 2009-01-18, at 21:06:11
> > Giorgos Logiotatidis <seadog at sealabs.net> wrote:
> >
> >
> > 1) That this looks for server (first address if from workunit, second
> > from .arc file)
> > * http://www.geocities.com/interinoscantabria/
> > http://www.geocities.com/interinoscantabria/ (this is ok)
> > * http://www.iledelareunion.net/cuisine/
> > ttp://www.iledelareunion.net/cuisine/ (bad result)
> >
> Giorgos, you miss the \n at the end of each arc record.
>
>
> > If you still been have problems with .arc files, i made simple program
> > to check .arc files (of course in Mono ;) Simply there is part of C#
> > client which check correctness of .arc file). All above tests (and
> > output) i made with this simple program ;)
> >
> > http://people.swlabs.org/~bartek/tmp/test.tar.gz
> >
> > Usage is simple:
> > mono test.exe path_to_workunit path_to_arc_file
> >
> > I hope this little help in debugging ;)
> >
> > Bartek
> >
> You can also use my ARC explorer. ;-)
> For example, for mpetzas.e9c6d662738b4fc083f4ce644492210e143852d5.arc
> it will say: "Malformed format on
> mpetzas.e9c6d662738b4fc083f4ce644492210e143852d5.arc at offset 4497"
> (which is precisely the first to of http://home.pacbell.net/ricl there
> should be a \n inserted before http).
>
>
Yap I finally found the problem. Seems that i've misplaced a '\n' what's
why I got wrong count which caused the 401s. In conjunction with the
'wb' problem in windows, chris reported, all we got was hell :)
I 've hacked a new, I hopped correct, version which I will upload soon.
Thanks Bartek, Bilinny and Chris for all your help!
Cheers,
-g
More information about the Grub-dev
mailing list