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
30782eac
Unverified
Commit
30782eac
authored
Jul 15, 2018
by
justcoding121
Committed by
GitHub
Jul 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #470 from justcoding121/master
Beta
parents
39fa8420
97aa8c7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
TcpConnectionFactory.cs
Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs
+3
-3
Titanium.Web.Proxy.ProxyServer.html
docs/api/Titanium.Web.Proxy.ProxyServer.html
+2
-2
index.json
docs/index.json
+1
-1
No files found.
Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs
View file @
30782eac
...
...
@@ -273,9 +273,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
SendTimeout
=
proxyServer
.
ConnectionTimeOutSeconds
*
1000
,
SendBufferSize
=
proxyServer
.
BufferSize
,
ReceiveBufferSize
=
proxyServer
.
BufferSize
};
await
proxyServer
.
InvokeConnectionCreateEvent
(
tcpClient
,
false
);
};
// If this proxy uses another external proxy then create a tunnel request for HTTP/HTTPS connections
if
(
useUpstreamProxy
)
...
...
@@ -287,6 +285,8 @@ namespace Titanium.Web.Proxy.Network.Tcp
await
tcpClient
.
ConnectAsync
(
remoteHostName
,
remotePort
);
}
await
proxyServer
.
InvokeConnectionCreateEvent
(
tcpClient
,
false
);
stream
=
new
CustomBufferedStream
(
tcpClient
.
GetStream
(),
proxyServer
.
BufferPool
,
proxyServer
.
BufferSize
);
if
(
useUpstreamProxy
&&
(
isConnect
||
isHttps
))
...
...
docs/api/Titanium.Web.Proxy.ProxyServer.html
View file @
30782eac
...
...
@@ -647,7 +647,7 @@ Should return true for successful authentication.</p>
<div
class=
"markdown level1 conceptual"
></div>
<h5
class=
"decalaration"
>
Declaration
</h5>
<div
class=
"codewrapper"
>
<pre><code
class=
"lang-csharp hljs"
>
public Func
<
string, string, Task
<
bool
>>
ProxyBasicAuthenticateFunc { get; set; }
</code></pre>
<pre><code
class=
"lang-csharp hljs"
>
public Func
<
SessionEventArgsBase,
string, string, Task
<
bool
>>
ProxyBasicAuthenticateFunc { get; set; }
</code></pre>
</div>
<h5
class=
"propertyValue"
>
Property Value
</h5>
<table
class=
"table table-bordered table-striped table-condensed"
>
...
...
@@ -659,7 +659,7 @@ Should return true for successful authentication.</p>
</thead>
<tbody>
<tr>
<td><a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.func-
3"
>
Func
</a>
<
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.string"
>
String
</a>
,
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.string"
>
String
</a>
,
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.threading.tasks.task-1"
>
Task
</a>
<
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.boolean"
>
Boolean
</a>
>>
</td>
<td><a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.func-
4"
>
Func
</a>
<
<a
class=
"xref"
href=
"Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html"
>
SessionEventArgsBase
</a>
,
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.string"
>
String
</a>
,
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.string"
>
String
</a>
,
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.threading.tasks.task-1"
>
Task
</a>
<
<a
class=
"xref"
href=
"https://docs.microsoft.com/dotnet/api/system.boolean"
>
Boolean
</a>
>>
</td>
<td></td>
</tr>
</tbody>
...
...
docs/index.json
View file @
30782eac
This diff is collapsed.
Click to expand it.
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