Re: rfc/patch: user-agent distro-description for debuginfod http traffic

2020-01-07 Thread Frank Ch. Eigler
Hi - > Should this add quoting to make the field boundaries unforgeable? I'm thinking of adding a second output stream later on, for machine consumption, with that info carefully quoted. - FChE

Re: rfc/patch: user-agent distro-description for debuginfod http traffic

2020-01-07 Thread Florian Weimer
* Frank Ch. Eigler: > - return string(hostname) + string(":") + string(servname); > + // extract headers relevant to administration > + const char* user_agent = MHD_lookup_connection_value (conn, > MHD_HEADER_KIND, "User-Agent") ?: ""; > + const char* x_forwarded_for = MHD_lookup_connection_v