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
808df9f8
Commit
808df9f8
authored
Apr 14, 2018
by
justcoding121
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order method params
parent
b45793dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
SessionEventArgs.cs
Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs
+2
-2
TunnelConnectEventArgs.cs
Titanium.Web.Proxy/EventArguments/TunnelConnectEventArgs.cs
+1
-1
ExplicitClientHandler.cs
Titanium.Web.Proxy/ExplicitClientHandler.cs
+1
-1
No files found.
Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs
View file @
808df9f8
...
@@ -34,12 +34,12 @@ namespace Titanium.Web.Proxy.EventArguments
...
@@ -34,12 +34,12 @@ namespace Titanium.Web.Proxy.EventArguments
/// </summary>
/// </summary>
internal
SessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
internal
SessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
CancellationTokenSource
cancellationTokenSource
,
ExceptionHandler
exceptionFunc
)
CancellationTokenSource
cancellationTokenSource
,
ExceptionHandler
exceptionFunc
)
:
this
(
bufferSize
,
endPoint
,
cancellationTokenSource
,
null
,
exceptionFunc
)
:
this
(
bufferSize
,
endPoint
,
null
,
cancellationTokenSource
,
exceptionFunc
)
{
{
}
}
protected
SessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
protected
SessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
CancellationTokenSource
cancellationTokenSource
,
Request
request
,
ExceptionHandler
exceptionFunc
)
Request
request
,
CancellationTokenSource
cancellationTokenSource
,
ExceptionHandler
exceptionFunc
)
:
base
(
bufferSize
,
endPoint
,
cancellationTokenSource
,
request
,
exceptionFunc
)
:
base
(
bufferSize
,
endPoint
,
cancellationTokenSource
,
request
,
exceptionFunc
)
{
{
}
}
...
...
Titanium.Web.Proxy/EventArguments/TunnelConnectEventArgs.cs
View file @
808df9f8
...
@@ -7,7 +7,7 @@ namespace Titanium.Web.Proxy.EventArguments
...
@@ -7,7 +7,7 @@ namespace Titanium.Web.Proxy.EventArguments
public
class
TunnelConnectSessionEventArgs
:
SessionEventArgsBase
public
class
TunnelConnectSessionEventArgs
:
SessionEventArgsBase
{
{
internal
TunnelConnectSessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
ConnectRequest
connectRequest
,
internal
TunnelConnectSessionEventArgs
(
int
bufferSize
,
ProxyEndPoint
endPoint
,
ConnectRequest
connectRequest
,
ExceptionHandler
exceptionFunc
,
CancellationTokenSource
cancellationTokenSource
)
CancellationTokenSource
cancellationTokenSource
,
ExceptionHandler
exceptionFunc
)
:
base
(
bufferSize
,
endPoint
,
cancellationTokenSource
,
connectRequest
,
exceptionFunc
)
:
base
(
bufferSize
,
endPoint
,
cancellationTokenSource
,
connectRequest
,
exceptionFunc
)
{
{
}
}
...
...
Titanium.Web.Proxy/ExplicitClientHandler.cs
View file @
808df9f8
...
@@ -65,7 +65,7 @@ namespace Titanium.Web.Proxy
...
@@ -65,7 +65,7 @@ namespace Titanium.Web.Proxy
await
HeaderParser
.
ReadHeaders
(
clientStreamReader
,
connectRequest
.
Headers
);
await
HeaderParser
.
ReadHeaders
(
clientStreamReader
,
connectRequest
.
Headers
);
var
connectArgs
=
new
TunnelConnectSessionEventArgs
(
BufferSize
,
endPoint
,
connectRequest
,
var
connectArgs
=
new
TunnelConnectSessionEventArgs
(
BufferSize
,
endPoint
,
connectRequest
,
ExceptionFunc
,
cancellationTokenSource
);
cancellationTokenSource
,
ExceptionFunc
);
connectArgs
.
ProxyClient
.
TcpClient
=
tcpClient
;
connectArgs
.
ProxyClient
.
TcpClient
=
tcpClient
;
connectArgs
.
ProxyClient
.
ClientStream
=
clientStream
;
connectArgs
.
ProxyClient
.
ClientStream
=
clientStream
;
...
...
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