[axel-commits] r66 - /trunk/http.c

phihag-guest at users.alioth.debian.org phihag-guest at users.alioth.debian.org
Mon Dec 1 16:42:06 UTC 2008


Author: phihag-guest
Date: Mon Dec  1 16:42:05 2008
New Revision: 66

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=66
Log:
Evade download accelerator blocking and save bandwidth


Modified:
    trunk/http.c

Modified: trunk/http.c
URL: http://svn.debian.org/wsvn/axel/trunk/http.c?rev=66&op=diff
==============================================================================
--- trunk/http.c (original)
+++ trunk/http.c Mon Dec  1 16:42:05 2008
@@ -109,7 +109,7 @@
 	{
 		if( conn->lastbyte )
 			http_addheader( conn, "Range: bytes=%lld-%lld", conn->firstbyte, conn->lastbyte );
-		else
+		else if (conn->firstbyte > 1)
 			http_addheader( conn, "Range: bytes=%lld-", conn->firstbyte );
 	}
 }




More information about the axel-commits mailing list