From e1901587a5c71d9cc9ec71664ff1bcd31a6fe2a3 Mon Sep 17 00:00:00 2001 From: Amazing_DM Date: Tue, 24 Mar 2020 18:29:46 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E8=AE=A2=E9=98=85=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=94=B9=E4=B8=BA10s=20:art:=E5=BE=AE?= =?UTF-8?q?=E8=B0=83=E8=AE=BE=E7=BD=AE=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Netch/Forms/SettingForm.Designer.cs | 8 ++++---- Netch/Override/WebClient.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Netch/Forms/SettingForm.Designer.cs b/Netch/Forms/SettingForm.Designer.cs index b3ff6797..8a3894cc 100644 --- a/Netch/Forms/SettingForm.Designer.cs +++ b/Netch/Forms/SettingForm.Designer.cs @@ -329,7 +329,7 @@ // BypassModeCheckBox // this.BypassModeCheckBox.AutoSize = true; - this.BypassModeCheckBox.Location = new System.Drawing.Point(276, 232); + this.BypassModeCheckBox.Location = new System.Drawing.Point(276, 236); this.BypassModeCheckBox.Name = "BypassModeCheckBox"; this.BypassModeCheckBox.Size = new System.Drawing.Size(135, 21); this.BypassModeCheckBox.TabIndex = 14; @@ -340,7 +340,7 @@ // Redirector2checkBox // this.Redirector2checkBox.AutoSize = true; - this.Redirector2checkBox.Location = new System.Drawing.Point(152, 232); + this.Redirector2checkBox.Location = new System.Drawing.Point(152, 235); this.Redirector2checkBox.Name = "Redirector2checkBox"; this.Redirector2checkBox.Size = new System.Drawing.Size(118, 21); this.Redirector2checkBox.TabIndex = 11; @@ -350,7 +350,7 @@ // ExperimentalFunction_Label // this.ExperimentalFunction_Label.AutoSize = true; - this.ExperimentalFunction_Label.Location = new System.Drawing.Point(6, 233); + this.ExperimentalFunction_Label.Location = new System.Drawing.Point(6, 236); this.ExperimentalFunction_Label.Name = "ExperimentalFunction_Label"; this.ExperimentalFunction_Label.Size = new System.Drawing.Size(133, 17); this.ExperimentalFunction_Label.TabIndex = 13; @@ -358,7 +358,7 @@ // // STUN_ServerPortTextBox // - this.STUN_ServerPortTextBox.Location = new System.Drawing.Point(117, 203); + this.STUN_ServerPortTextBox.Location = new System.Drawing.Point(117, 206); this.STUN_ServerPortTextBox.Name = "STUN_ServerPortTextBox"; this.STUN_ServerPortTextBox.Size = new System.Drawing.Size(294, 23); this.STUN_ServerPortTextBox.TabIndex = 8; diff --git a/Netch/Override/WebClient.cs b/Netch/Override/WebClient.cs index 311684e4..7f93c9b5 100644 --- a/Netch/Override/WebClient.cs +++ b/Netch/Override/WebClient.cs @@ -8,8 +8,8 @@ namespace Netch.Override protected override WebRequest GetWebRequest(Uri address) { var request = base.GetWebRequest(address); - request.Timeout = 4000; - ((HttpWebRequest)request).ReadWriteTimeout = 4000; + request.Timeout = 10000; + ((HttpWebRequest)request).ReadWriteTimeout = 10000; return request; }