- 13 8月, 2022 1 次提交
-
-
由 Miha Zupan 提交于
* Respect the Keep-Alive response header on HTTP/1.1 as well * Add some more comments
-
- 11 8月, 2022 1 次提交
-
-
由 Radek Zikmund 提交于
* Handle HTTP3 server closing its controls stream * React to server closing inbound control stream * Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com> Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com>
-
- 10 8月, 2022 1 次提交
-
-
由 Marie Píchová 提交于
* Improved server logging to include S.N.Quic traces as well. * MsQuicBuffers copy given memory into native instead of pinning
-
- 08 8月, 2022 1 次提交
-
-
由 Radek Zikmund 提交于
-
- 07 8月, 2022 1 次提交
-
-
由 Dan Espinosa 提交于
* Process incoming frames before sending frames for Http2Connection. Moves the ProcessIncomingFramesAsync method before sending the preface. This fixes a deadlock when using a NamedPipe as a transport where incoming frames need to be read before being able to write. Also rename _expectingSettingsAck to _receivedSettingsAck to clearly specify that the settings frame has being received. Fix #73097 * Addressed PR Feedback. Added test that will prevent regresions when using Http2 with NamedPipe as a transport. Addressed PR Feedback Fix #73307 * Update ConnectCallback_UseNamedPipe_Success test Fix #73307 * Moved ConnectCallback_UseNamedPipe_Success test to SocketsHttpHandlerTest_ConnectCallback_Http2 class Fix #73307 Co-authored-by: NDaniel Espinosa <luespino@microsoft.com>
-
- 05 8月, 2022 2 次提交
-
-
由 Michal Strehovský 提交于
-
由 Tomas Weinfurt 提交于
* increase timeout on ZeroByteRead_IssuesZeroByteReadOnUnderlyingStream test' * feedback from review * feedback from review
-
- 04 8月, 2022 1 次提交
-
-
由 Radek Zikmund 提交于
Disable System.Net.Http.Functional.Tests.SocketsHttpHandler_Cancellation_Test_NonParallel.CancelPendingRequest_DropsStalledConnectionAttempt on Linux (#73300)
-
- 03 8月, 2022 1 次提交
-
-
由 Stephen Toub 提交于
-
- 02 8月, 2022 2 次提交
-
-
由 Miha Zupan 提交于
* Respect the Keep-Alive response header on HTTP/1.0 * Remove TimeoutOffset * Update Trace message * Update tests * Adjust test timeouts
-
由 Adeel Mujahid 提交于
-
- 29 7月, 2022 1 次提交
-
-
由 Corcodel Iulia 提交于
* #56876 issue test * Implemented Alt-Used compliance * resolved code review * changed variable name * removed white spaces * Update src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com> * Update src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com> Co-authored-by: Niuliaco <t-icorcodel@microsoft.com> Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
-
- 28 7月, 2022 2 次提交
-
-
由 Radek Zikmund 提交于
* Fix race when receiving HEADERS and RST_STREAM in rapid succession. * Improve test
-
由 Radek Zikmund 提交于
-
- 27 7月, 2022 1 次提交
-
-
由 Anton Firszov 提交于
Resolves #66297
-
- 26 7月, 2022 1 次提交
-
-
由 Natalia Kondratyeva 提交于
-
- 25 7月, 2022 2 次提交
-
-
由 feiyun0112 提交于
* TryAddWithoutValidation ViaHeaderValue * checking for 0
-
由 Radek Zikmund 提交于
-
- 24 7月, 2022 1 次提交
-
-
由 Adeel Mujahid 提交于
-
- 22 7月, 2022 2 次提交
-
-
由 Corcodel Iulia 提交于
* [#70949 issue] Made test and added inner exception for uninformative message * Apply suggestions from code review Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com> Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com> * Solving the rest of the coding review * Update src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com> Co-authored-by: Niuliaco <t-icorcodel@microsoft.com> Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com> Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
-
由 Natalia Kondratyeva 提交于
Access _authorityExpireTimer and _altSvcBlocklistTimerCancellation under lock and check for disposed. Fixes #66782.
-
- 21 7月, 2022 2 次提交
-
-
由 Anton Firszov 提交于
-
由 Radek Zikmund 提交于
Disable long running ReadAsync_CancelPendingTask_ThrowsCancellationException tests for some Http1 cases (#72596)
-
- 20 7月, 2022 2 次提交
-
-
由 Simon Rozsival 提交于
* Implement IncludeNetworkSecurityConfig * Use IncludeNetworkSecurityConfig * Fix tests * Remove active issue attributes * Rename certificate file * Revert unnecessary changes * TMP: re-throw caught exception to reveal more information in logs * Revert "TMP: re-throw caught exception to reveal more information in logs" This reverts commit 039d051d6ac60c1c3f1baf37b0c06872f87cac84. * TMP: add and update res folders until they are merged into runtime-assets * Fix System.Net.Requests tests * Re-enable System.Net.Http functional tests * Try fixing failing test * Skip failing test * Add missing using * Remove temporary test data * Relax exception type assertion for Android * Code cleanup * Fix test failures in System.Net.WebSockets.Client.Tests * Remove active issue attribute * Remove most explicit usages of the server certificate custom validation callback in tests * Fix several tests * Remove weird condition * Code clean-up * Remove unrelated active issue attributes * Turn ActiveIssue attributes into permanent SkipOnPlatform * Update explanation for SkipOnPlatform * Revert partial fix and keep active issue * Keep active issue for android x64 and x86 * Remove invalid attribute * Fix test on Browser * Allow all certificates by default * Fix build * Fix http client handler factory on Browser * Skip failing test * Fix net48 build * Revert unintentional change in WinHttpHandler tests * Avoid using unsupported property on Browser * Remove unnecessary default value * Avoid using unsupported property on Browser
-
由 Miha Zupan 提交于
* Avoid adding an HttpClient.Timeout message to ConnectTimeout exceptions * Avoid wrapping unknown OCEs as well * Update comment Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com> Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
-
- 19 7月, 2022 1 次提交
-
-
由 Anton Firszov 提交于
-
- 18 7月, 2022 1 次提交
-
-
由 Radek Zikmund 提交于
-
- 17 7月, 2022 1 次提交
-
-
由 Adeel Mujahid 提交于
* Fix typos * Cleanup trailing whitespaces in committed files * Revert a macro for win32 compat * Disambiguate test data method * Revert XMLPath test which rely on external assets * Revert whitespace change in Xml tests * Revert ClrEtwAl and ILLink.Shared * Revert crossgen2 props/targets and *.wxl
-
- 15 7月, 2022 2 次提交
-
-
由 Radek Zikmund 提交于
-
由 Radek Zikmund 提交于
* Replace Http3ProtocolException with HttpProtocolException * Correctly process incoming protocol errors * Fix HTTP3 stress * Add some tests * Remove formating changes * Code review feedback * Fix build * Throw HttpProtocolException from content stream as well * Add test for throwing when reading the content stream
-
- 14 7月, 2022 2 次提交
-
-
由 Marie Píchová 提交于
* System.Net.Quic removed from ASP transport package and made part of SDK ref * Removed manual references to System.Net.Quic.csproj
-
由 Marie Píchová 提交于
* Quic stream API surface * Fixed test compilation * Fixed http test compilation * HttpLoopbackConnection Dispose -> DisposeAsync * QuicStream implementation * Fixed some tests * Fixed all QUIC and HTTP tests * Fixed exception type for stream closed by connection close * Feedback * Fixed WebSocket.Client test build * Feedback, test fixes * Fixed build on framework and windows * Fixed winhandler test * Swap variable based on order in defining class * Post merge fixes * Feedback and build * Reverted connection state to pass around abort error code * Fixed exception type.
-
- 13 7月, 2022 4 次提交
-
-
由 Stephen Toub 提交于
* More reliably clean up more SafeHandle instances This calls Dispose on SafeHandles (or things wrapping SafeHandles) that were otherwise being left for finalization: 1. Some of these are fixing finalization happening even on success paths (typically where the implementation isn't disposing of something that directly or indirectly wraps a SafeHandle). 2. Some of these are fixing finalization happening for invalid SafeHandles. 3. Some of these are fixing tests to finalize less. My goal with fixing the tests was to eliminate the noise in order to find instances of the other two cases. These were found primarily via two means: - Debug-instrumentation in SafeHandle to log when one is finalized. This instrumentation is built into debug/checked builds of SafeHandle and requires setting the DEBUG_SAFEHANDLE_FINALIZATION environment variable to "1". - Auditing use of SafeHandle.IsInvalid There's a lot more that can be cleaned up using the SafeHandle instrumentation, but I'm pausing here for now. The System.IO.Pipes, System.IO.FileSystem, and System.Security.Cryptography tests are clean on Windows.
-
由 Marie Píchová 提交于
* Listener comment; PreviewFeature attribute * Feedback * QuicConnection new API including compilable implementation * Fixed logging * Fixed S.N.Quic and S.N.Http tests * Options now correspond to the issue * Feedback * Comments, PreviewFeature attribute and RemoteCertificate disposal. * Preview feature attribute is assembly wide * Some typos * Fixed test with certificate * Default values as constants * Event handlers split into methods called via switch expression. * Some more comments * Unified unsafe usage * Fixed some more tests * Cleaned up some exceptions and resource strings. * Feedback * Latest greatest API proposal. * Fixed Http solution * Feedback
-
由 Radek Zikmund 提交于
* Add QuicException as in proposal * Map other MsQuic errors to QuicException * Fix System.Net.Http * Always set HResult in QUIC-related exception * Fix possible incorrect exception when writing into aborted stream * Code review feedback * Fix ref files * Use latest generated interop * Remove MsQuicException * Code review feedback * Remove TODO * move ThrowHelper to Internal * Code review changes * Minor change
-
由 Katya Sokolova 提交于
* downgrade proposal for HttpClient * HttpClient to handle ws over h2 * ClientWebSocket to handle ws over h2 * Add property for protocol header and remove it from known headers * Update src/libraries/System.Net.Http/src/System/Net/Http/HttpRequestMessage.cs Co-authored-by: NStephen Toub <stoub@microsoft.com> * Address review feedback * Rename HttpVersion and HttpVersionPolicy * Apply suggestions from code review Co-authored-by: NChris Ross <Tratcher@Outlook.com> * address review feedback * address review feedback * address review feedback * Apply suggestions from code review Co-authored-by: NChris Ross <Tratcher@Outlook.com> * fix race condition on setting enable connect * inherit h2 read and writes streams * Apply suggestions from code review Co-authored-by: NChris Ross <Tratcher@Outlook.com> * fix H2PACK encoding issue * add timeout for waiting settings task * generalized settings received task * Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs Co-authored-by: NChris Ross <Tratcher@Outlook.com> * Fixing HttpStream tests * Apply suggestions from code review Co-authored-by: NStephen Toub <stoub@microsoft.com> * address review feedback * Apply suggestions from code review Co-authored-by: NStephen Toub <stoub@microsoft.com> * Address review feedback * Adapt test to ValueTask.FromException * Apply suggestions from code review Co-authored-by: NStephen Toub <stoub@microsoft.com> * Adding connect tests * Apply suggestions from code review Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com> * feedback + skip tests on browser * Feedback + test for websocket stream * Update src/libraries/System.Net.Http/src/Resources/Strings.resx Co-authored-by: NStephen Toub <stoub@microsoft.com> * Address review feedback Co-authored-by: NStephen Toub <stoub@microsoft.com> Co-authored-by: NChris Ross <Tratcher@Outlook.com> Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com>
-
- 11 7月, 2022 2 次提交
-
-
由 Pavel Savara 提交于
-
由 Marie Píchová 提交于
* QuicListener new API shape including compilable implementation * Quic and Http tests compile * Tests work * Feedback * Fix Windows error * Feedback * Listener comment; PreviewFeature attribute * Updated helix image with msquic * Cleaned up PreviewFeature attribute. * Feedback * Split event handlers into methods. * Added comments for pending connection. * Switch expression for HandleEvent
-
- 10 7月, 2022 1 次提交
-
-
由 Radek Doulik 提交于
* Use new docker images * Silence warnings * Bump dependencies * Bump emscripten version * Update dependencies * Fix linking * Move the link fix to default link response file To make tests build * Disable one more test Affected by https://github.com/dotnet/runtime/issues/51375 * Ignore link errors coming from native refs This avoids this error, where the linker seems more strict now: ``` [] EXEC : error : undefined symbol: _ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv (referenced by top-level compiled C/C++ code) [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : error : undefined symbol: _ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv (referenced by top-level compiled C/C++ code) [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : error : Aborting compilation due to previous errors [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] emcc : error : '/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/dotnet-workload/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Node.linux-x64/7.0.0-preview.6.22308.2/tools/bin/node ``` * Avoid another linker error in tests * Disable failing test * Try to use emscripten_force_exit in mono_wasm_exit * Bump docker image to get newer v8 * Fix remaining conflict * Use 3.1.12 icu again, it was lost with merge * Revert "Try to use emscripten_force_exit in mono_wasm_exit" This reverts commit bdba37b8a7ac96cead35758dc234b3d71b13880d. * Revert "Ignore link errors coming from native refs" This reverts commit f2bfa1f22e84ecd6e9e84142ce87a97a9ecf69c3. * [wasm] Don't run tests on windows with v8 - We are only interested in testing with v8 on linux This changes: 1. All the AOT tests to run with browser on windows 2. Library tests (interpreter) will run with browser, and nodejs * Fix System.Net.Http.Functional.Tests failing due to trimming .. on Windows/AOT: * [wasm] Fix windows/tests/aot timeout to be same for running on browser .. as for v8. * Disable failing tests - issue#71877 Co-authored-by: NRadek Doulik <radekdoulik@google.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
- 09 7月, 2022 1 次提交
-
-
由 Andy Gocke 提交于
* Add an Azure NPM registry * Get verbose output for 'npm audit' * Audit against a registry that supports auditing Co-authored-by: NAnkit Jain <radical@gmail.com> Co-authored-by: NLarry Ewing <lewing@microsoft.com>
-