Просмотр исходного кода

Fix: lower disruptor size limit to ensure remote server
list download is interrupted as expected in test case.

Rod Hynes 9 лет назад
Родитель
Сommit
f0ea2ba233
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      psiphon/controller_test.go

+ 1 - 1
psiphon/controller_test.go

@@ -791,7 +791,7 @@ func useTunnel(t *testing.T, httpProxyPort int) {
 
 const disruptorProxyAddress = "127.0.0.1:2160"
 const disruptorProxyURL = "socks4a://" + disruptorProxyAddress
-const disruptorMaxConnectionBytes = 625000
+const disruptorMaxConnectionBytes = 500000
 const disruptorMaxConnectionTime = 10 * time.Second
 
 func initDisruptor() {