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
6921fdf1
Commit
6921fdf1
authored
May 02, 2017
by
Jehonathan Thomas
Committed by
GitHub
May 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #203 from OC-Carl/XML_Mods
Minor XML syntax modifications
parents
fb35218a
4d75893f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
9 deletions
+10
-9
SystemProxy.cs
Titanium.Web.Proxy/Helpers/SystemProxy.cs
+1
-1
Tcp.cs
Titanium.Web.Proxy/Helpers/Tcp.cs
+4
-4
HttpWebClient.cs
Titanium.Web.Proxy/Http/HttpWebClient.cs
+2
-2
BCCertificateMaker.cs
Titanium.Web.Proxy/Network/Certificate/BCCertificateMaker.cs
+1
-0
TcpConnection.cs
Titanium.Web.Proxy/Network/Tcp/TcpConnection.cs
+1
-1
TcpRow.cs
Titanium.Web.Proxy/Network/Tcp/TcpRow.cs
+1
-1
No files found.
Titanium.Web.Proxy/Helpers/SystemProxy.cs
View file @
6921fdf1
...
@@ -125,7 +125,7 @@ namespace Titanium.Web.Proxy.Helpers
...
@@ -125,7 +125,7 @@ namespace Titanium.Web.Proxy.Helpers
}
}
/// <summary>
/// <summary>
/// Removes all types of proxy settings (both http
&
https)
/// Removes all types of proxy settings (both http
and
https)
/// </summary>
/// </summary>
internal
void
DisableAllProxy
()
internal
void
DisableAllProxy
()
{
{
...
...
Titanium.Web.Proxy/Helpers/Tcp.cs
View file @
6921fdf1
...
@@ -42,7 +42,7 @@ namespace Titanium.Web.Proxy.Helpers
...
@@ -42,7 +42,7 @@ namespace Titanium.Web.Proxy.Helpers
}
}
/// <summary>
/// <summary>
/// <see
c
ref="http://msdn2.microsoft.com/en-us/library/aa366921.aspx"/>
/// <see
h
ref="http://msdn2.microsoft.com/en-us/library/aa366921.aspx"/>
/// </summary>
/// </summary>
[
StructLayout
(
LayoutKind
.
Sequential
)]
[
StructLayout
(
LayoutKind
.
Sequential
)]
internal
struct
TcpTable
internal
struct
TcpTable
...
@@ -52,7 +52,7 @@ namespace Titanium.Web.Proxy.Helpers
...
@@ -52,7 +52,7 @@ namespace Titanium.Web.Proxy.Helpers
}
}
/// <summary>
/// <summary>
/// <see
c
ref="http://msdn2.microsoft.com/en-us/library/aa366913.aspx"/>
/// <see
h
ref="http://msdn2.microsoft.com/en-us/library/aa366913.aspx"/>
/// </summary>
/// </summary>
[
StructLayout
(
LayoutKind
.
Sequential
)]
[
StructLayout
(
LayoutKind
.
Sequential
)]
internal
struct
TcpRow
internal
struct
TcpRow
...
@@ -72,7 +72,7 @@ namespace Titanium.Web.Proxy.Helpers
...
@@ -72,7 +72,7 @@ namespace Titanium.Web.Proxy.Helpers
}
}
/// <summary>
/// <summary>
/// <see
c
ref="http://msdn2.microsoft.com/en-us/library/aa365928.aspx"/>
/// <see
h
ref="http://msdn2.microsoft.com/en-us/library/aa365928.aspx"/>
/// </summary>
/// </summary>
[
DllImport
(
"iphlpapi.dll"
,
SetLastError
=
true
)]
[
DllImport
(
"iphlpapi.dll"
,
SetLastError
=
true
)]
internal
static
extern
uint
GetExtendedTcpTable
(
IntPtr
tcpTable
,
ref
int
size
,
bool
sort
,
int
ipVersion
,
int
tableClass
,
int
reserved
);
internal
static
extern
uint
GetExtendedTcpTable
(
IntPtr
tcpTable
,
ref
int
size
,
bool
sort
,
int
ipVersion
,
int
tableClass
,
int
reserved
);
...
@@ -124,7 +124,7 @@ namespace Titanium.Web.Proxy.Helpers
...
@@ -124,7 +124,7 @@ namespace Titanium.Web.Proxy.Helpers
}
}
/// <summary>
/// <summary>
/// relays the input clientStream to the server at the specified host name
& port with the given httpCmd &
headers as prefix
/// relays the input clientStream to the server at the specified host name
and port with the given httpCmd and
headers as prefix
/// Usefull for websocket requests
/// Usefull for websocket requests
/// </summary>
/// </summary>
/// <param name="bufferSize"></param>
/// <param name="bufferSize"></param>
...
...
Titanium.Web.Proxy/Http/HttpWebClient.cs
View file @
6921fdf1
...
@@ -66,7 +66,7 @@ namespace Titanium.Web.Proxy.Http
...
@@ -66,7 +66,7 @@ namespace Titanium.Web.Proxy.Http
/// <summary>
/// <summary>
/// Prepare
&
send the http(s) request
/// Prepare
and
send the http(s) request
/// </summary>
/// </summary>
/// <returns></returns>
/// <returns></returns>
internal
async
Task
SendRequest
(
bool
enable100ContinueBehaviour
)
internal
async
Task
SendRequest
(
bool
enable100ContinueBehaviour
)
...
@@ -148,7 +148,7 @@ namespace Titanium.Web.Proxy.Http
...
@@ -148,7 +148,7 @@ namespace Titanium.Web.Proxy.Http
}
}
/// <summary>
/// <summary>
/// Receive
&
parse the http response from server
/// Receive
and
parse the http response from server
/// </summary>
/// </summary>
/// <returns></returns>
/// <returns></returns>
internal
async
Task
ReceiveResponse
()
internal
async
Task
ReceiveResponse
()
...
...
Titanium.Web.Proxy/Network/Certificate/BCCertificateMaker.cs
View file @
6921fdf1
...
@@ -48,6 +48,7 @@ namespace Titanium.Web.Proxy.Network.Certificate
...
@@ -48,6 +48,7 @@ namespace Titanium.Web.Proxy.Network.Certificate
/// <param name="keyStrength">The key strength.</param>
/// <param name="keyStrength">The key strength.</param>
/// <param name="signatureAlgorithm">The signature algorithm.</param>
/// <param name="signatureAlgorithm">The signature algorithm.</param>
/// <param name="issuerPrivateKey">The issuer private key.</param>
/// <param name="issuerPrivateKey">The issuer private key.</param>
/// <param name="hostName">The host name</param>
/// <returns>X509Certificate2 instance.</returns>
/// <returns>X509Certificate2 instance.</returns>
/// <exception cref="PemException">Malformed sequence in RSA private key</exception>
/// <exception cref="PemException">Malformed sequence in RSA private key</exception>
private
static
X509Certificate2
GenerateCertificate
(
string
hostName
,
private
static
X509Certificate2
GenerateCertificate
(
string
hostName
,
...
...
Titanium.Web.Proxy/Network/Tcp/TcpConnection.cs
View file @
6921fdf1
...
@@ -7,7 +7,7 @@ using Titanium.Web.Proxy.Models;
...
@@ -7,7 +7,7 @@ using Titanium.Web.Proxy.Models;
namespace
Titanium.Web.Proxy.Network.Tcp
namespace
Titanium.Web.Proxy.Network.Tcp
{
{
/// <summary>
/// <summary>
/// An object that holds TcpConnection to a particular server
&
port
/// An object that holds TcpConnection to a particular server
and
port
/// </summary>
/// </summary>
public
class
TcpConnection
:
IDisposable
public
class
TcpConnection
:
IDisposable
{
{
...
...
Titanium.Web.Proxy/Network/Tcp/TcpRow.cs
View file @
6921fdf1
...
@@ -5,7 +5,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
...
@@ -5,7 +5,7 @@ namespace Titanium.Web.Proxy.Network.Tcp
{
{
/// <summary>
/// <summary>
/// Represents a managed interface of IP Helper API TcpRow struct
/// Represents a managed interface of IP Helper API TcpRow struct
/// <see
c
ref="http://msdn2.microsoft.com/en-us/library/aa366913.aspx"/>
/// <see
h
ref="http://msdn2.microsoft.com/en-us/library/aa366913.aspx"/>
/// </summary>
/// </summary>
internal
class
TcpRow
internal
class
TcpRow
{
{
...
...
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