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
b8cefa4c
Commit
b8cefa4c
authored
Dec 23, 2019
by
Honfika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LocalEndPoint renamed, old names are obsolate
parent
4c6a8f50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
SessionEventArgsBase.cs
...Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs
+9
-3
WinAuthHandler.cs
src/Titanium.Web.Proxy/WinAuthHandler.cs
+1
-1
No files found.
src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs
View file @
b8cefa4c
...
...
@@ -59,7 +59,7 @@ namespace Titanium.Web.Proxy.EventArguments
ClientStream
=
clientStream
;
HttpClient
=
new
HttpWebClient
(
connectRequest
,
request
,
new
Lazy
<
int
>(()
=>
clientStream
.
Connection
.
GetProcessId
(
endPoint
)));
Local
EndPoint
=
endPoint
;
Proxy
EndPoint
=
endPoint
;
EnableWinAuth
=
server
.
EnableWinAuth
&&
isWindowsAuthenticationSupported
;
}
...
...
@@ -103,6 +103,9 @@ namespace Titanium.Web.Proxy.EventArguments
/// </summary>
public
IPEndPoint
ClientRemoteEndPoint
=>
(
IPEndPoint
)
ClientConnection
.
RemoteEndPoint
;
[
Obsolete
(
"Use ClientRemoteEndPoint instead."
)]
public
IPEndPoint
ClientEndPoint
=>
ClientRemoteEndPoint
;
/// <summary>
/// The web client used to communicate with server for this session.
/// </summary>
...
...
@@ -119,12 +122,15 @@ namespace Titanium.Web.Proxy.EventArguments
/// <summary>
/// Local endpoint via which we make the request.
/// </summary>
public
ProxyEndPoint
LocalEndPoint
{
get
;
}
public
ProxyEndPoint
ProxyEndPoint
{
get
;
}
[
Obsolete
(
"Use ProxyEndPoint instead."
)]
public
ProxyEndPoint
LocalEndPoint
=>
ProxyEndPoint
;
/// <summary>
/// Is this a transparent endpoint?
/// </summary>
public
bool
IsTransparent
=>
Local
EndPoint
is
TransparentProxyEndPoint
;
public
bool
IsTransparent
=>
Proxy
EndPoint
is
TransparentProxyEndPoint
;
/// <summary>
/// The last exception that happened.
...
...
src/Titanium.Web.Proxy/WinAuthHandler.cs
View file @
b8cefa4c
...
...
@@ -175,7 +175,7 @@ namespace Titanium.Web.Proxy
// Add custom div to body to clarify that the proxy (not the client browser) failed authentication
string
authErrorMessage
=
"<div class=\"inserted-by-proxy\"><h2>NTLM authentication through Titanium.Web.Proxy ("
+
args
.
Client
Connection
.
LocalEndPoint
+
args
.
ClientLocalEndPoint
+
") failed. Please check credentials.</h2></div>"
;
string
originalErrorMessage
=
"<div class=\"inserted-by-proxy\"><h3>Response from remote web server below.</h3></div><br/>"
;
...
...
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