-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Jochen Roderburg wrote:
> Zitat von Jochen Roderburg <[EMAIL PROTECTED]>:
>
>> So it looks now to me, that the new error (local timestamp not set to remote)
>> only occurs in the cases when no HEAD is used.
>
> This (new) piece of code in http.c (line 2666 ff.) looks very suspicious to
> me,
> especially the "time_came_from_head" bit:
>
> /* Reparse time header, in case it's changed. */
> if (time_came_from_head
> && hstat.remote_time && hstat.remote_time[0])
> {
> newtmr = http_atotm (hstat.remote_time);
> if (newtmr != -1)
> tmr = newtmr;
> }
The intent behind this code is to ensure that we parse the Last-Modified
date again, even if we already parsed Last-Modified, if the last one we
parsed came from the HEAD. This whole block of code that you've pasted
is new, not just the surrounding if clause; if we never sent a HEAD but
only a GET, the Last-Modified _should_ have been parsed in code that
appears before here.
...but, obviously, things aren't working quite as they should, so I need
to look into it more closely.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG4DD77M8hyUobTrERCFf0AJ9MVT0+eTCidH63YTBuHKrXTmA+3QCeIzav
x1bSxRx1I3I1eXnvz8Pv384=
=EfI4
-----END PGP SIGNATURE-----