Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Merge to beta #605

Merged
merged 70 commits into from
Jul 15, 2019
Merged

Merge to beta #605

merged 70 commits into from
Jul 15, 2019

Conversation

honfika
Copy link
Collaborator

@honfika honfika commented Jul 15, 2019

Doneness:

  • Build is okay - I made sure that this change is building successfully.
  • No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
  • Branching - If this is not a hotfix, I am making this request against the master branch

StephaneGraziano and others added 30 commits April 12, 2019 15:19
… for an unknown reason. In any case, this code is easier to read.
… for an unknown reason. In any case, this code is easier to read.
typo fixes, add some missing xml comment for method arguments, fix the wpf test project (invalid cast exception)
prepare for basic http/2 support and another small fixes (typo, version numbers)
…e flag:

- only enabled when both client and server supports it (no protocol changing in proxy)
- GetRequest/ResponseBody(AsString) methods are not supported
- cannot modify the request/response (e.g header modifications in BeforeRequest/Response events are ignored)
Basic HTTP/2 support. Disabled by default. Warning added to the enabl…
(still not able to modify header or body data)
honfika and others added 29 commits April 26, 2019 16:27
Add a new property (RequestUriString) which can be overridden in user code
Small HTTP/2 and other improvements
…y TWP only, which also needs 2.0) => Allow to consolidate nuget packages.
nuget package consolidation
allow to modify HTTP/2 header
…ufferpool (to get the best of the two worlds)
…ufferpool (to get the best of the two worlds)
---------------------------
//1st clientStream
var clientStream = new CustomBufferedStream(clientConnection.GetStream(), BufferPool, BufferSize);
sslStream = new SslStream(clientStream, false); //false => do not dispose 1st ClientStream
//2nd clientStream
clientStream = new CustomBufferedStream(sslStream, BufferPool, BufferSize);

...

sslStream?.Dispose(); // dispose sslStream but not 1st ClientStream
clientStream.Dispose(); // dispose 2nd ClientStream, sslStream (already disposed)
//here 1st clientStream is not disposed
---------------------------
CustomBufferedStream were not disposed
…e SslStream), only throwing an exception can fix that behavior.

- BeginWrite was not correct, we should call this.WriteAsync instead of baseStream.WriteAsync rewritten
@honfika honfika merged commit d476e94 into beta Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants