Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Titanium-Web-Proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Titanium-Web-Proxy
Commits
ab4f2fee
Commit
ab4f2fee
authored
Feb 23, 2018
by
mohammadlachgar
Committed by
GitHub
Feb 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete spaces and new lines(entr)
parent
c2cac3ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ProxyServer.cs
Titanium.Web.Proxy/ProxyServer.cs
+2
-4
No files found.
Titanium.Web.Proxy/ProxyServer.cs
View file @
ab4f2fee
...
...
@@ -407,12 +407,11 @@ namespace Titanium.Web.Proxy
/// <param name="endPoint"></param>
public
void
AddEndPoint
(
ProxyEndPoint
endPoint
)
{
if
(
ProxyEndPoints
.
Any
(
x
=>
x
.
IpAddress
.
Equals
(
endPoint
.
IpAddress
)
&&
endPoint
.
Port
!=
0
&&
x
.
Port
==
endPoint
.
Port
))
{
throw
new
Exception
(
"Cannot add another endpoint to same port & ip address"
);
}
ProxyEndPoints
.
Add
(
endPoint
);
if
(
ProxyRunning
)
...
...
@@ -785,7 +784,6 @@ namespace Titanium.Web.Proxy
{
if
(!
CertificateManager
.
CertValidated
)
{
CertificateManager
.
CreateTrustedRootCertificate
();
if
(
TrustRootCertificate
)
...
...
@@ -793,7 +791,7 @@ namespace Titanium.Web.Proxy
CertificateManager
.
TrustRootCertificate
();
}
}
}
}
/// <summary>
/// When a connection is received from client act
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment