-SmartProxy fix
This commit is contained in:
tonikelope 2018-05-21 12:31:54 +02:00
parent 2b97ec49bc
commit 99a180caa9
3 changed files with 4 additions and 5 deletions

View File

@ -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>

View File

@ -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 {

View File

@ -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;