dotnet-bot [Wed, 29 Jun 2016 01:15:47 +0000 (01:15 +0000)]
Updating CoreFx dependencies to beta-24229-01
Commit migrated from https://github.com/dotnet/corefx/commit/
ffd2e90a31edfae15310c2b4ede41cf5d39282ea
Eric StJohn [Wed, 29 Jun 2016 00:11:14 +0000 (17:11 -0700)]
Merge pull request dotnet/corefx#9731 from ericstj/uri.redist.netcore50
Redist old build of System.Private.Uri
Commit migrated from https://github.com/dotnet/corefx/commit/
10d832f654d776f84457c53c97c25f9a708817c7
Cristian Pop [Tue, 28 Jun 2016 21:08:34 +0000 (14:08 -0700)]
Merge pull request dotnet/corefx#9715 from CIPop/test
Adding multi-machine installation scripts and unifying test configuration.
Commit migrated from https://github.com/dotnet/corefx/commit/
32b96925efce0dde416103862d0f37877918ec94
Stephen Toub [Tue, 28 Jun 2016 20:49:05 +0000 (16:49 -0400)]
Merge pull request dotnet/corefx#9726 from hughbe/throws-any-collections
Remove uses of ThrowsAny in System.Collections test helpers
Commit migrated from https://github.com/dotnet/corefx/commit/
3e1587c9051f793d80b81b5d483e87a5591092bd
Stephen Toub [Tue, 28 Jun 2016 20:43:33 +0000 (16:43 -0400)]
Merge pull request dotnet/corefx#9727 from dotnet-bot/UpdateDependencies20160628071739
Updating CoreFx dependencies to beta-24228-04
Commit migrated from https://github.com/dotnet/corefx/commit/
b8534fad75eac4379907ec7ae6b18d6c6e1f6c5d
Eric St. John [Tue, 28 Jun 2016 20:22:34 +0000 (13:22 -0700)]
Redist old build of System.Private.Uri
System.Private.Uri is part of the shared library and cannot be updated.
Commit migrated from https://github.com/dotnet/corefx/commit/
5da5eaa790a813a90d76b308f3c40e7b4a5a46a7
Tomáš Matoušek [Tue, 28 Jun 2016 19:46:09 +0000 (12:46 -0700)]
Implements MetadataBuilder.GetOrAddDocumentName (dotnet/corefx#9716)
* Implements MetadataBuilder.GetOrAddDocumentName
Commit migrated from https://github.com/dotnet/corefx/commit/
b90d787285edec417659f1a04bbb3e00f46945b8
Cristian Pop [Thu, 9 Jun 2016 00:32:30 +0000 (17:32 -0700)]
Adding multi-machine scripts and unifying configuration.
Commit migrated from https://github.com/dotnet/corefx/commit/
c354b2d44f6988a20a9f7be4a1b996ef7fbc873a
dotnet-bot [Tue, 28 Jun 2016 19:17:39 +0000 (19:17 +0000)]
Updating CoreFx dependencies to beta-24228-04
Commit migrated from https://github.com/dotnet/corefx/commit/
49cacc2fede602b31ad615fe5afc48c72bab7c75
Saurabh Singh [Tue, 28 Jun 2016 19:08:04 +0000 (12:08 -0700)]
Merge pull request dotnet/corefx#9606 from geleems/SqlClientInstanceName
Enabled connecntivity to connect SQL Server by instance name:
Commit migrated from https://github.com/dotnet/corefx/commit/
5bb44c772c5cb942a5a332d97487d0543fbcca68
Gene Lee [Tue, 28 Jun 2016 18:27:48 +0000 (11:27 -0700)]
Enabled connecntivity to connect SQL Server by instance name
Commit migrated from https://github.com/dotnet/corefx/commit/
ca53c317d0e0e71d6f43f3ebdaf34273bd4e7f7f
Stephen Toub [Tue, 28 Jun 2016 18:21:41 +0000 (14:21 -0400)]
Merge pull request dotnet/corefx#9723 from dotnet-bot/UpdateDependencies20160628011303
Updating CoreFx dependencies to beta-24228-03
Commit migrated from https://github.com/dotnet/corefx/commit/
39cc19e0426dfb3bbbb46391645b72488e187805
Hugh Bellamy [Tue, 28 Jun 2016 18:03:46 +0000 (19:03 +0100)]
Remove uses of ThrowsAny in System.Collections test helpers
Add customization points instead
Also uses expression bodied members to enhance readability
Commit migrated from https://github.com/dotnet/corefx/commit/
803d77a37ac90d9ec4c0008772aed9a4085be023
Stephen Toub [Tue, 28 Jun 2016 17:37:05 +0000 (13:37 -0400)]
Updating CoreFx dependencies to beta-24228-03, CoreCLR to beta-24228-02
Commit migrated from https://github.com/dotnet/corefx/commit/
e640352cc92af7b2ebcb9d512f0ea446f1fbdae8
Ian Hays [Tue, 28 Jun 2016 17:32:12 +0000 (10:32 -0700)]
Merge pull request dotnet/corefx#8619 from hughbe/coverage-mscorlib-instructions
Add instructions for running code coverage with locally built mscorlib
Commit migrated from https://github.com/dotnet/corefx/commit/
580a985d5bdcdcf40d50eecb265912ad23fd0b9e
Hugh Bellamy [Tue, 17 May 2016 19:40:43 +0000 (20:40 +0100)]
Add instructions for running code coverage with locally built mscorlib
Fixes dotnet/corefx#8381
Commit migrated from https://github.com/dotnet/corefx/commit/
097f48becf8b4c645ede2c65ff2b8face98a4ee5
Stephen Toub [Tue, 28 Jun 2016 12:29:18 +0000 (08:29 -0400)]
Merge pull request dotnet/corefx#9717 from dotnet-bot/UpdateDependencies20160628051753
Updating External dependencies to beta-24228-00
Commit migrated from https://github.com/dotnet/corefx/commit/
ef95b87c558f495b30a435c00202628f6096b6f2
Stephen Toub [Tue, 28 Jun 2016 12:28:40 +0000 (08:28 -0400)]
Merge pull request dotnet/corefx#9714 from dotnet-bot/UpdateDependencies20160628011150
Updating CoreFx dependencies to beta-24228-01
Commit migrated from https://github.com/dotnet/corefx/commit/
2fd3d7c9831e11c683860ee8d99e042b98275cd0
dotnet-bot [Tue, 28 Jun 2016 05:17:53 +0000 (05:17 +0000)]
Updating External dependencies to beta-24228-00
Commit migrated from https://github.com/dotnet/corefx/commit/
deaabf86f94a0b98eb18baa34ea5a3364e8d1f47
Stephen Toub [Tue, 28 Jun 2016 02:17:48 +0000 (22:17 -0400)]
Updating CoreFx dependencies to beta-24228-01
Commit migrated from https://github.com/dotnet/corefx/commit/
341ba956fb9732a630e95d411a47db2f25059054
Stephen Toub [Tue, 28 Jun 2016 01:34:37 +0000 (21:34 -0400)]
Merge pull request dotnet/corefx#9705 from dotnet-bot/UpdateDependencies20160627071458
Updating CoreFx dependencies to beta-24227-04
Commit migrated from https://github.com/dotnet/corefx/commit/
53e876593d7add736231f4ad0f9641fa3b0954ae
Stephen Toub [Tue, 28 Jun 2016 00:45:23 +0000 (20:45 -0400)]
Updating CoreClr dependencies to beta-24227-03
Commit migrated from https://github.com/dotnet/corefx/commit/
8aee428aa9c768eb3537061b25927843d8ccd9b4
dotnet-bot [Mon, 27 Jun 2016 19:14:57 +0000 (19:14 +0000)]
Updating CoreFx dependencies to beta-24227-04
Commit migrated from https://github.com/dotnet/corefx/commit/
d735e4ff358f7a88fc0c8e9be796c685f111f1b5
Jeremy Barton [Mon, 27 Jun 2016 22:28:55 +0000 (15:28 -0700)]
Merge pull request dotnet/corefx#9708 from bartonjs/rsaopenssl_default_lazysafety
Use the default LazyThreadSafetyMode in RSAOpenSsl.ImportParameters
Commit migrated from https://github.com/dotnet/corefx/commit/
cfb9c824c358a6a0bd382df0d0ce97c936b9f141
Jeremy Barton [Mon, 27 Jun 2016 21:34:41 +0000 (14:34 -0700)]
Use the default LazyThreadSafetyMode in RSAOpenSsl.ImportParameters
All of
* RSA.Create() on .NET Framework (RSACryptoServiceProvider)
* RSA.Create() on .NET Core for Windows (internal type)
* new RSACryptoServiceProvider()
* new RSACng()
produce objects whose ImportParameters method can be called once and
the object can then fan out and seemingly function with
VerifyHash/VerifyData calls on multiple parallel requests. While this
behavior is undocumented, it is part of an implicit dependency.
Similarly, all of the places RSA.Create() on Unix (and new RSAOpenSsl())
sets up the Lazy to hold/create the key it uses the default thread safety
mode (ExecutionAndPublication) except for ImportParameters.
With this change, ImportParameters will also use the default mode, which
will eliminate Lazy<T> from the thread safety limitations of both the
public and internal versions of RSAOpenSsl.
This does not guarantee thread safety of the RSA returned object, but
puts it in the same state as the peer types (key reassignment is effectively
atomic, and key use may or may not fail under parallel requests).
Commit migrated from https://github.com/dotnet/corefx/commit/
757da86032f218c0bb22c5a41e3c725bc6e86418
Eric Mellino [Mon, 27 Jun 2016 20:19:04 +0000 (13:19 -0700)]
Merge pull request dotnet/corefx#9640 from mellinoe/system.composition.nupkg
Add packaging for System.Composition.* libraries
Commit migrated from https://github.com/dotnet/corefx/commit/
b547adc073b39c45c56eb8fe9d2a0b9b1059d2ff
Eric Mellino [Mon, 27 Jun 2016 18:55:01 +0000 (11:55 -0700)]
Add a meta-package for System.Composition
Commit migrated from https://github.com/dotnet/corefx/commit/
02e59e6c09137dc4fcaadc3e0253a6c17ad58c58
Eric Mellino [Mon, 13 Jun 2016 21:23:59 +0000 (14:23 -0700)]
Add pkgprojs for System.Composition.* libraries
Commit migrated from https://github.com/dotnet/corefx/commit/
e132992cbc88c0085006e0f00f16e9e4b1373c2a
Stephen Toub [Mon, 27 Jun 2016 14:08:24 +0000 (10:08 -0400)]
Merge pull request dotnet/corefx#9696 from dotnet-bot/UpdateDependencies20160627011815
Updating CoreFx dependencies to beta-24227-03
Commit migrated from https://github.com/dotnet/corefx/commit/
61cfbb03736c742a168ad6340cf02a6a4e21966f
dotnet-bot [Mon, 27 Jun 2016 13:18:15 +0000 (13:18 +0000)]
Updating CoreFx dependencies to beta-24227-03
Commit migrated from https://github.com/dotnet/corefx/commit/
46553ef5796647cf7f90bf128b97e13331f003cd
Stephen Toub [Mon, 27 Jun 2016 11:52:49 +0000 (07:52 -0400)]
Merge pull request dotnet/corefx#9693 from dotnet-bot/UpdateDependencies20160627052044
Updating External dependencies to beta-24227-00
Commit migrated from https://github.com/dotnet/corefx/commit/
a3fcfca7505791b3bb84af19c73379cb28dd1b7b
Stephen Toub [Mon, 27 Jun 2016 11:00:13 +0000 (07:00 -0400)]
Update dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/
5a6311687ee04bc625a220f83374ecd7ac78ae98
Stephen Toub [Mon, 27 Jun 2016 10:10:43 +0000 (06:10 -0400)]
Merge pull request dotnet/corefx#9691 from dotnet-bot/UpdateDependencies20160627121207
Updating CoreClr dependencies to beta-24227-01
Commit migrated from https://github.com/dotnet/corefx/commit/
8a6a7affd5d85c550b6d2aef00a27829275920ff
Stephen A. Imhoff [Thu, 16 Jun 2016 06:10:54 +0000 (15:10 +0900)]
Make tests match corefx behavior.
Commit migrated from https://github.com/dotnet/corefx/commit/
983a4e59708e940402c3fa56944e99ec117593b2
Stephen Toub [Mon, 27 Jun 2016 02:31:14 +0000 (22:31 -0400)]
Updating CoreFx dependencies to beta-24227-01
Commit migrated from https://github.com/dotnet/corefx/commit/
b948f02380e97704e01ae4ebe71d786a3a9f72b3
dotnet-bot [Mon, 27 Jun 2016 00:12:07 +0000 (00:12 +0000)]
Updating CoreClr dependencies to beta-24227-01
Commit migrated from https://github.com/dotnet/corefx/commit/
5e6505258a200acbc27edcd12061749bac65e201
Stephen Toub [Sun, 26 Jun 2016 22:26:42 +0000 (18:26 -0400)]
Merge pull request dotnet/corefx#9689 from dotnet-bot/UpdateDependencies20160626071445
Updating CoreFx dependencies to beta-24226-04
Commit migrated from https://github.com/dotnet/corefx/commit/
cb2bc57b601a15fe0c1585cafcde31748259e79b
dotnet-bot [Sun, 26 Jun 2016 19:14:44 +0000 (19:14 +0000)]
Updating CoreFx dependencies to beta-24226-04
Commit migrated from https://github.com/dotnet/corefx/commit/
af366060d798874f1eead8de1959ff122807df6a
Stephen Toub [Sun, 26 Jun 2016 19:50:24 +0000 (15:50 -0400)]
Merge pull request dotnet/corefx#9687 from dotnet-bot/UpdateDependencies20160626041328
Updating CoreClr dependencies to beta-24226-03
Commit migrated from https://github.com/dotnet/corefx/commit/
e0e94fe282ee64250b19fb24b2a34a2e0db397bc
dotnet-bot [Sun, 26 Jun 2016 16:13:28 +0000 (16:13 +0000)]
Updating CoreClr dependencies to beta-24226-03
Commit migrated from https://github.com/dotnet/corefx/commit/
59382b372f92cc60a1219f5020ae11758f9227ff
Stephen Toub [Sun, 26 Jun 2016 15:15:35 +0000 (11:15 -0400)]
Merge pull request dotnet/corefx#9686 from dotnet-bot/UpdateDependencies20160626011422
Updating CoreFx dependencies to beta-24226-03
Commit migrated from https://github.com/dotnet/corefx/commit/
066f7654e7a06ae065b49e27b700278b5794a523
dotnet-bot [Sun, 26 Jun 2016 13:14:22 +0000 (13:14 +0000)]
Updating CoreFx dependencies to beta-24226-03
Commit migrated from https://github.com/dotnet/corefx/commit/
6c4ecdb7ce67800d1a7aa3e9192f0bcf12d31a50
Stephen Toub [Sun, 26 Jun 2016 12:10:11 +0000 (08:10 -0400)]
Merge pull request dotnet/corefx#9685 from dotnet-bot/UpdateDependencies20160626071549
Updating CoreFx dependencies to beta-24226-02
Commit migrated from https://github.com/dotnet/corefx/commit/
fc587b78bb3d9501f58f5cf8349f02e7f93a2fdf
Hugh Bellamy [Sun, 26 Jun 2016 11:50:22 +0000 (12:50 +0100)]
Cleanup some System.Reflection.Emit tests (dotnet/corefx#9520)
* Cleanup AssemblyBuilder tests
* Cleanup ConstructorBuilder tests
* Cleanup EnumBuilder tests
Commit migrated from https://github.com/dotnet/corefx/commit/
69a7e2189440d8c9b8fae752156c474c9510a8f5
Stephen Toub [Sun, 26 Jun 2016 11:46:58 +0000 (07:46 -0400)]
Merge pull request dotnet/corefx#8953 from hughbe/linq-params
Add a few more parameter names to System.Linq.Expressions exceptions
Commit migrated from https://github.com/dotnet/corefx/commit/
c959baeafa54d65dfce53b1214381ed23a31ba29
Stephen Toub [Sun, 26 Jun 2016 11:20:52 +0000 (07:20 -0400)]
Update depencies, corefx to 226-02 and coreclr to 226-01
Commit migrated from https://github.com/dotnet/corefx/commit/
10ae0d632b8f36458051118e5561f72f4a69b84e
Stephen Toub [Sun, 26 Jun 2016 02:11:49 +0000 (22:11 -0400)]
Merge pull request dotnet/corefx#9679 from dotnet-bot/UpdateDependencies20160625011203
Updating CoreFx dependencies to beta-24225-03
Commit migrated from https://github.com/dotnet/corefx/commit/
342c3c37de937f1508ed419ff0ffd75aabc080ba
Stephen Toub [Sat, 25 Jun 2016 23:01:45 +0000 (19:01 -0400)]
Updating CoreFx dependencies to beta-24225-03
Commit migrated from https://github.com/dotnet/corefx/commit/
f61cc53a2f1053118d5270e9ff3b72e2c6624992
Stephen Toub [Sat, 25 Jun 2016 22:55:45 +0000 (18:55 -0400)]
Merge pull request dotnet/corefx#9681 from dotnet-bot/UpdateDependencies20160625041236
Updating CoreClr dependencies to beta-24225-03
Commit migrated from https://github.com/dotnet/corefx/commit/
bcbbe0483708ed8d5dfa69b9de722e0e53f5aebc
Eric St. John [Sat, 25 Jun 2016 16:18:20 +0000 (09:18 -0700)]
Update CoreCLR package to 1.0.4
Commit migrated from https://github.com/dotnet/corefx/commit/
bdef9ca0daef20fee0f9d092a1af01f06fdcedad
dotnet-bot [Sat, 25 Jun 2016 16:12:36 +0000 (16:12 +0000)]
Updating CoreClr dependencies to beta-24225-03
Commit migrated from https://github.com/dotnet/corefx/commit/
fa5cf781afdaae99c973f78de3c8d020b569de5a
Stephen Toub [Sat, 25 Jun 2016 12:54:14 +0000 (08:54 -0400)]
Merge pull request dotnet/corefx#9676 from dotnet-bot/UpdateDependencies20160625071331
Updating CoreFx dependencies to beta-24225-02
Commit migrated from https://github.com/dotnet/corefx/commit/
305109aa486405e8b092349cd365fa4b02c1cc8a
dotnet-bot [Sat, 25 Jun 2016 07:13:31 +0000 (07:13 +0000)]
Updating CoreFx dependencies to beta-24225-02
Commit migrated from https://github.com/dotnet/corefx/commit/
6978404cd54fe063b7482718c6dab979b5011792
Tomáš Matoušek [Fri, 24 Jun 2016 22:50:58 +0000 (15:50 -0700)]
Refactor metadata serializers (dotnet/corefx#9588)
* Refactor metadata serializers
* Split file
* Renames
* More API testing and polish
Commit migrated from https://github.com/dotnet/corefx/commit/
d03addae82910375f093dc896ce53528ae2ca443
Stephen Toub [Fri, 24 Jun 2016 21:41:22 +0000 (17:41 -0400)]
Merge pull request dotnet/corefx#9665 from stephentoub/fix_contentlength
Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix
Commit migrated from https://github.com/dotnet/corefx/commit/
313cf2a5c883dd3cc73cb382a465ed2f9f70997c
Stephen Toub [Fri, 24 Jun 2016 19:16:38 +0000 (15:16 -0400)]
Merge pull request dotnet/corefx#9668 from dotnet-bot/UpdateDependencies20160624041118
Updating CoreClr dependencies to beta-24224-03
Commit migrated from https://github.com/dotnet/corefx/commit/
330a780e2f9e6e1be2d12d23cb48186890eda996
Stephen Toub [Fri, 24 Jun 2016 18:09:12 +0000 (14:09 -0400)]
Merge pull request dotnet/corefx#9456 from stephentoub/registry_pal
Introduce a mini-PAL into Microsoft.Win32.Registry
Commit migrated from https://github.com/dotnet/corefx/commit/
17e0a681c1ef15da2605b4088cee79f28ef8da8b
Gaurav Khanna [Fri, 24 Jun 2016 16:50:19 +0000 (09:50 -0700)]
Merge pull request dotnet/corefx#9661 from gkhanna79/Fix5837FX
Add DefaultContext fallback validation tests
Commit migrated from https://github.com/dotnet/corefx/commit/
18059556263c857b9cb5174699e3c39bdc9fcc39
Stephen Toub [Fri, 24 Jun 2016 16:11:58 +0000 (12:11 -0400)]
Merge pull request dotnet/corefx#9667 from stephentoub/update_buildtools
Update buildtools to 524-01
Commit migrated from https://github.com/dotnet/corefx/commit/
a9744db98444bd35af4a21066226178578252805
dotnet-bot [Fri, 24 Jun 2016 16:11:18 +0000 (16:11 +0000)]
Updating CoreClr dependencies to beta-24224-03
Commit migrated from https://github.com/dotnet/corefx/commit/
27ee8e50a790b7975dacd468468e5a2d730a51a8
Stephen Toub [Fri, 24 Jun 2016 16:07:45 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9663 from dotnet-bot/UpdateDependencies20160624083853
Updating CoreClr dependencies to beta-24224-02
Commit migrated from https://github.com/dotnet/corefx/commit/
adf83435b142847789c1b3036ff2907d9cd424ae
Stephen Toub [Fri, 24 Jun 2016 16:07:23 +0000 (12:07 -0400)]
Merge pull request dotnet/corefx#9666 from stephentoub/fix_typos
Fix typos in NormalizeString P/Invoke signature
Commit migrated from https://github.com/dotnet/corefx/commit/
9e1d5b905e4bbca6b0725a79130a4ee17e45965f
Vance Morrison [Fri, 24 Jun 2016 15:29:32 +0000 (08:29 -0700)]
Merge pull request dotnet/corefx#9633 from vancem/DiagnosticSourceAddKeywords
Add keywords for two common event specifications: ASP.NET and SQL
Commit migrated from https://github.com/dotnet/corefx/commit/
fe160dcd3d5649a0f51360b674558d95a9007917
Gaurav Khanna [Fri, 24 Jun 2016 04:42:13 +0000 (21:42 -0700)]
Add tests for DefaultContext fallback resolution
Commit migrated from https://github.com/dotnet/corefx/commit/
1136c7d89bc63916794f7f95b470c3c5ef124a36
Stephen Toub [Fri, 24 Jun 2016 13:56:12 +0000 (09:56 -0400)]
Fix merge conflicts
Commit migrated from https://github.com/dotnet/corefx/commit/
d438a14ca18adad326a6bc2c5f9523fb116e477e
dotnet-bot [Fri, 24 Jun 2016 08:38:53 +0000 (08:38 +0000)]
Updating CoreClr dependencies to beta-24224-02
Commit migrated from https://github.com/dotnet/corefx/commit/
bd5447241a1c900b0be35d1a7ea0f537ed671de7
Stephen Toub [Fri, 24 Jun 2016 13:38:24 +0000 (09:38 -0400)]
Update buildtools to 524-01
Commit migrated from https://github.com/dotnet/corefx/commit/
b49e51df9b4f8ad36418d297b02f3fabf76e1156
Stephen Toub [Fri, 24 Jun 2016 13:29:41 +0000 (09:29 -0400)]
Fix typos in NormalizeString P/Invoke signature
Commit migrated from https://github.com/dotnet/corefx/commit/
a0f02a0346f53a50f65b7b36959ce8da64a1509a
Stephen Toub [Fri, 24 Jun 2016 13:23:57 +0000 (09:23 -0400)]
Fix HttpRequestMessage reuse handling in HttpClientHandler on Unix
HttpRequestMessages are meant to be used for a single request. However, that checking is done by HttpClient rather than by HttpClientHandler. As a result, if code bypasses HttpClient, e.g. by using HttpMessageInvoker or by using a custom HttpMessageHandler sitting between the HttpClient and the HttpClientHandler, the same HttpRequestMessage can be used multiple times without an exception being thrown warning of the invalid usage. And on Windows, things happen to work, but with our Unix implementation was never expecting this scenario and doesn't work well with it:
- The handler is explicitly disposing of the request content stream rather than leaving that up to the request content's disposal to handle.
- The handler is removing the Content-Length header from the request message content, as a simple way to avoid overriding the Content-Length header that libcurl itself may send based on previous configuration.
- The handler is using ReadAsStreamAsync to get the request stream to send, but ReadAsStreamAsync caches the returned stream, so if the same request message is reused with the same Content, the stream will have already advanced to the end of the stream, and when the message gets reused, we won't have content to send.
This commit fixes that:
- We now don't dispose the request content stream. That'll be left up to the request content's disposal.
- We now don't remove the ContentLength header from the request message. We instead just check as we're writing out the headers whether the header is Content-Length, skipping it if it is.
- We now store the original position of a seekable stream that's provided to us, and at the end of the request, rather than disposing of the stream, we rewind to the original position if it exists. (If the stream isn't seekable, reusing the request message wouldn't be possible anyway.)
This last point also fixes another theoretical issue. When libcurl wants to go back to the beginning of the stream (e.g. in a redirect scenario where it needs to rewind), it asks us to seek back to the beginning. We're currently seeking back to the exact position asked for. But the stream may have come in to us already advanced beyond 0, in which case we need to seek back to the requested offset plus that original position rather than just the requested offset.
And in doing this, I noticed that we were inadvertently allowing a set of closure/delegate allocations due to inadvertently using some captured state in a place where we were trying to avoid that. I fixed that as well.
We were also marking everything complete before we'd cleaned up all resources, which meant that any failures from such cleanup would go unnoticed. I've fixed that to ensure we clean up all state before we officially declare the async operation done.
Commit migrated from https://github.com/dotnet/corefx/commit/
650cb2698f02635ea69da3ec9637f6ad9e7229c5
Stephen Toub [Fri, 24 Jun 2016 10:56:16 +0000 (06:56 -0400)]
Merge pull request dotnet/corefx#9660 from dotnet-bot/UpdateDependencies20160624051755
Updating External dependencies to beta-24224-00
Commit migrated from https://github.com/dotnet/corefx/commit/
b129c662158898f38c0bb2726475e68e2ea78f3a
Stephen Toub [Fri, 24 Jun 2016 10:55:51 +0000 (06:55 -0400)]
Merge pull request dotnet/corefx#9662 from dotnet-bot/UpdateDependencies20160624071442
Updating CoreFx dependencies to beta-24224-02
Commit migrated from https://github.com/dotnet/corefx/commit/
5470ee25a81d50ab2f61dbe428e0c84f25e9397d
dotnet-bot [Fri, 24 Jun 2016 07:14:41 +0000 (07:14 +0000)]
Updating CoreFx dependencies to beta-24224-02
Commit migrated from https://github.com/dotnet/corefx/commit/
57f7571be7a10ad5c11b5a93a4fcb5f42a656047
Eric Mellino [Fri, 24 Jun 2016 05:35:58 +0000 (22:35 -0700)]
Merge pull request dotnet/corefx#9646 from mellinoe/override-init-tools-rid
Allow override of __DOTNET_PKG used for Tools init
Commit migrated from https://github.com/dotnet/corefx/commit/
690533bcf454c8005736ce578b505ccbc9dff63e
dotnet-bot [Fri, 24 Jun 2016 05:17:55 +0000 (05:17 +0000)]
Updating External dependencies to beta-24224-00
Commit migrated from https://github.com/dotnet/corefx/commit/
c43c5e9a6426d446c071fea8d831da97c4608c49
Stephen Toub [Fri, 24 Jun 2016 01:17:29 +0000 (21:17 -0400)]
Merge pull request dotnet/corefx#9648 from dotnet-bot/UpdateDependencies20160623100656
Updating CoreFx dependencies to beta-24223-09
Commit migrated from https://github.com/dotnet/corefx/commit/
9da7e8b2eb7ee242240872e7d09a92ef865dc278
dotnet-bot [Thu, 23 Jun 2016 22:06:56 +0000 (22:06 +0000)]
Updating CoreFx dependencies to beta-24223-09
Commit migrated from https://github.com/dotnet/corefx/commit/
7d22459ac2c92ed931dea3e0f90b16351c254e4b
Deepak Shankargouda [Thu, 23 Jun 2016 21:40:35 +0000 (14:40 -0700)]
Setting xunit package version from CoreFX (dotnet/corefx#9642)
Commit migrated from https://github.com/dotnet/corefx/commit/
3e3f24decf1e13f36e3925656d9e98d6e73a719a
Matt Connew [Thu, 23 Jun 2016 20:42:51 +0000 (13:42 -0700)]
Merge pull request dotnet/corefx#9522 from mconnew/JsonSerializerDateTimePerfFix
Improve performance of DCJS serializing DateTime objects
Fixes dotnet/corefx#9342
Commit migrated from https://github.com/dotnet/corefx/commit/
0b0495ef783cd6798cc3ffb1f8a942c7c8c8638a
Eric Mellino [Thu, 23 Jun 2016 19:00:57 +0000 (12:00 -0700)]
Allow override of __DOTNET_PKG used for Tools init
* Also, fall back to Ubuntu 14.04 if using an unsupported version.
Commit migrated from https://github.com/dotnet/corefx/commit/
8cf7207f5656d4c6e5b75902a119b729d96e0b27
Gaurav Khanna [Thu, 23 Jun 2016 19:53:08 +0000 (12:53 -0700)]
Merge pull request dotnet/corefx#9639 from gkhanna79/Fix5837FX
Add test to validate binding using Resolving event using static binding
Commit migrated from https://github.com/dotnet/corefx/commit/
5b054c439a262c0d9b96c7ab01772dd39ce366bb
Eric StJohn [Thu, 23 Jun 2016 19:09:30 +0000 (12:09 -0700)]
Merge pull request dotnet/corefx#9638 from ericstj/updateBaselinePackageVersion
Update Microsoft.Private.PackageBaseline to 1.0.1
Commit migrated from https://github.com/dotnet/corefx/commit/
3ce8fd68880bc09c46d894054282705810656d39
Vance Morrison [Thu, 23 Jun 2016 18:43:29 +0000 (11:43 -0700)]
Minor fixes (removed needless \r, added assert, comments)
Commit migrated from https://github.com/dotnet/corefx/commit/
5306ee14763e9b30678cd67f9abb3ba465cf2fa9
David Shulman [Thu, 23 Jun 2016 18:33:50 +0000 (11:33 -0700)]
Merge pull request dotnet/corefx#9624 from davidsh/null_safehandle
Fix logic with setting response body receive timeout
Commit migrated from https://github.com/dotnet/corefx/commit/
8b50545824d7a7f7e7f44b666938f74d2581be7c
Stephen Toub [Thu, 23 Jun 2016 17:58:03 +0000 (13:58 -0400)]
Address PR feedback
And additional minor cleanup.
Commit migrated from https://github.com/dotnet/corefx/commit/
3ba84a89277b525b069961701f75a58eb5334df1
Stephen Toub [Thu, 16 Jun 2016 02:25:25 +0000 (22:25 -0400)]
Introduct a mini-PAL into Microsoft.Win32.Registry
With the expectation that we'll at some point want to make Microsoft.Win32.Registry work on other systems, with a file-system-based simulation of the registry, this commit separates out the shared functionality from the platform-specific functionality, providing placeholders where a file-system-based implementation could be plugged in.
Commit migrated from https://github.com/dotnet/corefx/commit/
e36e8cab303fa8aafa5af735bb1b3d58af0e5a52
Matt Ellis [Thu, 23 Jun 2016 17:47:15 +0000 (10:47 -0700)]
Merge pull request dotnet/corefx#9614 from ellismg/add-build-id-linker-flag
Pass --build-id=sha1 to linker explicitly
Commit migrated from https://github.com/dotnet/corefx/commit/
6e9e499889768d4f17ab1baddf5dd080652e2c33
Stephen Toub [Thu, 23 Jun 2016 17:46:10 +0000 (13:46 -0400)]
Merge pull request dotnet/corefx#9625 from dotnet-bot/UpdateDependencies20160623042734
Updating CoreClr dependencies to beta-24223-03
Commit migrated from https://github.com/dotnet/corefx/commit/
21e99c99a256e11828a66043a047c046474cce97
Gaurav Khanna [Fri, 17 Jun 2016 13:30:31 +0000 (06:30 -0700)]
Add test to validate binding using Resolving event using static binding
Commit migrated from https://github.com/dotnet/corefx/commit/
04c8661e3e4ec98da8cfcbf467523fba471bfdae
Eric St. John [Thu, 23 Jun 2016 17:42:40 +0000 (10:42 -0700)]
Update Microsoft.Private.PackageBaseline to 1.0.1
We stopped publishing this because we didn't increment the version.
Commit migrated from https://github.com/dotnet/corefx/commit/
02891b921f4b5c88a8d92398d56204123a2c8f23
Vance Morrison [Thu, 23 Jun 2016 17:08:08 +0000 (10:08 -0700)]
Add keywords for two common event specficiations (asp.NET and SQL command).
While this is a nice shortcut, it also have the more importnat effect of allowig older ETW controllers that don't
have support for passing arguments to providers to particpate in the most important events.
Commit migrated from https://github.com/dotnet/corefx/commit/
aaca69453594f6cc5718ce09e386e355b6a672d7
David Shulman [Thu, 23 Jun 2016 16:11:22 +0000 (09:11 -0700)]
Fix logic with setting response body receive timeout
Due to code moving around with PR dotnet/corefx#8996, the `state.RequestHandle` was
already null when trying to set the receive timeout for the response
body. This generated an exception which was caught internally.
This fix moves the setting of the receive timeout so that it has a valid
`state.RequestHandle` to use.
Fixes dotnet/corefx#9578
Commit migrated from https://github.com/dotnet/corefx/commit/
5657fdbce9b4c77d486525a40733f872e2f95f1b
dotnet-bot [Thu, 23 Jun 2016 16:27:34 +0000 (16:27 +0000)]
Updating CoreClr dependencies to beta-24223-03
Commit migrated from https://github.com/dotnet/corefx/commit/
ffb3936af68a238f34de72c220337bb23cfdda4f
Stephen Toub [Thu, 23 Jun 2016 16:19:18 +0000 (12:19 -0400)]
Merge pull request dotnet/corefx#9616 from dotnet-bot/UpdateDependencies20160623051816
Updating External dependencies to beta-24223-00
Commit migrated from https://github.com/dotnet/corefx/commit/
cc416f8b7b3900fb082d88d480769da4fb5c9d7a
Stephen Toub [Thu, 23 Jun 2016 16:19:07 +0000 (12:19 -0400)]
Merge pull request dotnet/corefx#9617 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/corefx/commit/
37cc76c6fab5bbeb21e017e77ad83752e874e8e9
Atsushi Kanamori [Thu, 23 Jun 2016 15:13:03 +0000 (08:13 -0700)]
Merge pull request dotnet/corefx#9546 from yfakariya/dispatchproxy-emit-properties-and-events
Make DispatchProxy declares Property and EventInfos of the interface
Commit migrated from https://github.com/dotnet/corefx/commit/
8d2ac6fa9d3f41a83b63b8336133d9253a226c20
yfakariya [Sat, 18 Jun 2016 09:19:38 +0000 (18:19 +0900)]
Make DispatchProxy declares Property/EventInfos of the interface.
This commit adds code to declare properties and events
to generating proxy type as well.
Note
* Because declaring properties and events requires accessor methods,
this commit changes AddMethodImpl to return created MethodBuilder.
* This declares EqualityComparer for MethodInfo to avoid reference based
comparison.
* The test case now uses System.Reflection.Emit to generate the event
with raise_ method which is not supported in C#.
Commit migrated from https://github.com/dotnet/corefx/commit/
e8f650d67a67003786c04b916dc4805678237c0a
dotnet-bot [Thu, 23 Jun 2016 05:18:16 +0000 (05:18 +0000)]
Updating External dependencies to beta-24223-00
Commit migrated from https://github.com/dotnet/corefx/commit/
386b4d5d9aff596bed8d8ec37d8e4978b50cb09b
Eric St. John [Thu, 23 Jun 2016 06:54:36 +0000 (23:54 -0700)]
Replace source projects with depprojs
Now that we have stable packages we can redistribute the previously
built binaries rather than rebuilding them.
Also cleaning up some unused projects.
[tfs-changeset: 1614403]
Commit migrated from https://github.com/dotnet/corefx/commit/
9eb1e7d6939c79459e84651a69c03a11887ff9f5
Eric StJohn [Thu, 23 Jun 2016 14:44:44 +0000 (07:44 -0700)]
Merge pull request dotnet/corefx#9622 from dotnet-bot/UpdateDependencies20160623011710
Updating CoreFx dependencies to beta-24223-03
Commit migrated from https://github.com/dotnet/corefx/commit/
6c36a16d60f6a4eca9692cbfb697a24341f10184
Eric St. John [Thu, 23 Jun 2016 13:47:24 +0000 (06:47 -0700)]
Update dependenices in InteropServices to 4.2.0
Commit migrated from https://github.com/dotnet/corefx/commit/
0963237884ff018380db6a4d5a9da27792ea8088