Bug 8348 - Concurrent requests on a single WCF client fail
Summary: Concurrent requests on a single WCF client fail
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-11-12 15:34 UTC by Randy Chapman
Modified: 2014-01-16 16:40 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
sample source (20.32 KB, application/x-zip-compressed)
2012-11-12 15:34 UTC, Randy Chapman
Details

Description Randy Chapman 2012-11-12 15:34:47 UTC
Created attachment 2910 [details]
sample source

Folks,

I have code that is working nicely in Windows which uses a single WCF client (BasicHttp) to issue multiple async operations at the same time.  On Mono, only one of these ever completes -- the others will never complete.  I have also tried with a single client on multiple threads; in this case, an exception is immediately thrown.

I have attached a sample project which works fine on Windows, but fails on Mono 3.0.1 for Linux (I observed the same behavior on 2.10 as well).
Comment 1 jacotb 2014-01-16 16:40:32 UTC
It looks like Mono handles requests sequentially, rather than concurrently. This is a huge no-no.

Note You need to log in before you can comment on or make changes to this bug.