mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-28 12:30:23 +02:00
4.2
-SmartProxy fix
This commit is contained in:
parent
2b97ec49bc
commit
99a180caa9
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>4.1</version>
|
||||
<version>4.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -150,9 +150,9 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
|
||||
|
||||
HttpGet httpget = new HttpGet(new URI(chunk.getUrl()));
|
||||
|
||||
error = true;
|
||||
error = false;
|
||||
|
||||
error509 = true;
|
||||
error509 = false;
|
||||
|
||||
if (getDownload().isError509()) {
|
||||
getDownload().getView().set509Error(false);
|
||||
@ -178,7 +178,6 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
|
||||
if (MainPanel.isUse_smart_proxy()) {
|
||||
getDownload().getView().set509Error(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -48,7 +48,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "4.1";
|
||||
public static final String VERSION = "4.2";
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
public static final int STREAMER_PORT = 1337;
|
||||
|
Loading…
x
Reference in New Issue
Block a user