platform/upstream/dotnet/runtime.git
6 years agoNormalize names of span inputs in crypto API
Jeremy Barton [Sat, 17 Feb 2018 02:56:31 +0000 (18:56 -0800)]
Normalize names of span inputs in crypto API

The asymmetric types operate on either hashed input, or unprocessed input.
The existing API tends to call hashed input "hash" (or "rgbHash" for older API),
and unprocessed input "data" (or "rgbData").

This change modifies the new (ReadOnly)Span-based methods to use "data"
and "hash" (as appropriate) instead of "source".  Particularly because the
hash-based methods in DSA do not contain the word Hash, making "source"
for CreateSignature ambiguous.

In the cases where the existing parameter was named "rgbHash" (et al) the
"rgb" was dropped in the (ReadOnly)Span variant, including in the cases
where the (ReadOnly)Span variant is a proper overload.

Commit migrated from https://github.com/dotnet/corefx/commit/c360ba27944379f8234ff3a14e30b05f1279bd8e

6 years agoAdd SslStream test to validate options aren't mutated (dotnet/corefx#27203)
Stephen Toub [Sat, 17 Feb 2018 00:09:31 +0000 (19:09 -0500)]
Add SslStream test to validate options aren't mutated (dotnet/corefx#27203)

* Add SslStream test to validate options aren't mutated

While reading the code, I thought I saw the AuthenticateAsClientAsync options mutating the input options bag, which it shouldn't do.  I wrote a test for it, only to realize that I'd read the code incorrectly and it wasn't mutating things incorrectly.  But since I'd written the test, figured I might as well check it in.

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/cac1f05d705072c4bb20045f84ef3370d87a976a

6 years agoEnable SendReceive_VaryingLengthBuffers_Success on Windows run (dotnet/corefx#27181)
Caesar Chen [Sat, 17 Feb 2018 00:03:46 +0000 (16:03 -0800)]
Enable SendReceive_VaryingLengthBuffers_Success on Windows run (dotnet/corefx#27181)

* enable test on Windows run

* delete script

* disable test issue dotnet/corefx#27211

* disable test see dotnet/corefx#27217

Commit migrated from https://github.com/dotnet/corefx/commit/d3a69ff4448a0bd4df12e6af481898825c066c67

6 years agoEnable overriding of OpenSSL version (dotnet/corefx#27208)
Jan Vorlicek [Fri, 16 Feb 2018 21:21:13 +0000 (22:21 +0100)]
Enable overriding of OpenSSL version (dotnet/corefx#27208)

Also change the order of attempts to load the libssl.so so that
the version 1.0.2 is tried first to make it less probable that some
of our other dependencies end up loading conflicting version of libssl
on Debian 8 that has bumped the libssl soname to 1.0.2.

Commit migrated from https://github.com/dotnet/corefx/commit/1c974c975d7c354c8dadd96b449847b6ad01180f

6 years agoUse NtCreateFile on Win32 (dotnet/corefx#27195)
Jeremy Kuhne [Fri, 16 Feb 2018 19:10:07 +0000 (11:10 -0800)]
Use NtCreateFile on Win32 (dotnet/corefx#27195)

NtCreateFile allows passing in a base handle which makes opening child directories much faster. This cuts anywhere from 3-10% of the time off of a GetFiles() call.

It is significantly faster as it avoids normalization and path parsing overhead.

Commit migrated from https://github.com/dotnet/corefx/commit/a28a2cdda67c024126f690bbe1331174a194f9ce

6 years agoMerge pull request dotnet/corefx#27111 from MattGal/use-dotnetcore-build-pool
Matt Galbraith [Fri, 16 Feb 2018 18:49:38 +0000 (10:49 -0800)]
Merge pull request dotnet/corefx#27111 from MattGal/use-dotnetcore-build-pool

Move Windows builds to DotNetCore-Build pool

Commit migrated from https://github.com/dotnet/corefx/commit/03ecb64ea5fc26c5a475261f64aa6026f945d03d

6 years agoFix encryption policy error message missing argument (dotnet/corefx#27205)
Stephen Toub [Fri, 16 Feb 2018 18:20:44 +0000 (13:20 -0500)]
Fix encryption policy error message missing argument (dotnet/corefx#27205)

The message is currently "The '{0}' encryption policy is not supported on this platform." rather than, e.g. "The 'NoEncryption' encryption policy is not supported on this platform."

Commit migrated from https://github.com/dotnet/corefx/commit/e282c38afc12c2ebeb2b411c186758e8a25fa743

6 years agoUse stackalloc for longer SystemDirectory paths (dotnet/corefx#27204)
Viktor Hofer [Fri, 16 Feb 2018 18:01:27 +0000 (19:01 +0100)]
Use stackalloc for longer SystemDirectory paths (dotnet/corefx#27204)

* Use stackalloc for longer SystemDirectory paths

* change stackalloc to 260

Commit migrated from https://github.com/dotnet/corefx/commit/bdba43d52e44ed9f2d194ab5b151aa47c60edbf4

6 years agoCross compile Pipelines and retarget ref to netstandard1.1 (dotnet/corefx#27166)
Pavel Krymets [Fri, 16 Feb 2018 17:58:27 +0000 (09:58 -0800)]
Cross compile Pipelines and retarget ref to netstandard1.1 (dotnet/corefx#27166)

Cross compile Pipelines and retarget ref to netstandard1.1

Commit migrated from https://github.com/dotnet/corefx/commit/ef8ed755cdf2ba6e223ecd33c2169ec3afdbca32

6 years agoFix AuthenticateAsServerAsync argument name in ref (dotnet/corefx#27201)
Stephen Toub [Fri, 16 Feb 2018 17:04:45 +0000 (12:04 -0500)]
Fix AuthenticateAsServerAsync argument name in ref (dotnet/corefx#27201)

Commit migrated from https://github.com/dotnet/corefx/commit/e153e40c6eaf8d79d86628fdde1b356422dc8fbe

6 years agoImprove test coverage of SocketsHttpHandler (dotnet/corefx#27135)
Stephen Toub [Fri, 16 Feb 2018 17:02:45 +0000 (12:02 -0500)]
Improve test coverage of SocketsHttpHandler (dotnet/corefx#27135)

* Improve test coverage of SocketsHttpHandler

Used code coverage information to write targeted tests to cover various uncovered paths in SocketsHttpHandler.  Along the way fixed a variety of issues relating to throwing the wrong exception type, a stack overflow due to an unexpected recursive call, etc.

* Address PR feedback

* Re-disable a test

Commit migrated from https://github.com/dotnet/corefx/commit/39677219aaeab8c6591b625ab2874acb17eaf4ef

6 years agoUpdate CoreFx to preview2-26216-03 (dotnet/corefx#27200)
dotnet-maestro-bot [Fri, 16 Feb 2018 16:59:11 +0000 (10:59 -0600)]
Update CoreFx to preview2-26216-03 (dotnet/corefx#27200)

Commit migrated from https://github.com/dotnet/corefx/commit/423108d574ad4319beffdafeea92da717ae2ac7b

6 years agoRemove unsafe code for HexEscape in favor of string.Create (dotnet/corefx#27194)
Viktor Hofer [Fri, 16 Feb 2018 16:43:40 +0000 (17:43 +0100)]
Remove unsafe code for HexEscape in favor of string.Create (dotnet/corefx#27194)

Commit migrated from https://github.com/dotnet/corefx/commit/a8e60020ca743b7d334013798098b072de8d0a6a

6 years agoModify StreamContent to use default CopyToAsync buffer size when no size is provided...
Max Kerr [Fri, 16 Feb 2018 12:18:59 +0000 (04:18 -0800)]
Modify StreamContent to use default CopyToAsync buffer size when no size is provided (dotnet/corefx#27176)

* Add a tentative fix

* Minor fixes.

* Remove unused default value.

* Re-order error checks for compatibility reasons.

* Add a test to pin exception behavior when both parameters are incorrect.

Commit migrated from https://github.com/dotnet/corefx/commit/c28fbce3ce31cc0274b14e6e4ae08a84ec04ed1b

6 years agoFix build on clang 5 (dotnet/corefx#27178)
Omair Majid [Fri, 16 Feb 2018 12:18:00 +0000 (07:18 -0500)]
Fix build on clang 5 (dotnet/corefx#27178)

This contains two fixes, both related to new warnings introduced with
clang 5:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html

1. clang 5 introduces a -Wzero-as-null-pointer-constant warning, which
becomes an error with Werror. This warning is not known by older
versions of clang and affects a lot of C/C++ code, such as:

    static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;

It also affects code we pick up from our dependency libraries. Lets
check if the compiler knows about this warning and disable it if so.

2. clang 5 introduces checks for casts. The library expects a `char *`,
so lets cast our pointer to the expected type so it will continue
working.

Commit migrated from https://github.com/dotnet/corefx/commit/a9f4a46f48baeaadd515d85ac9de1249b8023a5a

6 years agoUpdate CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview2-26216-01, beta-26216...
dotnet-maestro-bot [Fri, 16 Feb 2018 09:45:35 +0000 (03:45 -0600)]
Update CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview2-26216-01, beta-26216-00, beta-26216-00, respectively (dotnet/corefx#27196)

Commit migrated from https://github.com/dotnet/corefx/commit/57aa7d9645864c89c22f0f1ae9dc90b16792a10f

6 years agoRemove Commit from PipeWriter (dotnet/corefx#27182)
David Fowler [Fri, 16 Feb 2018 05:55:28 +0000 (21:55 -0800)]
Remove Commit from PipeWriter (dotnet/corefx#27182)

- PipeWriter.Complete now commits any uncommitted data instead of throwing.
- Updated the tests

Commit migrated from https://github.com/dotnet/corefx/commit/77c45b1fc1b87bf1e131ab16e672d36f557e088d

6 years agoUpdate BuildTools, CoreFx to preview2-02516-02, preview2-26216-01, respectively ...
dotnet-maestro-bot [Fri, 16 Feb 2018 05:35:06 +0000 (23:35 -0600)]
Update BuildTools, CoreFx to preview2-02516-02, preview2-26216-01, respectively (dotnet/corefx#27186)

Commit migrated from https://github.com/dotnet/corefx/commit/808a63a56e11d8c03c4551e738f76510c65dd1fc

6 years agoEnforce ILLink AssemblyPath order (dotnet/corefx#27188)
Paulo Janotti [Fri, 16 Feb 2018 04:00:49 +0000 (20:00 -0800)]
Enforce ILLink AssemblyPath order (dotnet/corefx#27188)

The order of assembly references should take project references first.

Commit migrated from https://github.com/dotnet/corefx/commit/7c4602eff88e30241f8f07a4ea7146e623045e90

6 years agoLog libc version in our "OS info logging test" (dotnet/corefx#27143)
Dan Moseley [Fri, 16 Feb 2018 03:59:23 +0000 (19:59 -0800)]
Log libc version in our "OS info logging test" (dotnet/corefx#27143)

* Glibc logging

* Updates

Commit migrated from https://github.com/dotnet/corefx/commit/1840df10f8ea2d62ceb2b5ab2c367f4f9e54e6da

6 years agoRemove FileSystem unused common files (dotnet/corefx#27184)
Jeremy Kuhne [Fri, 16 Feb 2018 02:45:51 +0000 (18:45 -0800)]
Remove FileSystem unused common files (dotnet/corefx#27184)

Also update .sln using UpdateVSConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/7eb6dba62ec630d33db7dcd9e810a937a92d975f

6 years agoChange RootDirectory properties to span (dotnet/corefx#27134)
Jeremy Kuhne [Fri, 16 Feb 2018 00:41:51 +0000 (16:41 -0800)]
Change RootDirectory properties to span (dotnet/corefx#27134)

Exposing string restricts the ability to change internals without introducing unnecessary allocations.

Commit migrated from https://github.com/dotnet/corefx/commit/3ac69e86e0c8e654a9802bf593fdc98ea69a4fb8

6 years agoUpdate BuildTools to preview2-02515-02 (dotnet/corefx#27175)
dotnet-maestro-bot [Fri, 16 Feb 2018 00:20:07 +0000 (18:20 -0600)]
Update BuildTools to preview2-02515-02 (dotnet/corefx#27175)

Commit migrated from https://github.com/dotnet/corefx/commit/bda2ef6506e6bd8bd8a839bca3d02d2517e587f4

6 years agoFix regression & enable ClearInitLocals in System.Text.RegularExpressions (dotnet...
Viktor Hofer [Thu, 15 Feb 2018 22:32:19 +0000 (23:32 +0100)]
Fix regression & enable ClearInitLocals in System.Text.RegularExpressions (dotnet/corefx#27146)

* Fix bug in RegexWriter ref struct change

* Remove duplicate ValueListBuilder implementation

* Enable ILLinkClearInitLocals

* Rename concrete ValueListBuilder impl to Pop

Commit migrated from https://github.com/dotnet/corefx/commit/9e0151b48f3a45d497e8835423ed38e7661cd056

6 years agoMerge pull request dotnet/corefx#27151 from geoffkizer/sslproxytunnel
Geoff Kizer [Thu, 15 Feb 2018 21:39:32 +0000 (13:39 -0800)]
Merge pull request dotnet/corefx#27151 from geoffkizer/sslproxytunnel

SocketsHttpHandler: refactor pool manager logic to enable SSL proxy tunneling support

Commit migrated from https://github.com/dotnet/corefx/commit/6e3bcbec17273cd38db67e47e7a2975a25160ac2

6 years agoStreamline SocketHttpHandler's ParseStatusLine validation (dotnet/corefx#27163)
Stephen Toub [Thu, 15 Feb 2018 21:04:40 +0000 (16:04 -0500)]
Streamline SocketHttpHandler's ParseStatusLine validation (dotnet/corefx#27163)

* Streamline SocketHttpHandler's ParseStatusLine validation

For a typical status line like "HTTP/1.1 200 OK", cuts the time of ParseStatusLine almost in half.

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/c8d23b4941b3b620633db397a0094f55b01be22b

6 years agoMake many helpers, factories and tables static in Microsoft.CSharp (dotnet/corefx...
Jon Hanna [Thu, 15 Feb 2018 20:37:30 +0000 (20:37 +0000)]
Make many helpers, factories and tables static in Microsoft.CSharp (dotnet/corefx#27044)

* Have TypeArray in charge of the empty TypeArray singleton

* Make TypeArray allocation a static responsibility of TypeArray

* Remove some orphaned members.

Mostly BSYMMGR-returning members that had been used to allocate
TypeArrays

* Make members static were possible.

Those that can already be easily made static. Includes removing some
members that this makes no longer necessary.

* Remove unused parameters

Since some are of the types we'll be making static, and such parameters
will have to go anyway.

* Make TypeTable static

And more conventional names within TypeTable.

* More TypeManager state & methods to static

* Make SYMTBL.Key an immutable struct.

* SYMTBL completely static and renamed to SymbolStore

More conventional name, and doesn't clash with other SymbolTable class.

* GetWinRTCollectionIfacesAll to property.

* SymFactory static class.

* Remove PredefinedTypes._symbolManager field

Only used in assertion.

* Remove assert comparison with this in GetAggregate

Assert is the only reason to not be static, allows a cascade of more
changes to static.

* Make InternalsVisibleTo check static.

* Make cycle of instance methods static

Take quite a large set of methods which must be instance because of
cyclic instance dependencies, and make them all static.

Removes dependency in AggregateSymbol and NullableType on TypeManager
instances.

* Replace GetAggTypeSym with virtual method on CType.

Merged with existing GetAts on NullableType. Comment says this would be
nice, and indeed it would, and its easy now.

* Make those members that can now be static, static.

* Remove orphaned members and fields.

* PredefinedMembers entirely static.

* Remove UserStringBuilder.m_buildingInProgress

Only used in asserts, just assert on whether m_strBuilder is null or
not.

Also rename m_strBuilder to _strBuilder to be more conventional.

* Favour returning over out in UserStringBuilder

And favour clearing StringBuilder over creating another.

* Make ErrorHandling completely static.

Creating UserStringBuilder instances on demand.

* TypeManager static.

* Make CNullable methods static and merge directly into ExpressionBinder

Don't cache method and property, as they're already cached.

* Don't preload types.

Either they'll be loaded soon anyway, or else it's a wasted effort.

* Move CompareTypes into Better.cs

* Remove BSYMMGR.LookupAggMember

Just call into SymbolStore.LookupSym

* Move LookupNextSym logic into Symbol

* Remove BSYMMGR and GlobalSymbolContext

No longer any use.

* ExprFactory static

* SymbolLoader static

* CSemanticChecker static

* Don't pre-emptively load System.Object

Will be loaded as a base of the first type encountered anyway.

* SymbolTable static

* More methods can be made static

* Remove orphaned method.

* Move methods for getting MemberInfos from expressions into those expressions

* Replace ExpressionTreeCallRewriter.GetObject with virtual property in Expr

* TypeArray tidy-up.

* Pass ExpressionBinder to operator delegates, and make them static.

Allows array to be created once statically, rather than on each
instance construction.

* Create RuntimeBinder, ExpressionBinder and BindingContext per operation

These are now very lightweight, so it's simpler to create them anew
each time rather than overwriting the values in the BindingContext.

* Make RuntimeBinder, ExpressionBinder and BindingContext structs

No need to allocate on the heap.

* Remove AggregateDeclaration

We only ever care about the AggregateSymbol it relates to.

(The two aren't really separate in dynamic code, where there aren't
really declarations).

* Remove IsChecked and CallingContext from C# binders.

Now not used as they are passed to RuntimeBinder on construction,
except for CallingContext remaining in CSharpInvokeMemberBinder for use
in deferring.

* Make RecordBinOpSigFromArgs static.

A last member that can be made static.

* Make static-member-only classes static.

* Make NameHashKey a readonly struct.

Commit migrated from https://github.com/dotnet/corefx/commit/b7d1ae93c179510991f75709c3c3c1d3e3d062c1

6 years agoFix race condition in PostAsyncExpect100Continue_RetryOnConnectionClosed_Success...
Stephen Toub [Thu, 15 Feb 2018 19:59:30 +0000 (14:59 -0500)]
Fix race condition in PostAsyncExpect100Continue_RetryOnConnectionClosed_Success test (dotnet/corefx#27148)

Commit migrated from https://github.com/dotnet/corefx/commit/28799e8af0556efe1b9e5e98b700460951ae9eb2

6 years agoUpdate BuildTools, CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview2-02515...
dotnet-maestro-bot [Thu, 15 Feb 2018 19:25:39 +0000 (13:25 -0600)]
Update BuildTools, CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview2-02515-01, preview2-26214-07, preview2-26215-04, beta-26215-00, beta-26215-00, respectively (dotnet/corefx#27112)

Commit migrated from https://github.com/dotnet/corefx/commit/42a3e4384f419322bb4ea32a63fda0ff75e3f29d

6 years agoInitialized a bool variable to fix warning (dotnet/corefx#26947)
Jiayi Yu [Thu, 15 Feb 2018 19:08:39 +0000 (11:08 -0800)]
Initialized a  bool variable to fix warning (dotnet/corefx#26947)

Commit migrated from https://github.com/dotnet/corefx/commit/5615f5325cd41e49ba970b3f8bd620d3680cfe90

6 years agoaddress review feedback
Geoff Kizer [Thu, 15 Feb 2018 18:55:32 +0000 (10:55 -0800)]
address review feedback

Commit migrated from https://github.com/dotnet/corefx/commit/46785d3ae61987ae8ae389b2138645e82b54efb0

6 years agoCurrent directory code duplicates Environment (dotnet/corefx#27153)
Jeremy Kuhne [Thu, 15 Feb 2018 18:32:03 +0000 (10:32 -0800)]
Current directory code duplicates Environment (dotnet/corefx#27153)

Just call Environment.CurrentDirectory. Remove a number of P/Invokes
that are no longer in use.

Commit migrated from https://github.com/dotnet/corefx/commit/8e6222ab2f2b48f20a274272693665dac8259c79

6 years agoRemove more orphaned code in Microsoft.CSharp (dotnet/corefx#27104)
Jon Hanna [Thu, 15 Feb 2018 18:18:00 +0000 (18:18 +0000)]
Remove more orphaned code in Microsoft.CSharp (dotnet/corefx#27104)

* Remove IExprWithObject and ExprWithArgs.OptionalObject

No longer used.

* Remove CLR_PostIncrement/Decrement

Rename CLR_PreIncrement/Decrement to CLR_Increment/Decrement as it
covers both pre- and post- cases.

* Remove Symbol.IsVirtual()

Commit migrated from https://github.com/dotnet/corefx/commit/0a61a146f78eb396d057eae9734d3f6e335d9a8b

6 years agoMade a few tweaks to pipelines (dotnet/corefx#27158)
David Fowler [Thu, 15 Feb 2018 18:03:02 +0000 (10:03 -0800)]
Made a few tweaks to pipelines (dotnet/corefx#27158)

* Made a few tweaks to pipelines
- Renamed the file containing the class IDuplexPipe
- Changed the default scheduler to use the ThreadPool if none was specified

Commit migrated from https://github.com/dotnet/corefx/commit/c2b5a8e3d6339a2c863b1cd48b8663273574fe48

6 years agoRemove intrinsic from Vector4:op_Division(struct,float) (dotnet/corefx#27122)
Ben Adams [Thu, 15 Feb 2018 16:10:22 +0000 (16:10 +0000)]
Remove intrinsic from Vector4:op_Division(struct,float) (dotnet/corefx#27122)

* Remove intrinsic from Vector4:op_Division(struct,float)

* feedback

Commit migrated from https://github.com/dotnet/corefx/commit/820949492d84ed81c6f793e142b54f33cbd65524

6 years agodisable two tests on ubuntu 18 while investigating root casue (dotnet/corefx#27144)
Tomas Weinfurt [Thu, 15 Feb 2018 10:47:50 +0000 (02:47 -0800)]
disable two tests on ubuntu 18 while investigating root casue (dotnet/corefx#27144)

Commit migrated from https://github.com/dotnet/corefx/commit/d00eb7ec42434b0a7e2c3b4f6cd88c896ebaa30f

6 years agoCleaning out dead code (dotnet/corefx#27150)
Jeremy Kuhne [Thu, 15 Feb 2018 06:49:17 +0000 (22:49 -0800)]
Cleaning out dead code (dotnet/corefx#27150)

Also refactor Unix attribute handling a bit to be more consistent and
ensure that we don't make unnecessary addtional filesystem calls.

Commit migrated from https://github.com/dotnet/corefx/commit/16f26ba855f5cc6d52a738e8bc3856c6f77cf761

6 years agoTemporarily Disable EventSource ETW Tests and Revert TraceEvent Package Version ...
Brian Robbins [Thu, 15 Feb 2018 03:48:46 +0000 (19:48 -0800)]
Temporarily Disable EventSource ETW Tests and Revert TraceEvent Package Version (dotnet/corefx#27141)

Commit migrated from https://github.com/dotnet/corefx/commit/0cf7583bf8d01e5445950b03956b2134402de286

6 years agoAdding test to verify FileStream.Dispose() ignores IO Related Exception in finalizer...
Maryam Ariyan [Thu, 15 Feb 2018 03:20:00 +0000 (22:20 -0500)]
Adding test to verify FileStream.Dispose() ignores IO Related Exception in finalizer (dotnet/corefx#26921)

* Adding test to verify FileStream.Dispose() skips IO Related Exception only on finalization

* Skipping test on netfx because the behavior in netfx is different

Commit migrated from https://github.com/dotnet/corefx/commit/a15cc53eb5a4248c76bdc60beb3e31628bd8acf8

6 years agoFixing fa-IR negative currency format for test GetCurrencyNegativePatterns (dotnet...
Maryam Ariyan [Thu, 15 Feb 2018 03:03:22 +0000 (22:03 -0500)]
Fixing fa-IR negative currency format for test GetCurrencyNegativePatterns (dotnet/corefx#27138)

Fixes dotnet/corefx#27022 and dotnet/corefx#27127

Commit migrated from https://github.com/dotnet/corefx/commit/fe548ac62bdc46785e7e153a5f2a3de15daefd6d

6 years agoadd code to establish proxy tunnel for SSL
Geoff Kizer [Thu, 15 Feb 2018 02:43:15 +0000 (18:43 -0800)]
add code to establish proxy tunnel for SSL

Commit migrated from https://github.com/dotnet/corefx/commit/d84a28844502bcf30538a18e30e33118ca879467

6 years agoreorganize pool manager logic and rework HttpConnectionKey to support ssl proxy tunneling
Geoff Kizer [Wed, 14 Feb 2018 06:52:20 +0000 (22:52 -0800)]
reorganize pool manager logic and rework HttpConnectionKey to support ssl proxy tunneling

Commit migrated from https://github.com/dotnet/corefx/commit/39ed24e9f6f55d6077742776e154ead199e1b3a0

6 years agoDisable a SignalAndWait test so that relevant change in CoreCLR can be brought into...
Koundinya Veluri [Thu, 15 Feb 2018 00:15:01 +0000 (16:15 -0800)]
Disable a SignalAndWait test so that relevant change in CoreCLR can be brought into CoreFX (dotnet/corefx#27131)

Commit migrated from https://github.com/dotnet/corefx/commit/6f06dcc32df6939e726d46ca45f8491db7967fb8

6 years agoAdd some pattern transformation tests (dotnet/corefx#27133)
Jeremy Kuhne [Thu, 15 Feb 2018 00:06:04 +0000 (16:06 -0800)]
Add some pattern transformation tests (dotnet/corefx#27133)

Commit migrated from https://github.com/dotnet/corefx/commit/11182e0c4e65fb1e6fa0596ca9d991e3382c9fb2

6 years agoreduce regex op code time (dotnet/corefx#26877)
Viktor Hofer [Thu, 15 Feb 2018 00:02:08 +0000 (01:02 +0100)]
reduce regex op code time (dotnet/corefx#26877)

* reduce regex op code time

* Use ValueListBuilder and stackalloc during op code generation

* Increasing op array size

Commit migrated from https://github.com/dotnet/corefx/commit/1eb5ddf1d0a3dbc0a221769a45d81d2a2b7fa81d

6 years agoAdd support for PDB Checksum debug directory entry (dotnet/corefx#26976)
Tomáš Matoušek [Wed, 14 Feb 2018 23:01:55 +0000 (15:01 -0800)]
Add support for PDB Checksum debug directory entry (dotnet/corefx#26976)

Commit migrated from https://github.com/dotnet/corefx/commit/6b099e771d3b775b5cd273ec1b6fcec12ee7abbe

6 years agoMerge pull request dotnet/corefx#27088 from geoffkizer/refactorloopbackserver
Geoff Kizer [Wed, 14 Feb 2018 19:13:34 +0000 (11:13 -0800)]
Merge pull request dotnet/corefx#27088 from geoffkizer/refactorloopbackserver

reorganize and cleanup some LoopbackServer code

Commit migrated from https://github.com/dotnet/corefx/commit/46267c1dbe46f0127e670ce25933ff49a5ec9d6e

6 years agoAdd FixedTimeEquals and other crypto helper routines as public API
Jeremy Barton [Wed, 14 Feb 2018 15:33:30 +0000 (07:33 -0800)]
Add FixedTimeEquals and other crypto helper routines as public API

Commit migrated from https://github.com/dotnet/corefx/commit/3872bafe8186a3e74cb66efa4a2835d60ed67ba2

6 years agoAPI tweaks to match latest updates to spec (dotnet/corefx#27102)
Jeremy Kuhne [Wed, 14 Feb 2018 05:49:57 +0000 (21:49 -0800)]
API tweaks to match latest updates to spec (dotnet/corefx#27102)

* API tweaks to match latest updates to spec

Add a few new tests

See dotnet/corefx#25873

* Properly clear state when enumerating on Unix.
Make sure we don't include special directories in subdir processing. Add test.
Collapse helper that was only called in one place, and remove dead one.

Commit migrated from https://github.com/dotnet/corefx/commit/1c9cd8118abfa13165d88a4e660fbdcc6c2ebc4c

6 years agoFix and Enable Most ETW EventSource Tests (dotnet/corefx#27107)
Brian Robbins [Wed, 14 Feb 2018 04:25:55 +0000 (20:25 -0800)]
Fix and Enable Most ETW EventSource Tests (dotnet/corefx#27107)

Commit migrated from https://github.com/dotnet/corefx/commit/ad52ae103416ea67e30abf21c19d5d0c0cd01b11

6 years agoMove Windows builds to DotNetCore-Build (Server 2016 + VS 2017 only) build agents.
Matt Galbraith [Fri, 9 Feb 2018 22:22:28 +0000 (14:22 -0800)]
Move Windows builds to DotNetCore-Build (Server 2016 + VS 2017 only) build agents.

Commit migrated from https://github.com/dotnet/corefx/commit/8606fede4922513fbb83b090361545d8998ab653

6 years agoMerge pull request dotnet/corefx#27007 from pakrym/pakrym/pipelines
Krzysztof Cwalina [Wed, 14 Feb 2018 00:37:20 +0000 (16:37 -0800)]
Merge pull request dotnet/corefx#27007 from pakrym/pakrym/pipelines

Add System.IO.Pipelines API

Commit migrated from https://github.com/dotnet/corefx/commit/3c708ab64564304fed352355b52e2ea047860e4d

6 years agofix tests from merge
Geoff Kizer [Wed, 14 Feb 2018 00:03:28 +0000 (16:03 -0800)]
fix tests from merge

Commit migrated from https://github.com/dotnet/corefx/commit/b028092ce1af45e109edb0609b7b8cef42ee8a99

6 years agoadd response generation overloads
Geoff Kizer [Tue, 13 Feb 2018 23:03:42 +0000 (15:03 -0800)]
add response generation overloads

Commit migrated from https://github.com/dotnet/corefx/commit/6943fc7c0e92359e6335a618f6ff5ee8402af4ac

6 years agoaddress PR feedback
Geoff Kizer [Tue, 13 Feb 2018 21:14:44 +0000 (13:14 -0800)]
address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/6ab005635528a03daa52ca727a4a74dcc0316830

6 years agoreorganize and cleanup some LoopbackServer code
Geoff Kizer [Sun, 11 Feb 2018 22:04:30 +0000 (14:04 -0800)]
reorganize and cleanup some LoopbackServer code

Commit migrated from https://github.com/dotnet/corefx/commit/ec6a7215bb28a061d2357d8c3874447bc575132d

6 years agoChange HTTP default request version to HTTP/2 (dotnet/corefx#27079)
Caesar Chen [Tue, 13 Feb 2018 23:24:22 +0000 (15:24 -0800)]
Change HTTP default request version to HTTP/2 (dotnet/corefx#27079)

* change http default request version

* fix innerloop test

Commit migrated from https://github.com/dotnet/corefx/commit/f7a852f64bf20889579be70710f386a8d4802a34

6 years agoMore comments
Pavel Krymets [Tue, 13 Feb 2018 22:32:58 +0000 (14:32 -0800)]
More comments

Commit migrated from https://github.com/dotnet/corefx/commit/17b00a58129e659cf01a1cb6c045c400f8e0c984

6 years agoFix test project
Jose Perez Rodriguez [Tue, 13 Feb 2018 22:24:40 +0000 (14:24 -0800)]
Fix test project

Commit migrated from https://github.com/dotnet/corefx/commit/bb72f2e32593383ec3862d064cc8916ba5c4daa4

6 years agoEnable SocketsHttpHandler cancellation support (dotnet/corefx#27029)
Stephen Toub [Tue, 13 Feb 2018 21:30:34 +0000 (16:30 -0500)]
Enable SocketsHttpHandler cancellation support (dotnet/corefx#27029)

* Enable SocketsHttpHandler cancellation support

This change significantly improves the cancellation support in SocketsHttpHandler.  Previously we were passing the CancellationToken around to every method, eventually bottoming out in calls to the underlying Stream which then ends up passing them down to the underlying Socket.  But today Socket's support for cancellation is minimal, only doing up-front checks; if cancellation is requested during the socket operation rather than before, the request will be ignored.  Since HttpClient implements features like timeouts on top of cancellation support, it's important to do better than this.

The change implements cancellation by registering with the CancellationToken to dispose of the connection.  This will cause any reads/writes to wake up.  We then translate resulting exceptions into cancellation exceptions.  When in the main SendAsync method, we register once for the whole body of the operation until the point that we're returning the response message.  For individual operations on the response content stream, we register per operation; however, when feasible we try to avoid the registration costs by only registering if operations don't complete synchronously.  We also account for the case that on Unix, closing the connection may result in read operations waking up not with an exception but rather with EOF, which we also need to translate into cancellation when appropriate.

Along the way I cleaned up a few minor issues as well.

I also added a bunch of cancellation-related tests:
- Test cancellation occurring while sending request content
- Test cancellation occurring while receiving response headers
- Test cancellation occurring while receiving response body and using a buffered operation
- Test that all of the above are triggerable with CancellationTokenSource.Cancel, HttpClient.CancelPendingRequests, and HttpClient.Dispose
- Test cancellation occurring while receiving response body and using an unbuffered operation, either a ReadAsync or CopyToAsync on the response stream
- Test that a CancelPendingRequests doesn't affect unbuffered operations on the response stream

There are deficiencies here in the existing handlers, and tests have been selectively disabled accordingly (I also fixed a couple cases that naturally fell out of the changes I was making for SocketsHttpHandler).  SocketsHttpHandler passes now for all of them.

* Add test that Dispose doesn't cancel response stream

Commit migrated from https://github.com/dotnet/corefx/commit/53be85c2fe473fdea8c001e3d9fd81dd478b858e

6 years agoAdded tests for Microsoft.VisualBasic.CompilerServices.Conversions dotnet/corefx...
Oswald Maskens [Tue, 13 Feb 2018 21:04:14 +0000 (22:04 +0100)]
Added tests for Microsoft.VisualBasic.CompilerServices.Conversions dotnet/corefx#1… (dotnet/corefx#26744)

* Added tests for Microsoft.VisualBasic.CompilerServices.Conversions dotnet/corefx#14344

* added tests for ToBoolean fro Object

Commit migrated from https://github.com/dotnet/corefx/commit/c705032f0f4f6e3d34f65cf5660e3c8ea109ad47

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview2-02513-01, preview2-26213-05, preview2...
dotnet-maestro-bot [Tue, 13 Feb 2018 20:02:54 +0000 (14:02 -0600)]
Update BuildTools, CoreClr, CoreFx to preview2-02513-01, preview2-26213-05, preview2-26213-06, respectively (dotnet/corefx#27093)

Commit migrated from https://github.com/dotnet/corefx/commit/b9b5b807378f7d17817749288c6b89db9694181a

6 years agoRemove 'PDBC' data signature
Tomáš Matoušek [Tue, 13 Feb 2018 19:41:05 +0000 (11:41 -0800)]
Remove 'PDBC' data signature

Commit migrated from https://github.com/dotnet/corefx/commit/a3647d844791f916dff1053665bbce4574d0b8ee

6 years agoFixing pkgproj
Jose Perez Rodriguez [Tue, 13 Feb 2018 19:24:31 +0000 (11:24 -0800)]
Fixing pkgproj

Commit migrated from https://github.com/dotnet/corefx/commit/200bae71172c2aaae4698eb7ab5f14d72d678bea

6 years agoFix Process Start tests in outerloop on Unix.
Eric Erhardt [Fri, 9 Feb 2018 05:02:42 +0000 (21:02 -0800)]
Fix Process Start tests in outerloop on Unix.

Get the real user name in the test process, not the child process.  The outerloop tests are run with 'sudo'.  Which means by the time we are in the child process SUDO_USER will be set to 'root', since the parent test process was run with 'sudo'.

Fixes dotnet/corefx#26675

Commit migrated from https://github.com/dotnet/corefx/commit/bca11a079c914ed971b2f300b876f89a920a0398

6 years agoNetCoreapp
Pavel Krymets [Tue, 13 Feb 2018 18:39:47 +0000 (10:39 -0800)]
NetCoreapp

Commit migrated from https://github.com/dotnet/corefx/commit/bb0d1299434fcaeabaecef5c602552cdcbe87359

6 years agoIDuplexPipe
Pavel Krymets [Tue, 13 Feb 2018 16:46:24 +0000 (08:46 -0800)]
IDuplexPipe

Commit migrated from https://github.com/dotnet/corefx/commit/82be16bb63124e8113ffb339b3d81c009996f957

6 years agoT
Pavel Krymets [Tue, 13 Feb 2018 16:22:58 +0000 (08:22 -0800)]
T

Commit migrated from https://github.com/dotnet/corefx/commit/792c5cdda0a93f59428e58a1d830dac0c1176e87

6 years agoFix SocketsHttpHandler connection pool accounting for dropped connections (dotnet...
Stephen Toub [Tue, 13 Feb 2018 13:38:32 +0000 (08:38 -0500)]
Fix SocketsHttpHandler connection pool accounting for dropped connections (dotnet/corefx#27068)

When MaxConnectionsPerServer is set to anything other than int.MaxValue, the SocketsHttpHandler pool keeps track of the number of connections handed out, and this count is updated when a connection is disposed.  But if a response stream isn't disposed of, resulting in the connection never being disposed of, the count may never be updated.  This fix adds an HttpConnection derived type that simply adds a finalizer, making it pay-for-play when MaxConnectionsPerServer is set to something other than the default.

Commit migrated from https://github.com/dotnet/corefx/commit/ffa5db357252913c52e0cdad63c1573020185f6e

6 years agoClear initlocals in a bunch of assemblies (dotnet/corefx#26993)
Stephen Toub [Tue, 13 Feb 2018 11:30:25 +0000 (06:30 -0500)]
Clear initlocals in a bunch of assemblies (dotnet/corefx#26993)

* Clear initlocals in a bunch of assemblies

Sets
```XML
<ILLinkClearInitLocals>true</ILLinkClearInitLocals>
```
for the assemblies:
    - System.IO.FileSystem
    - System.IO.Pipes
    - System.Memory
    - System.Net.Http
    - System.Net.Http.WinHttpHandler
    - System.Net.NameResolution
    - System.Net.NetworkInformation
    - System.Net.Primitives
    - System.Net.Requests
    - System.Net.Security
    - System.Net.Sockets
    - System.Net.WebSockets
    - System.Net.WebSockets.Client
    - System.Net.WebSockets.WebSocketsProtocol
    - System.Private.Uri
    - System.Runtime
    - System.Runtime.Extensions

Eventually we'd ideally set the flag for the whole repo; these are just the ones I audited thus far.  In a few cases I had to make code changes to adapt, where the code was expecting stackallocs to be cleared.  I also looked at a few other projects (System.Collections, System.Runtime.Numerics) where there were more significant dependencies on clearing and I decided to leave those for later.

* Disable ILLinkClearInitLocals running on Unix until it works there

Commit migrated from https://github.com/dotnet/corefx/commit/f0a032e4a1c8a848574a5db3e69e8a6fa0aae91e

6 years agoRevert Managed SNI usage flag (dotnet/corefx#27089)
Saurabh Singh [Tue, 13 Feb 2018 09:47:02 +0000 (01:47 -0800)]
Revert Managed SNI usage flag (dotnet/corefx#27089)

Commit migrated from https://github.com/dotnet/corefx/commit/23709d07c3cb8e5c4be36ffe7f480151becc54b3

6 years agoWorkstation Id should be returned correctly (dotnet/corefx#27076)
Saurabh Singh [Tue, 13 Feb 2018 07:54:59 +0000 (23:54 -0800)]
Workstation Id should be returned correctly (dotnet/corefx#27076)

* Fix workstation Id

* Tests for workstation id

* Add more test cases

Commit migrated from https://github.com/dotnet/corefx/commit/7425455ace4c7819b786c2f0b42fb630944aeef3

6 years agoMerge pull request dotnet/corefx#27069 from stephentoub/cachessl
Geoff Kizer [Tue, 13 Feb 2018 07:11:11 +0000 (23:11 -0800)]
Merge pull request dotnet/corefx#27069 from stephentoub/cachessl

Cache SslClientAuthenticationOptions on SocketsHttpHandler pool

Commit migrated from https://github.com/dotnet/corefx/commit/a438733f09a739bfbd4b9f945ba049386858019a

6 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-26213-00, beta-26213-00, respectively...
dotnet-maestro-bot [Tue, 13 Feb 2018 05:58:07 +0000 (23:58 -0600)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-26213-00, beta-26213-00, respectively (dotnet/corefx#27083)

Commit migrated from https://github.com/dotnet/corefx/commit/73d8163328b17fee3d32ff295b03fab13fdb721e

6 years agoUpdate CoreClr, CoreFx to preview2-26212-08, preview2-26213-01, respectively (dotnet...
dotnet-maestro-bot [Tue, 13 Feb 2018 03:59:14 +0000 (21:59 -0600)]
Update CoreClr, CoreFx to preview2-26212-08, preview2-26213-01, respectively (dotnet/corefx#27080)

Commit migrated from https://github.com/dotnet/corefx/commit/bf5f02752633d92afcb249fe166a81ae84d59c77

6 years agoLower the default stack buffer size for calling getpwXXX_r methods.
Eric Erhardt [Tue, 13 Feb 2018 01:39:17 +0000 (19:39 -0600)]
Lower the default stack buffer size for calling getpwXXX_r methods.

By default, 1K is too large of a buffer to allocate on the stack.

Fixes dotnet/corefx#26959

Commit migrated from https://github.com/dotnet/corefx/commit/5cbac95f5530695a31a43e7748a4561e3a2dd32d

6 years agoMore PR comments
Pavel Krymets [Mon, 12 Feb 2018 23:48:28 +0000 (15:48 -0800)]
More PR comments

Commit migrated from https://github.com/dotnet/corefx/commit/1f7f6a2bb900b132689be5926c3fb132d7fe702d

6 years agoPR Comments, temporary undo src crosscompile
Pavel Krymets [Mon, 12 Feb 2018 23:34:33 +0000 (15:34 -0800)]
PR Comments, temporary undo src crosscompile

Commit migrated from https://github.com/dotnet/corefx/commit/0cfbb25249dc640059d10120ae044455764cc71a

6 years agoSwitch from using SafeHandle for Unix enumeration (dotnet/corefx#27052)
Jeremy Kuhne [Mon, 12 Feb 2018 21:56:17 +0000 (13:56 -0800)]
Switch from using SafeHandle for Unix enumeration (dotnet/corefx#27052)

* Switch from using SafeHandle for Unix enumeration

* Address feedback

* Fix faceplant, dispose in test.

Commit migrated from https://github.com/dotnet/corefx/commit/c9100ffc2988a0faf0e92898762a445ccb3c0e13

6 years agoProject changeS
Pavel Krymets [Mon, 12 Feb 2018 20:49:14 +0000 (12:49 -0800)]
Project changeS

Commit migrated from https://github.com/dotnet/corefx/commit/2d44625e288fd28ba644c813a9e0d23ecfc95ddb

6 years agoPipelines RP comments
Pavel Krymets [Mon, 12 Feb 2018 20:35:48 +0000 (12:35 -0800)]
Pipelines RP comments

Commit migrated from https://github.com/dotnet/corefx/commit/50713cf859900e8116986e80b6d1a1da736645fc

6 years agoDisable drawing test for distro Ubuntu18.04 (dotnet/corefx#27036)
Maryam Ariyan [Mon, 12 Feb 2018 19:35:36 +0000 (14:35 -0500)]
Disable drawing test for distro Ubuntu18.04 (dotnet/corefx#27036)

* Disable drawing test for distro Ubuntu18.04

* Adding a new properties called IsUbuntu1804 and IsUbuntu1710OrHigher in PlatformDetection

Related to dotnet/corefx#27021

Commit migrated from https://github.com/dotnet/corefx/commit/4b4440b4c0fc280d3a9c09d117a1a6eafbbcb6c2

6 years agoClear Authorization Headers on Redirect (dotnet/corefx#26864)
Max Kerr [Mon, 12 Feb 2018 19:28:09 +0000 (11:28 -0800)]
Clear Authorization Headers on Redirect (dotnet/corefx#26864)

When a user has added an Authorization header to a request via the HttpClient DefaultRequestHeaders Authorization field, ensure that header is stripped on redirect.

This change adds a method to strip Authorization headers that were set via the HttpClient DefaultRequestHeaders Authorization field, and calls that method on redirect. In addition, it adds a test to ensure that this behavior occurs as expected.

The new method ResetAuthRequestHeaders is based on the method ResetCookieRequestHeaders, which is used to reset cookie headers on redirect.

The issue also occurs in CurlHandler, but the fix is slightly different. Rather than remove the headers that have already been set, we can instead just skip them when copying over the new headers to the redirected request.

Fixes dotnet/corefx#26426

Commit migrated from https://github.com/dotnet/corefx/commit/7e6396b2bcb4d372b199cfb7b3b13e290c441124

6 years agoFix the throwing exception from ChannelReader.ReadAsync (dotnet/corefx#27070)
Tarek Mahmoud Sayed [Mon, 12 Feb 2018 19:20:55 +0000 (11:20 -0800)]
Fix the throwing exception from ChannelReader.ReadAsync (dotnet/corefx#27070)

Commit migrated from https://github.com/dotnet/corefx/commit/20d9824ac3f877b2a72dd6a729134e0c5fd960ee

6 years agoFix HttpClientMiniStress.UnreadResponseMessage_Collectible test (dotnet/corefx#27061)
Stephen Toub [Mon, 12 Feb 2018 18:39:02 +0000 (13:39 -0500)]
Fix HttpClientMiniStress.UnreadResponseMessage_Collectible test (dotnet/corefx#27061)

The async state machine was holding a reference to the response content object, which in turn prevented the response stream from being collected.

Commit migrated from https://github.com/dotnet/corefx/commit/6c9b62981190ae5886196f37d0f5dc614f4b0244

6 years agoUpdate rename of ManagedHandler to SocketsHttpHandler
Karel Zikmund [Mon, 12 Feb 2018 17:51:53 +0000 (09:51 -0800)]
Update rename of ManagedHandler to SocketsHttpHandler

Commit migrated from https://github.com/dotnet/corefx/commit/a07b356e61a0a1d8e2d6d02bcc1e2062fbbd64ae

6 years agoCache SslClientAuthenticationOptions on SocketsHttpHandler pool
Stephen Toub [Mon, 12 Feb 2018 17:17:33 +0000 (12:17 -0500)]
Cache SslClientAuthenticationOptions on SocketsHttpHandler pool

For the common case, we can just use a singleton cached instance with settings computed when the pool is created.  Only if it's accessed via HttpClientHandler with a server certificate callback do we need to still create an instance per request, in order to wrap the delegate to provide the expected semantics.

Commit migrated from https://github.com/dotnet/corefx/commit/911d4aff095f1c8648334d4a221c217cd09e466b

6 years agoUpdate CoreClr, CoreFx to preview2-26212-05, preview2-26212-05, respectively (dotnet...
dotnet-maestro-bot [Mon, 12 Feb 2018 17:13:52 +0000 (11:13 -0600)]
Update CoreClr, CoreFx to preview2-26212-05, preview2-26212-05, respectively (dotnet/corefx#27060)

Commit migrated from https://github.com/dotnet/corefx/commit/38ff6d112eee1b93d402521f924d9952bef98ef9

6 years agoAllow RangeAttribute use to request InvariantCulture conversions. (dotnet/corefx...
Jon Hanna [Mon, 12 Feb 2018 16:30:14 +0000 (16:30 +0000)]
Allow RangeAttribute use to request InvariantCulture conversions. (dotnet/corefx#25918)

* Allow RangeAttribute use to request InvariantCulture conversions.

Adds a ParseLimitsInInvariantCulture that affects the interpretation of
the extrema set, and ConvertValueInInvariantCulture that affects the
interpretation of values.

Separate methods allows for e.g. a component assuming a
dot-decimal-separator culture defining a property with the attribute
(so invariant culture should be used) the use of the property is done
in a comma-decimal-separator (so the current culture should be used),
or any permutation of the two booleans.

Fixes dotnet/corefx#2648

* Skip NetFX on associated tests.

* Update tests in dotnet/corefx#25918 to work with changes from dotnet/corefx#26050

Commit migrated from https://github.com/dotnet/corefx/commit/015cf5d9832ed9d6734367c8a2e29dfa8bae4a25

6 years agofix stress response generation, and disable failing test (dotnet/corefx#27059)
Geoff Kizer [Mon, 12 Feb 2018 12:25:24 +0000 (04:25 -0800)]
fix stress response generation, and disable failing test (dotnet/corefx#27059)

Commit migrated from https://github.com/dotnet/corefx/commit/472c3d95749910ba600df296bbf01d78d7c4f6d8

6 years agoUpdate CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview2-26212-01, preview...
dotnet-maestro-bot [Mon, 12 Feb 2018 10:28:43 +0000 (04:28 -0600)]
Update CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview2-26212-01, preview2-26212-01, beta-26212-00, beta-26212-00, respectively (dotnet/corefx#27053)

Commit migrated from https://github.com/dotnet/corefx/commit/241ea5372d4770a7f596adf272833aa6dd63a289

6 years agoTweak CurlHandler SSL not supported messages to be more helpful (dotnet/corefx#27043)
Stephen Toub [Mon, 12 Feb 2018 10:27:57 +0000 (05:27 -0500)]
Tweak CurlHandler SSL not supported messages to be more helpful (dotnet/corefx#27043)

* Tweak CurlHandler SSL not supported messages to be more helpful

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/9cde3e174b2495cbcdf95995aea0bea4030d4aa9

6 years agoEnsure services get removed (dotnet/corefx#27054)
Dan Moseley [Mon, 12 Feb 2018 03:33:12 +0000 (19:33 -0800)]
Ensure services get removed (dotnet/corefx#27054)

Commit migrated from https://github.com/dotnet/corefx/commit/744c4cf021c1744082e12caf3e9b8dacf05a671a

6 years agoMerge pull request dotnet/corefx#26989 from geoffkizer/fixcookiehandling
Geoff Kizer [Mon, 12 Feb 2018 02:23:50 +0000 (18:23 -0800)]
Merge pull request dotnet/corefx#26989 from geoffkizer/fixcookiehandling

SocketsHttpHandler: Fix some issues with cookie handling, and add cookie tests

Commit migrated from https://github.com/dotnet/corefx/commit/8cee267154ef9dc6dde7a76a828844a200437872

6 years agoacutal -> actual (dotnet/corefx#27050)
John Doe [Mon, 12 Feb 2018 00:18:31 +0000 (16:18 -0800)]
acutal -> actual (dotnet/corefx#27050)

Commit migrated from https://github.com/dotnet/corefx/commit/36a15af564c8359881da9f98a7011a89253c0847

6 years agoModified Dns.GetHostAddressesAsync to be truly async (dotnet/corefx#26850)
Jeff Cyr [Mon, 12 Feb 2018 00:18:08 +0000 (19:18 -0500)]
Modified Dns.GetHostAddressesAsync to be truly async (dotnet/corefx#26850)

* Modified Dns.GetHostAddressesAsync to be truly async

* Applied code review recommendations

* Unix build fix

* Unix build fix dotnet/corefx#2

* Unix build fix dotnet/corefx#3

* NETFX build fix

* Fixed useGetHostByName logic

* Simplified ProcessResult code

* Cleaned up cancel code

* cleanup

Commit migrated from https://github.com/dotnet/corefx/commit/d3ff31e3b9e8c7b1e6003196650bae4a658ef889

6 years agofix tests on netfx
Geoff Kizer [Sun, 11 Feb 2018 22:49:42 +0000 (14:49 -0800)]
fix tests on netfx

Commit migrated from https://github.com/dotnet/corefx/commit/c7cc2a879d0a5b5f039caff36bef0c99f52604a2

6 years agoconsolidate cookie tests
Geoff Kizer [Sun, 11 Feb 2018 20:38:20 +0000 (12:38 -0800)]
consolidate cookie tests

Commit migrated from https://github.com/dotnet/corefx/commit/c20262c69a93449498d511014e9e69bad18f987a

6 years agoUpdate CoreClr, CoreFx to preview2-26211-03, preview2-26211-04, respectively (dotnet...
dotnet-maestro-bot [Sun, 11 Feb 2018 17:41:34 +0000 (11:41 -0600)]
Update CoreClr, CoreFx to preview2-26211-03, preview2-26211-04, respectively (dotnet/corefx#27041)

Commit migrated from https://github.com/dotnet/corefx/commit/14185df4430c7f9432ea4654676c7663c5f8957e

6 years agoAdd SocketsHttpHandler check for TransferEncodingChunked w/o Content (dotnet/corefx...
Stephen Toub [Sun, 11 Feb 2018 17:19:03 +0000 (12:19 -0500)]
Add SocketsHttpHandler check for TransferEncodingChunked w/o Content (dotnet/corefx#27040)

Commit migrated from https://github.com/dotnet/corefx/commit/bf5a3183bc901723ebe0bb3d178bec86cda57429