Skip to content

Conversation

@spouliot
Copy link
Contributor

No description provided.

spouliot added a commit to spouliot/xamarin-macios that referenced this pull request Jun 12, 2016
Mostly my comments in PR dotnet#174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] dotnet#177
@xamarin-release-manager
Copy link
Collaborator

Build success

@spouliot spouliot merged commit d479ed0 into dotnet:master Jun 12, 2016
@akoeplinger
Copy link
Member

This breaks building of watchos link sdk tests:

Errors:

/Users/builder/data/lanes/1411/d6025dec/source/xamarin-macios/tests/linker-ios/link sdk/link sdk-watchos.csproj (Build) ->
/Users/builder/data/lanes/1411/d6025dec/source/xamarin-macios/_ios-build/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_ResolveWatchAppReferences target) ->
/Users/builder/data/lanes/1411/d6025dec/source/xamarin-macios/tests/linker-ios/link sdk/link sdk-watchos-app.csproj (default targets) ->
/Users/builder/data/lanes/1411/d6025dec/source/xamarin-macios/_ios-build/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_ResolveAppExtensionReferences target) ->
/Users/builder/data/lanes/1411/d6025dec/source/xamarin-macios/tests/linker-ios/link sdk/link sdk-watchos-extension.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/4.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    HttpClientHandlerTest.cs(46,29): error CS0246: The type or namespace name `CFNetworkHandler' could not be found. Are you missing an assembly reference?

     3 Warning(s)
     1 Error(s)

Time Elapsed 00:00:03.4233680
make[5]: *** [build-watchos-sim-link sdk] Error 1

spouliot added a commit to spouliot/xamarin-macios that referenced this pull request Jun 14, 2016
…atchOS

As noted in PR 177 [1] the test fails to build on watchOS
where CFNetwork is unavailable. OTOH PR bots don't yet run
(or build) the tests.

[1] dotnet#177
spouliot added a commit to spouliot/xamarin-macios that referenced this pull request Jun 14, 2016
…atchOS

As noted in PR 177 [1] this does not build on watchOS since CFNetwork
is not supported on that platform. Uncaught as the PR bots don't build,
nor run, the tests yet.

[1] dotnet#177
spouliot added a commit that referenced this pull request Jun 14, 2016
…atchOS (#186)

As noted in PR 177 [1] this does not build on watchOS since CFNetwork
is not supported on that platform. Uncaught as the PR bots don't build,
nor run, the tests yet.

[1] #177
mandel-macaque pushed a commit that referenced this pull request Sep 20, 2016
Mostly my comments in PR #174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] #177
mandel-macaque pushed a commit that referenced this pull request Oct 3, 2016
* Added rewritten NSUrlSessionHandler that handles memory better

This is a rewrite of the ModernHttpClient version of NSUrlSessionHandler, it has better handling for memory that provides a more consistant memory footprint. It accomplishes this by using NSInputStream for requests, and reading and disposing directly from NSData instead of transitioning the NSData to a byte[] array.

* Try to fix build of PR #31

* [foundation] Restore compatibility with the new NSUrlSessionHandler

Mostly my comments in PR #174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] #177

* [foundation] Restore compatibility with the new NSUrlSessionHandler

Mostly my comments in PR #174

* Add support for redirection [1]
* Add support for credentials [1]
* Add support for caching [2]
* Remove 2nd dictionary lookup in GetHeaderSeparator
* Avoid extraneous cast for credentialsToUse

PR 177 [3] adds tests that ensure no commits can remove, or change
default values, for handlers.

[1] breaking changes (feature, not API)
[2] breaking change (API removal)
[3] #177

* Try to fix build of PR #31

* prevent DEADLOCK in UI code

* Added ConfigureAwait(false) to Task.Delay to prevent DEADLOCK when the stream is being awaited on the UI thread

* added a few more ConfigureAwait(false) statments that were missed on first pass

* Fix some small style issues.

* Set the default value of AllowAutoRedirect to true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants