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
0399f114
Unverified
Commit
0399f114
authored
Aug 20, 2020
by
honfika
Committed by
GitHub
Aug 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #793 from justcoding121/master
beta
parents
36077c95
a628c99e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
28 deletions
+70
-28
Titanium.Web.Proxy.Network.CertificateManager.html
docs/api/Titanium.Web.Proxy.Network.CertificateManager.html
+54
-22
index.json
docs/index.json
+1
-1
xrefmap.yml
docs/xrefmap.yml
+13
-0
TransparentClientHandler.cs
src/Titanium.Web.Proxy/TransparentClientHandler.cs
+1
-1
WebSocketHandler.cs
src/Titanium.Web.Proxy/WebSocketHandler.cs
+1
-4
No files found.
docs/api/Titanium.Web.Proxy.Network.CertificateManager.html
View file @
0399f114
This diff is collapsed.
Click to expand it.
docs/index.json
View file @
0399f114
This diff is collapsed.
Click to expand it.
docs/xrefmap.yml
View file @
0399f114
...
...
@@ -3311,6 +3311,19 @@ references:
isSpec
:
"
True"
fullName
:
Titanium.Web.Proxy.Network.CertificateManager.CertificateStorage
nameWithType
:
CertificateManager.CertificateStorage
-
uid
:
Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays
name
:
CertificateValidDays
href
:
api/Titanium.Web.Proxy.Network.CertificateManager.html#Titanium_Web_Proxy_Network_CertificateManager_CertificateValidDays
commentId
:
P:Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays
fullName
:
Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays
nameWithType
:
CertificateManager.CertificateValidDays
-
uid
:
Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays*
name
:
CertificateValidDays
href
:
api/Titanium.Web.Proxy.Network.CertificateManager.html#Titanium_Web_Proxy_Network_CertificateManager_CertificateValidDays_
commentId
:
Overload:Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays
isSpec
:
"
True"
fullName
:
Titanium.Web.Proxy.Network.CertificateManager.CertificateValidDays
nameWithType
:
CertificateManager.CertificateValidDays
-
uid
:
Titanium.Web.Proxy.Network.CertificateManager.ClearRootCertificate
name
:
ClearRootCertificate()
href
:
api/Titanium.Web.Proxy.Network.CertificateManager.html#Titanium_Web_Proxy_Network_CertificateManager_ClearRootCertificate
...
...
src/Titanium.Web.Proxy/TransparentClientHandler.cs
View file @
0399f114
...
...
@@ -71,7 +71,7 @@ namespace Titanium.Web.Proxy
await
CertificateManager
.
CreateServerCertificate
(
certName
);
// Successfully managed to authenticate the client using the certificate
await
sslStream
.
AuthenticateAsServerAsync
(
certificate
,
false
,
SslProtocols
.
Tls
,
false
);
await
sslStream
.
AuthenticateAsServerAsync
(
certificate
,
false
,
SslProtocols
.
Tls
12
,
false
);
// HTTPS server created - we can now decrypt the client's traffic
clientStream
=
new
HttpClientStream
(
clientStream
.
Connection
,
sslStream
,
BufferPool
,
cancellationToken
);
...
...
src/Titanium.Web.Proxy/WebSocketHandler.cs
View file @
0399f114
...
...
@@ -29,10 +29,7 @@ namespace Titanium.Web.Proxy
await
HeaderParser
.
ReadHeaders
(
serverConnection
.
Stream
,
response
.
Headers
,
cancellationToken
);
if
(!
args
.
IsTransparent
)
{
await
clientStream
.
WriteResponseAsync
(
response
,
cancellationToken
);
}
await
clientStream
.
WriteResponseAsync
(
response
,
cancellationToken
);
// If user requested call back then do it
if
(!
args
.
HttpClient
.
Response
.
Locked
)
...
...
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