Mailinglist Archive: zypp-devel (149 mails)
| < Previous | Next > |
Re: [zypp-devel] libzypp client special behaviour for Factory?
- From: Michael Matz <matz@xxxxxxx>
- Date: Tue, 2 Sep 2008 15:18:50 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0809021512500.6093@xxxxxxxxxxxxx>
Hi,
On Tue, 2 Sep 2008, Peter Poeml wrote:
How crappy is that? Bah.
bug #326208, indeed. Still open. And google also indicates that this
still is the case with newest libcurl. Blaeh.
Reading the libcurl sources it seems to add the no-cache header under
these conditions:
(!checkheaders(data, "Pragma:") &&
(conn->bits.httpproxy && !conn->bits.tunnel_proxy) )?
"Pragma: no-cache\r\n":NULL;
I.e. only if there's a proxy, but not tunneling through it. Still seems
fragile.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Tue, 2 Sep 2008, Peter Poeml wrote:
Is that (still) so? Or is that outdated information?
When I grep for CURLOPT_HTTPHEADER I see no matches in libzypp, and I
think that's the only way to actually set a "Pragma: no-cache" header,
right? (at least I can't find any CURLOPT_* that would directly set
that header).
I seem to remember that libcurl adds the header by default on itself.
How crappy is that? Bah.
And I think there was actually a bug about it.
bug #326208, indeed. Still open. And google also indicates that this
still is the case with newest libcurl. Blaeh.
Reading the libcurl sources it seems to add the no-cache header under
these conditions:
(!checkheaders(data, "Pragma:") &&
(conn->bits.httpproxy && !conn->bits.tunnel_proxy) )?
"Pragma: no-cache\r\n":NULL;
I.e. only if there's a proxy, but not tunneling through it. Still seems
fragile.
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |