Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
31033aa
Example for ThreadWorkerThread use
StephaneGraziano Apr 12, 2019
044a8e0
Merge branch 'master' of git://github.com/justcoding121/Titanium-Web-…
StephaneGraziano Apr 12, 2019
146152e
Merge branch 'master' of git://github.com/justcoding121/Titanium-Web-…
StephaneGraziano Apr 15, 2019
1fcd683
Preivous code with "continue" generates a memory leak on 'connection'…
StephaneGraziano Apr 18, 2019
453feab
Previous code with "continue" generates a memory leak on 'connection'…
StephaneGraziano Apr 18, 2019
6e23775
Merge pull request #580 from StephaneGraziano/master
justcoding121 Apr 18, 2019
7b792b3
dispose connection if stream is closed
justcoding121 Apr 23, 2019
a7ad32b
typo fixes, add some missing xml comment for method arguments, fix th…
honfika Apr 24, 2019
6996456
typo fix
honfika Apr 24, 2019
77d9258
inconsistent naming fixes
honfika Apr 24, 2019
1d038a3
inconsistent naming fix
honfika Apr 24, 2019
ae9e850
Merge pull request #581 from honfika/master
justcoding121 Apr 24, 2019
578fd98
API documentation update by build server
Apr 24, 2019
6e3ae00
call the event handlers from http/2 code
honfika Apr 24, 2019
56c835c
typo fix, http2 enabled flag added
honfika Apr 24, 2019
1a33a5d
nuget packages updated in NetCore project file, too
honfika Apr 24, 2019
b3a486f
netcoreapp2.1 target added (needed for ALPN support)
honfika Apr 24, 2019
34e533c
Merge pull request #582 from honfika/master
justcoding121 Apr 24, 2019
a8a822a
API documentation update by build server
Apr 24, 2019
b37d7c8
Basic HTTP/2 support. Disabled by default. Warning added to the enabl…
honfika Apr 25, 2019
b87e57c
this is also a websocket
honfika Apr 25, 2019
4b8b59c
make some properties get only
honfika Apr 25, 2019
2d4dc4e
Ref class was added by me earlier. I don't know why, but it is not ne…
honfika Apr 25, 2019
05ed651
Merge pull request #583 from honfika/master
justcoding121 Apr 25, 2019
272ef41
API documentation update by build server
Apr 25, 2019
4e1f393
use IsClosed property
justcoding121 Apr 25, 2019
7280015
import stream extended
justcoding121 Apr 25, 2019
03cd1e1
API documentation update by build server
Apr 25, 2019
06afb6f
Allow to read HTTP/2 request/response body
honfika Apr 25, 2019
425c7ff
set properties to null to allog collect them by GC
honfika Apr 25, 2019
6555adc
.net 4.5 build fix
honfika Apr 25, 2019
2afbd3c
remove the old common decoder parameter (different instances needed, …
honfika Apr 25, 2019
42ac058
nullpointer fix in race conditions
honfika Apr 25, 2019
e6a201e
another race condition fix
honfika Apr 25, 2019
66c4113
Merge pull request #584 from honfika/master
honfika Apr 26, 2019
60feeb0
http/2: using some default settings from specification, process the s…
honfika Apr 26, 2019
59c3819
Throw better exception when chunk length is invalid.
honfika Apr 26, 2019
3092024
exception message fix
honfika Apr 26, 2019
a99ff10
Show response data as image in test app, try-catch added to http2 test
honfika Apr 26, 2019
8ac7914
unused variable name removed
honfika Apr 26, 2019
7b5ee1c
faster delete the sessions from wpf sample app
honfika Apr 26, 2019
e43ccc6
Make OriginalUrl readonly.
honfika Apr 26, 2019
9daed0e
add missing file to .net4.5 WPF project
honfika Apr 26, 2019
a31938f
Merge pull request #585 from honfika/master
honfika Apr 26, 2019
89498a3
bufferpool was never assigned in CopyStream => always null reference …
honfika Apr 26, 2019
ab1c25b
valeutuple package is not used
honfika Apr 26, 2019
ceca054
Require .net standard 2.0 for StreamExtended project (which is used b…
honfika Apr 26, 2019
d07187a
MS nuget package updates
honfika Apr 26, 2019
4521a9f
versions chanfged in nuspec, too
honfika Apr 26, 2019
29ffc5b
Merge pull request #586 from honfika/master
honfika Apr 26, 2019
7330b5c
allow to modify HTTP/2 ehader
honfika Apr 27, 2019
42a5ee9
allow to change http/2 body
honfika Apr 27, 2019
8bbfa30
HTTP/2 small refactoring
honfika Apr 28, 2019
0c88f3f
HTTP/2 fix, pushpromise commented out (not wokring yet)
honfika Apr 28, 2019
6a18615
Merge pull request #587 from honfika/master
honfika Apr 29, 2019
9019ee9
Merge branch 'master' of git://github.com/justcoding121/Titanium-Web-…
StephaneGraziano Apr 30, 2019
4c954df
Optimisation : Rewrite startsWith with PeekBytesAsync instead of loop…
StephaneGraziano Apr 30, 2019
36171d1
Allow async read/write for .netstandard 2.0
StephaneGraziano Apr 30, 2019
712da85
Mixed implementation for startWith + PeekBytesAsync with the use of b…
StephaneGraziano May 2, 2019
9279e79
Optimisation : Rewrite startsWith with PeekBytesAsync instead of loop…
StephaneGraziano Apr 30, 2019
f213048
Allow async read/write for .netstandard 2.0
StephaneGraziano Apr 30, 2019
6f77c51
Mixed implementation for startWith + PeekBytesAsync with the use of b…
StephaneGraziano May 2, 2019
c894430
Merge branch 'master' of git://github.com/justcoding121/Titanium-Web-…
StephaneGraziano May 6, 2019
715a26d
clientStream were undisposed.
StephaneGraziano May 7, 2019
d663890
Merge pull request #590 from StephaneGraziano/master
justcoding121 May 11, 2019
2656df9
- IsClosed doesn't solve the memleak (streams are still blocked insid…
StephaneGraziano May 7, 2019
f863fdc
Update README.md
justcoding121 Jul 11, 2019
c653a8e
Mono fix?
honfika Jul 13, 2019
e7acdc6
Merge pull request #604 from justcoding121/honfika-patch-1
honfika Jul 15, 2019
4700dee
API documentation update by build server
Jul 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Titanium Web Proxy

### Note: This Project is no longer maintained. Any pull requests for fixes are welcome.

A lightweight HTTP(S) proxy server written in C#.

<a href="https://ci.appveyor.com/project/justcoding121/titanium-web-proxy">![Build Status](https://ci.appveyor.com/api/projects/status/p5vvtbpx9yp250ol?svg=true)</a> [![Join the chat at https://gitter.im/Titanium-Web-Proxy/Lobby](https://badges.gitter.im/Titanium-Web-Proxy/Lobby.svg)](https://gitter.im/Titanium-Web-Proxy/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3 id="properties">Properties
</span>
<a id="Titanium_Web_Proxy_EventArguments_CertificateSelectionEventArgs_AcceptableIssuers_" data-uid="Titanium.Web.Proxy.EventArguments.CertificateSelectionEventArgs.AcceptableIssuers*"></a>
<h4 id="Titanium_Web_Proxy_EventArguments_CertificateSelectionEventArgs_AcceptableIssuers" data-uid="Titanium.Web.Proxy.EventArguments.CertificateSelectionEventArgs.AcceptableIssuers">AcceptableIssuers</h4>
<div class="markdown level1 summary"><p>Acceptable issuers as listed by remoted server.</p>
<div class="markdown level1 summary"><p>Acceptable issuers as listed by remote server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
Expand Down
75 changes: 53 additions & 22 deletions docs/api/Titanium.Web.Proxy.EventArguments.SessionEventArgs.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ <h5>Implements</h5>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_bufferSize">SessionEventArgsBase.bufferSize</a>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_BufferSize">SessionEventArgsBase.BufferSize</a>
</div>
<div>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_bufferPool">SessionEventArgsBase.bufferPool</a>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_BufferPool">SessionEventArgsBase.BufferPool</a>
</div>
<div>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_exceptionFunc">SessionEventArgsBase.exceptionFunc</a>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_ExceptionFunc">SessionEventArgsBase.ExceptionFunc</a>
</div>
<div>
<a class="xref" href="Titanium.Web.Proxy.EventArguments.SessionEventArgsBase.html#Titanium_Web_Proxy_EventArguments_SessionEventArgsBase_TimeLine">SessionEventArgsBase.TimeLine</a>
Expand Down Expand Up @@ -255,7 +255,7 @@ <h5 class="propertyValue">Property Value</h5>
</span>
<a id="Titanium_Web_Proxy_EventArguments_TunnelConnectSessionEventArgs_IsHttpsConnect_" data-uid="Titanium.Web.Proxy.EventArguments.TunnelConnectSessionEventArgs.IsHttpsConnect*"></a>
<h4 id="Titanium_Web_Proxy_EventArguments_TunnelConnectSessionEventArgs_IsHttpsConnect" data-uid="Titanium.Web.Proxy.EventArguments.TunnelConnectSessionEventArgs.IsHttpsConnect">IsHttpsConnect</h4>
<div class="markdown level1 summary"><p>Is this a connect request to secure HTTP server? Or is it to someother protocol.</p>
<div class="markdown level1 summary"><p>Is this a connect request to secure HTTP server? Or is it to some other protocol.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Titanium.Web.Proxy.Exceptions.ProxyException.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td><span class="parametername">message</span></td>
<td><p>Excception message</p>
<td><p>Exception message</p>
</td>
</tr>
<tr>
Expand Down
37 changes: 35 additions & 2 deletions docs/api/Titanium.Web.Proxy.Http.ConnectRequest.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ <h5>Inherited Members</h5>
<div>
<a class="xref" href="Titanium.Web.Proxy.Http.Request.html#Titanium_Web_Proxy_Http_Request_OriginalUrl">Request.OriginalUrl</a>
</div>
<div>
<a class="xref" href="Titanium.Web.Proxy.Http.Request.html#Titanium_Web_Proxy_Http_Request_RequestUriString">Request.RequestUriString</a>
</div>
<div>
<a class="xref" href="Titanium.Web.Proxy.Http.Request.html#Titanium_Web_Proxy_Http_Request_HasBody">Request.HasBody</a>
</div>
Expand Down Expand Up @@ -222,7 +225,7 @@ <h3 id="properties">Properties
<a href="https://github.com/justcoding121/Titanium-Web-Proxy/new/master/apiSpec/new?filename=Titanium_Web_Proxy_Http_ConnectRequest_ClientHelloInfo.md&amp;value=---%0Auid%3A%20Titanium.Web.Proxy.Http.ConnectRequest.ClientHelloInfo%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/justcoding121/Titanium-Web-Proxy/blob/master/src/Titanium.Web.Proxy/Http/ConnectRequest.cs/#L15">View Source</a>
<a href="https://github.com/justcoding121/Titanium-Web-Proxy/blob/master/src/Titanium.Web.Proxy/Http/ConnectRequest.cs/#L17">View Source</a>
</span>
<a id="Titanium_Web_Proxy_Http_ConnectRequest_ClientHelloInfo_" data-uid="Titanium.Web.Proxy.Http.ConnectRequest.ClientHelloInfo*"></a>
<h4 id="Titanium_Web_Proxy_Http_ConnectRequest_ClientHelloInfo" data-uid="Titanium.Web.Proxy.Http.ConnectRequest.ClientHelloInfo">ClientHelloInfo</h4>
Expand All @@ -242,7 +245,37 @@ <h5 class="propertyValue">Property Value</h5>
</thead>
<tbody>
<tr>
<td><span class="xref">StreamExtended.ClientHelloInfo</span></td>
<td><span class="xref">ClientHelloInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/justcoding121/Titanium-Web-Proxy/new/master/apiSpec/new?filename=Titanium_Web_Proxy_Http_ConnectRequest_TunnelType.md&amp;value=---%0Auid%3A%20Titanium.Web.Proxy.Http.ConnectRequest.TunnelType%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/justcoding121/Titanium-Web-Proxy/blob/master/src/Titanium.Web.Proxy/Http/ConnectRequest.cs/#L15">View Source</a>
</span>
<a id="Titanium_Web_Proxy_Http_ConnectRequest_TunnelType_" data-uid="Titanium.Web.Proxy.Http.ConnectRequest.TunnelType*"></a>
<h4 id="Titanium_Web_Proxy_Http_ConnectRequest_TunnelType" data-uid="Titanium.Web.Proxy.Http.ConnectRequest.TunnelType">TunnelType</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TunnelType TunnelType { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TunnelType</span></td>
<td></td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Titanium.Web.Proxy.Http.ConnectResponse.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h5 class="propertyValue">Property Value</h5>
</thead>
<tbody>
<tr>
<td><span class="xref">StreamExtended.ServerHelloInfo</span></td>
<td><span class="xref">ServerHelloInfo</span></td>
<td></td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Titanium.Web.Proxy.Http.HeaderCollection.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h5 class="returns">Returns</h5>
<a id="Titanium_Web_Proxy_Http_HeaderCollection_GetHeaders_" data-uid="Titanium.Web.Proxy.Http.HeaderCollection.GetHeaders*"></a>
<h4 id="Titanium_Web_Proxy_Http_HeaderCollection_GetHeaders_System_String_" data-uid="Titanium.Web.Proxy.Http.HeaderCollection.GetHeaders(System.String)">GetHeaders(String)</h4>
<div class="markdown level1 summary"><p>Returns all headers with given name if exists
Returns null if does&apos;nt exist</p>
Returns null if doesn&apos;t exist</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
Expand Down
18 changes: 9 additions & 9 deletions docs/api/Titanium.Web.Proxy.Http.KnownHeaders.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_AcceptEncoding" data-uid="Titanium.
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string AcceptEncoding = &quot;accept-encoding&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string AcceptEncoding = &quot;Accept-Encoding&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -193,7 +193,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_Connection" data-uid="Titanium.Web.
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string Connection = &quot;connection&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string Connection = &quot;Connection&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -280,7 +280,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_ContentEncoding" data-uid="Titanium
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string ContentEncoding = &quot;content-encoding&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string ContentEncoding = &quot;Content-Encoding&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -396,7 +396,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_ContentLength" data-uid="Titanium.W
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string ContentLength = &quot;content-length&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string ContentLength = &quot;Content-Length&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -425,7 +425,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_ContentType" data-uid="Titanium.Web
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string ContentType = &quot;content-type&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string ContentType = &quot;Content-Type&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -512,7 +512,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_Expect" data-uid="Titanium.Web.Prox
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string Expect = &quot;expect&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string Expect = &quot;Expect&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -570,7 +570,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_Host" data-uid="Titanium.Web.Proxy.
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string Host = &quot;host&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string Host = &quot;Host&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -773,7 +773,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_TransferEncoding" data-uid="Titaniu
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string TransferEncoding = &quot;transfer-encoding&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string TransferEncoding = &quot;Transfer-Encoding&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down Expand Up @@ -831,7 +831,7 @@ <h4 id="Titanium_Web_Proxy_Http_KnownHeaders_Upgrade" data-uid="Titanium.Web.Pro
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string Upgrade = &quot;upgrade&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string Upgrade = &quot;Upgrade&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down
Loading