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