2007-10-07 Complication
* Fix an issue in EepGet whereby sending of "etag" and "lastModified" headers broke retrying.
This commit is contained in:
@ -573,7 +573,6 @@ public class EepGet {
|
|||||||
|
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("rc: " + responseCode + " for " + _actualURL);
|
_log.debug("rc: " + responseCode + " for " + _actualURL);
|
||||||
|
|
||||||
boolean rcOk = false;
|
boolean rcOk = false;
|
||||||
switch (responseCode) {
|
switch (responseCode) {
|
||||||
case 200: // full
|
case 200: // full
|
||||||
@ -852,12 +851,12 @@ public class EepGet {
|
|||||||
buf.append("Cache-control: no-cache\r\n");
|
buf.append("Cache-control: no-cache\r\n");
|
||||||
buf.append("Pragma: no-cache\r\n");
|
buf.append("Pragma: no-cache\r\n");
|
||||||
}
|
}
|
||||||
if (_etag != null) {
|
if ((_etag != null) && (_alreadyTransferred <= 0)) {
|
||||||
buf.append("If-None-Match: ");
|
buf.append("If-None-Match: ");
|
||||||
buf.append(_etag);
|
buf.append(_etag);
|
||||||
buf.append("\r\n");
|
buf.append("\r\n");
|
||||||
}
|
}
|
||||||
if (_lastModified != null) {
|
if ((_lastModified != null) && (_alreadyTransferred <= 0)) {
|
||||||
buf.append("If-Modified-Since: ");
|
buf.append("If-Modified-Since: ");
|
||||||
buf.append(_lastModified);
|
buf.append(_lastModified);
|
||||||
buf.append("\r\n");
|
buf.append("\r\n");
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
$Id: history.txt,v 1.590 2007-09-22 21:44:36 zzz Exp $
|
$Id: history.txt,v 1.591 2007-09-26 22:52:34 zzz Exp $
|
||||||
|
|
||||||
|
2007-10-07 Complication
|
||||||
|
* Fix an issue in EepGet whereby sending of "etag" and "lastModified" headers
|
||||||
|
broke retrying.
|
||||||
|
|
||||||
2007-09-27 zzz
|
2007-09-27 zzz
|
||||||
* Implement pushback of NTCP transport backlog to the outbound tunnel selection code
|
* Implement pushback of NTCP transport backlog to the outbound tunnel selection code
|
||||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.526 $ $Date: 2007-09-22 21:44:34 $";
|
public final static String ID = "$Revision: 1.527 $ $Date: 2007-09-26 22:52:32 $";
|
||||||
public final static String VERSION = "0.6.1.29";
|
public final static String VERSION = "0.6.1.29";
|
||||||
public final static long BUILD = 8;
|
public final static long BUILD = 9;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
Reference in New Issue
Block a user