[Grub-dev] Perl / POE client

jer jeremie at jabber.org
Sat Jan 12 19:29:54 UTC 2008


> Here is a POE client that does HTTP get and DNS requests in parallel
> (without blocking). It is essentially based on the code of the perl  
> client
> that appeared on the list a few days ago.

Very cool :)

I wonder though, is it sending content-length on the final PUT, or is  
HTTP::Request supposed to do that automatically? I was getting the  
error just now in playing with it:

	Work unit completed
	...
	| <HEAD><TITLE>Error</TITLE></HEAD><H1>Error Publishing File</H1>
	| An error occurred publishing this file (Content-Length missing or  
zero ()).

> It rearranges the request's results in the appropriate order after all
> requests from the work unit is completed. Is this step necessary or  
> the
> server doesnt care about the order in the ARC file ? Anyway I plan  
> to keep
> it running for some time and see how it goes.

Yep, it's necessary to return them in the same order (and preserve  
the same host/path in the arc URL line).

> There is a few dependencies to install if you want to use it but  
> really
> not a big deal. I havnt done performance testing already. It's in the
> pipeline though. I also would like to make sure the arc that I send is
> valid, should the server control that ?

I still need to write a validator script, I'll try to do that today :)

> Please make comments if you like to :)

Do you want to check it into the grubng svn, and under what license?

Thanks!

Jer



More information about the Grub-dev mailing list