Zitat von Micah Cowan <[EMAIL PROTECTED]>: > > And the only other code I found which parses the remote date is in the part > > which handles the logic around the timestamping option. In older versions > this > > was a conditional block starting with if (!got_head) ... , now it starts > with > > if (send_head_first && !got_head) ... Could this mean that this code is > now > > only executed when a HEAD response is examined ?? > > Hm... that change came from the Content-Disposition fixes. I'll investigate. >
OK, but I hope I am still allowed to help a little with the investigation ;-) I made a few more tests and some debugging now and I am convinced now that this "if send_head_first" is definitely the "immediate cause" for the new problem that the remote timestamp is not picked up on GET-only requests. This change is relatively new, it had not been in the next-to-last svn version that I compiled a month ago. Certainly there must have been a reason for this but one sure side effect is that this if-block of code is not executed any longer for the HEAD-less case. Btw, continued downloads (wget -c) are also broken now in this case (probably for the same reason). I meanwhile also believe that the primary issue we are trying to repair (first found remote time-stamp is used for local and not last found) has always been there. Only a year ago when the contentdisposition stuff was included and more HEAD requests were made I really noticed it. I remember that it had always been more difficult to get a newer file downloaded through the proxy-cache when a local file was present, but as these cases were rare, I had never tried to investigate this before ;-) Jochen Roderburg ZAIK/RRZK University of Cologne Robert-Koch-Str. 10 Tel.: +49-221/478-7024 D-50931 Koeln E-Mail: [EMAIL PROTECTED] Germany
