fix: working HTTP and SOCKS5 proxies; save only working servers
- SOCKS5 had been fed to HttpClient.findProxy, which supports only HTTP
proxies ("Invalid proxy configuration"), and socks5h was treated as an
HTTP proxy ("Invalid request method"). HTTP/HTTPS proxies stay on
findProxy; socks5/socks5h tunnel through socks5_proxy, which resolves
names at the proxy; user:pass in the proxy URL is passed along.
- Saving moved to the successful path: a failed attempt stays in the form
with a short reason, and the server list keeps no duplicates.
- package net.blumia.openchamber.flutter (namespace, applicationId,
MainActivity, iOS bundle id), version 0.3.1 (code 301).
- show the proxy in the instance and server lists; clearer connect errors.
- tool/proxy_probe.dart checks direct, socks5, socks5h and HTTP proxies
(requests and SSE) against a live server.
This commit is contained in:
1 parent
782ac2bd4d
commit
55dac37baf
12 files changed
+227
-46
No files matched your search
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.openchamber.openchamber"
|
||||
namespace = "net.blumia.openchamber.flutter"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
ndkVersion = flutter.ndkVersion
|
||||
|
||||
@@ -15,7 +15,7 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.openchamber.native"
|
||||
applicationId = "net.blumia.openchamber.flutter"
|
||||
minSdk = 24
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
// Uses the version code from pubspec.yaml. When using split APKs, 1000 * ABI_VERSION
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.openchamber.openchamber
|
||||
package net.blumia.openchamber.flutter
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
Reference in new issue
Block a user