Uh oh!
There was an error while loading. Please reload this page.
add StreamConformanceTest for HTTP CONNECT stream - #50699
Conversation
ghost
commented
Apr 4, 2021
Tagging subscribers to this area: @dotnet/ncl Issue Details@stephentoub @dotnet/ncl
|
geoffkizer
commented
Apr 4, 2021
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| Assert.True(pair.Stream2.CanRead); | ||
| return pair; | ||
| } | ||
| } |
There was a problem hiding this comment.
Is this testing a different stream than Http1UpgradeResponseStreamConformanceTests is testing?
There was a problem hiding this comment.
It's the same stream, but a different way of constructing it.
There was a problem hiding this comment.
From a "we know the implementation" perspective, this doesn't seem like it's actually testing anything further:
elseif(ReferenceEquals(normalizedMethod,HttpMethod.Connect)&&response.StatusCode==HttpStatusCode.OK){responseStream=newRawConnectionStream(this);_connectionClose=true;}elseif(response.StatusCode==HttpStatusCode.SwitchingProtocols){responseStream=newRawConnectionStream(this);}but if you really think it's worth adding additional stream tests for, ok.
There was a problem hiding this comment.
Yeah, I think you're right here. I'll just close this.
@stephentoub @dotnet/ncl