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
f5298575
Commit
f5298575
authored
Nov 17, 2019
by
Honfika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less exceptions
parent
5ec93000
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
44 deletions
+44
-44
ExplicitClientHandler.cs
src/Titanium.Web.Proxy/ExplicitClientHandler.cs
+0
-5
HttpStream.cs
src/Titanium.Web.Proxy/Helpers/HttpStream.cs
+43
-33
TcpServerConnection.cs
src/Titanium.Web.Proxy/Network/Tcp/TcpServerConnection.cs
+1
-1
TransparentClientHandler.cs
src/Titanium.Web.Proxy/TransparentClientHandler.cs
+0
-5
No files found.
src/Titanium.Web.Proxy/ExplicitClientHandler.cs
View file @
f5298575
...
@@ -385,11 +385,6 @@ namespace Titanium.Web.Proxy
...
@@ -385,11 +385,6 @@ namespace Titanium.Web.Proxy
sslStream
?.
Dispose
();
sslStream
?.
Dispose
();
clientStream
.
Dispose
();
clientStream
.
Dispose
();
if
(!
cancellationTokenSource
.
IsCancellationRequested
)
{
cancellationTokenSource
.
Cancel
();
}
}
}
}
}
}
}
...
...
src/Titanium.Web.Proxy/Helpers/HttpStream.cs
View file @
f5298575
This diff is collapsed.
Click to expand it.
src/Titanium.Web.Proxy/Network/Tcp/TcpServerConnection.cs
View file @
f5298575
...
@@ -99,7 +99,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
...
@@ -99,7 +99,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
// This way we can push tcp Time_Wait to server side when possible.
// This way we can push tcp Time_Wait to server side when possible.
await
Task
.
Delay
(
1000
);
await
Task
.
Delay
(
1000
);
proxyServer
.
UpdateServerConnectionCount
(
false
);
proxyServer
.
UpdateServerConnectionCount
(
false
);
Stream
.
BaseStream
?.
Dispose
();
Stream
.
Dispose
();
TcpClient
.
CloseSocket
();
TcpClient
.
CloseSocket
();
});
});
...
...
src/Titanium.Web.Proxy/TransparentClientHandler.cs
View file @
f5298575
...
@@ -152,11 +152,6 @@ namespace Titanium.Web.Proxy
...
@@ -152,11 +152,6 @@ namespace Titanium.Web.Proxy
{
{
sslStream
?.
Dispose
();
sslStream
?.
Dispose
();
clientStream
.
Dispose
();
clientStream
.
Dispose
();
if
(!
cancellationTokenSource
.
IsCancellationRequested
)
{
cancellationTokenSource
.
Cancel
();
}
}
}
}
}
}
}
...
...
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