Re: Problem with HTTP requests

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

 



> Not sure how well formed that is or if lighttpd is being too picky.
> 
> Perhaps the extra blank lines?  Looks like in urlinstall.c:
> 
> 
>     if (ui->protocol == URL_METHOD_HTTP) {
>         char *arch = getProductArch();
>         char *name = getProductName();
>         int q;
> 
>         q = asprintf(&ehdrs, "User-Agent: anaconda/%s\r\n"
>                              "X-Anaconda-Architecture: %s\r\n"
>                              "X-Anaconda-System-Release: %s\r\n",
>                      VERSION, arch, name);
> 
> 
> arch and name must have some trailing newlines.

arch does, at least.  We have code in loader.c to strip trailing
whitespace from everything but the architecture.  I've updated it to
handle arch as well.

- Chris


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux