whistle 2.9.47 → 2.9.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fiddler/meta.xml +1 -0
- package/assets/menu.html +1 -0
- package/assets/tab.html +1 -0
- package/bin/whistle.js +2 -2
- package/biz/webui/htdocs/index.html +1 -1
- package/biz/webui/htdocs/js/index.js +48 -48
- package/lib/config.js +5 -11
- package/lib/handlers/file-proxy.js +2 -1
- package/lib/https/h2.js +43 -34
- package/lib/https/index.js +11 -4
- package/lib/index.js +5 -4
- package/lib/inspectors/req.js +15 -1
- package/lib/plugins/index.js +2 -2
- package/lib/plugins/load-plugin.js +10 -1
- package/lib/plugins/shared-storage.js +114 -0
- package/lib/rules/storage.js +3 -16
- package/lib/service/extract-saz.js +5 -0
- package/lib/service/generate-saz.js +24 -2
- package/lib/tunnel.js +44 -18
- package/lib/util/common.js +43 -0
- package/lib/util/index.js +9 -25
- package/package.json +2 -2
package/assets/fiddler/meta.xml
CHANGED
package/assets/menu.html
CHANGED
|
@@ -163,6 +163,7 @@
|
|
|
163
163
|
whistleBridge.compose = options.compose;
|
|
164
164
|
whistleBridge.decodeBase64 = options.decodeBase64;
|
|
165
165
|
whistleBridge.importSessions = options.importSessions;
|
|
166
|
+
whistleBridge.exportSessions = options.exportSessions;
|
|
166
167
|
whistleBridge.request = options.request;
|
|
167
168
|
whistleBridge.createRequest = options.createRequest;
|
|
168
169
|
whistleBridge.showModal = options.showModal;
|
package/assets/tab.html
CHANGED
|
@@ -288,6 +288,7 @@
|
|
|
288
288
|
whistleBridge.compose = options.compose;
|
|
289
289
|
whistleBridge.decodeBase64 = options.decodeBase64;
|
|
290
290
|
whistleBridge.importSessions = options.importSessions;
|
|
291
|
+
whistleBridge.exportSessions = options.exportSessions;
|
|
291
292
|
whistleBridge.request = options.request;
|
|
292
293
|
whistleBridge.createRequest = options.createRequest;
|
|
293
294
|
whistleBridge.showModal = options.showModal;
|
package/bin/whistle.js
CHANGED
|
@@ -134,8 +134,8 @@ program
|
|
|
134
134
|
.option('-F, --frameCacheSize [frameCacheSize]', 'set the cache size of webSocket and socket\'s frames (512 by default)', String, undefined)
|
|
135
135
|
.option('-A, --addon [pluginPaths]', 'add custom plugin paths', String, undefined)
|
|
136
136
|
.option('--init [bypass]', 'auto set global proxy (and bypass) and install root CA')
|
|
137
|
-
.option('--
|
|
138
|
-
.option('--
|
|
137
|
+
.option('--cluster [workers]', 'start the cluster server and set worker number (os.cpus().length by default)', String, undefined)
|
|
138
|
+
.option('--config [config]', 'load the startup config from a local file', String, undefined)
|
|
139
139
|
.option('--dnsServer [dnsServer]', 'set custom dns servers', String, undefined)
|
|
140
140
|
.option('--socksPort [socksPort]', 'set the socksv5 server port', String, undefined)
|
|
141
141
|
.option('--httpPort [httpPort]', 'set the http server port', String, undefined)
|