Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[System.ServiceModel] Fix timeout defaulting to 0 seconds #1656

Merged
merged 1 commit into from May 15, 2015

Conversation

alexanderkyte
Copy link
Contributor

No description provided.

@@ -149,7 +160,7 @@ internal MetadataSet GetMetadataInternal (EndpointAddress address, MetadataExcha
var asClientChannel = proxy as IClientChannel;
if (asClientChannel == null)
throw new InvalidOperationException ("The channel factory must return an IClientChannel implementation");
asClientChannel.OperationTimeout = OperationTimeout;
asClientChannel.OperationTimeout = this.OperationTimeout;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

@alexanderkyte
Copy link
Contributor Author

build

1 similar comment
@migueldeicaza
Copy link
Contributor

build

@alexrp
Copy link
Contributor

alexrp commented Apr 28, 2015

Well, I'm no expert on WCF, but this looks sensible to me.

@migueldeicaza what do you think?

@alexrp
Copy link
Contributor

alexrp commented Apr 29, 2015

build

@alexanderkyte
Copy link
Contributor Author

I'm seeing clean on x86/amd64 and on arm I see

* Assertion at mini-arm.c:3781, condition `pdata.found == 1' not met

which is an intermittent failure that I've been seeing on most PRs on arm.

@@ -322,8 +321,19 @@ public void Dispose ()
}
}

[MonoTODO]
public TimeSpan OperationTimeout { get; set; }
TimeSpan? operation_timeout = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go to the top with all the other fields.

@kumpera
Copy link
Contributor

kumpera commented May 12, 2015

LGTM

@alexanderkyte
Copy link
Contributor Author

Moved it up.

alexrp added a commit that referenced this pull request May 15, 2015
[System.ServiceModel] Fix timeout defaulting to 0 seconds
@alexrp alexrp merged commit 1f8da92 into mono:master May 15, 2015
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
[System.ServiceModel] Fix timeout defaulting to 0 seconds

Commit migrated from mono/mono@1f8da92
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.

None yet

5 participants