mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-29 21:10:18 +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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>4.1</version>
|
<version>4.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -150,9 +150,9 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
|
|||||||
|
|
||||||
HttpGet httpget = new HttpGet(new URI(chunk.getUrl()));
|
HttpGet httpget = new HttpGet(new URI(chunk.getUrl()));
|
||||||
|
|
||||||
error = true;
|
error = false;
|
||||||
|
|
||||||
error509 = true;
|
error509 = false;
|
||||||
|
|
||||||
if (getDownload().isError509()) {
|
if (getDownload().isError509()) {
|
||||||
getDownload().getView().set509Error(false);
|
getDownload().getView().set509Error(false);
|
||||||
@ -178,7 +178,6 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
|
|||||||
if (MainPanel.isUse_smart_proxy()) {
|
if (MainPanel.isUse_smart_proxy()) {
|
||||||
getDownload().getView().set509Error(true);
|
getDownload().getView().set509Error(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -48,7 +48,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
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 THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
public static final int STREAMER_PORT = 1337;
|
public static final int STREAMER_PORT = 1337;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user