[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proxy support for wget retriever



Tollef Fog Heen wrote:
> do {
> debconf->command(debconf, "fset", DEBCONF_BASE "http/hostname", "seen", "false");
> debconf->command(debconf, "INPUT", "critical", DEBCONF_BASE "http/hostname", NULL);
> debconf->command(debconf, "GET", DEBCONF_BASE "http/hostname", NULL);
> } while (debconf->value == NULL || strcmp(debconf->value,"") == 0);
> 
> This goes into an infinite loop, because debconf operates
> asynchronously.

Eh? No it does not. Have you looked at the protocol?

(Show me the debug traces from this loop you are seeing.)

> Is there some way to force debconf to get an answer before returning?
> 
> | | Move over to choose-mirror; you can probably add a loop in the right
> | | place there to ensure that there are always values available.
> | 
> | I am checking it out now, and adding ftp support as well.  :)
> 
> Are we going to support non-us as well?

I don't see the point unless someone codes a really rocking installer
module that must go in non-us.

-- 
see shy jo



Reply to: