Atsushi Eno
9a69207087
Merge pull request #143 from mistoll/master
...
Fixes for WCF BasicHttpBinding with message security
2011-08-02 22:53:01 +09:00
Atsushi Eno
513122c74e
Avoid possible duplicate xmlns output. Fixes xsp-based hosting somehow.
2011-07-22 14:04:08 +09:00
Atsushi Eno
a15e2d0bec
support action parameter in SOAP 1.2 content type. Close pull request #133 .
2011-07-19 02:30:11 +09:00
Atsushi Eno
d25c23dc46
Full equivalence comparison is unnecessary for MessageEncoder ContentType.
...
based on https://github.com/mono/mono/pull/130
2011-07-09 06:52:43 +09:00
Atsushi Eno
79bca55588
Set "Encoder" property when Message was read from MessageEncoder.
2011-06-14 19:19:06 +09:00
Atsushi Eno
3e48da364b
finally implement Message.ToString() as in expected form.
...
Regressions on this method has caused several unpredictable errors,
so I avoided this for somewhat long time...
2011-06-14 18:46:12 +09:00
Atsushi Eno
9c1b923e99
Implement WsdlContractConversionContext, and ignore message importer for now.
2011-05-13 21:48:41 +09:00
Atsushi Eno
2e5417f5bd
Actual source directory changes after changing namespaces.
2011-04-25 15:57:59 +09:00
Atsushi Eno
247cef557f
More nettcp namespace changes.
2011-04-25 15:57:49 +09:00
Atsushi Eno
0f328b26c0
Move NetTcp namespace to internal one.
2011-04-25 15:57:38 +09:00
Atsushi Eno
a9777b31fc
Empty XmlReader message caused failure on buffereed copy.
2011-04-18 17:22:21 +09:00
Atsushi Eno
c9f2555f4a
Prepare for HostNameComparisonMode support (i.e. incomplete).
...
This is for bugfix #687580 .
2011-04-16 01:07:19 +09:00
Atsushi Eno
ea78b00406
Some argument check in TextMessageEncoder.
2011-04-15 23:52:04 +09:00
Atsushi Eno
fb2c69e852
Use correct MessageVersion instead of Default for empty response.
...
Part of bugfix #687580 .
2011-04-15 21:32:05 +09:00
Atsushi Eno
1ed5a802a9
HttpRequestChannel should also return CookieContainer in NET_2_1 profile.
...
Fixed bug #683642 .
2011-04-07 12:34:54 +09:00
Atsushi Eno
e72666919a
fix wrong attempt to add restricted headers in HttpRequestChannel.
2011-04-02 11:30:09 +09:00
Atsushi Eno
c540e335c3
Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility.
2011-04-01 20:45:47 +09:00
Atsushi Eno
39ece5f8c7
Remove unexpected CWL.
2011-03-22 15:35:36 +09:00
Atsushi Eno
5d3bd4296d
net.tcp Sized message with non-binarysession encoding should work now.
...
(Untested checkin.)
2011-03-17 20:05:43 +09:00
Atsushi Eno
7b4e9fe3b3
Support encoding record other than binary session in TCP channel frame reader.
2011-03-17 19:29:56 +09:00
Atsushi Eno
045c255762
Implement more encodings than binary frame with dictionary, in TCP manager.
...
(not known to not regress in nunit tests..)
2011-03-16 20:34:05 +09:00
Atsushi Eno
92d8d69c21
avoid NRE on non-binary encoding use in TcpTransport.
2011-03-15 21:07:25 +09:00
Atsushi Eno
37589e862a
Pass Actor. use IsNullOrEmpty() instead of "!= String.Empty".
2011-02-24 14:29:45 +09:00
Atsushi Eno
e72dcebf98
Almost eliminate wrong use of Constants.WsaNamespace.
...
They should be addressing-version-aware.
2011-02-18 16:11:16 +09:00
Atsushi Eno
20b58344cc
PeeDuplex ChannelFactory must be opened in prior to create channels.
2011-02-15 15:51:32 +09:00
Atsushi Eno
0870ad290d
Avoid possible list modification error during close process.
2011-02-08 12:06:18 +09:00
Atsushi Eno
c4c9b57b9d
Make sure to close session once the client opened one.
2011-02-08 12:06:07 +09:00
Marek Safar
c8c8fc7769
Fixed missing protected internal modifier
2011-01-08 19:26:53 +00:00
Sebastien Pouliot
90f76e6521
Query SupportsCookieContainer ini Moonlight build
...
* HttpRequestChannel.cs: Do not use CookieContainer unless we know its
supported (e.g. client stack) otherwise we'll throw (browser stack)
2010-11-11 15:28:54 -05:00
Carlos Alberto Cortez
1d6f9ec0cc
Implement IPoliciExportExtension support for MsmqBindingElementBase.
...
* MsmqBindingElementBase.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Carlos Alberto Cortez
842e1ab9c5
Implement IPolicyExportExtension support for ConnectionOrientedTransportBindingElement.
...
* ConnectionOrientedTransportBindingElement.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Carlos Alberto Cortez
17b69cf278
Implement IPolicyExportExtension support for HttpTransportBindingElement.
...
* HttpTransportBindingElement.cs: Implement ExportPolicy.
2010-11-04 21:20:54 +01:00
Marek Habersack
d4bb1c86b7
[wcf] make /js and /jsdebug dispatchers work.
...
There were several issues here:
- The IChannelDispatcherBoundListener was defined twice, in two different namespaces, and it caused code in
ChannelDispatcher.Attach not to set its associated listener's ChannelDispatcher property to the correct value.
This, in turn, caused incorrect HttpListenerManagerTable operation, where it would put the "/js" and "/jsdebug"
dispatchers in separate HttpListenerManagers, instead of in the main (base) service's one.
- After fixing the above, it turned out that SvcHttpHandler selected the manager based on the host's base address,
when it should first try to find one whose URL matches the current request exactly.
2010-10-20 15:04:37 +02:00
Atsushi Eno
78ffa62836
Add ExtendedProtectionPolicy members. Required by .config files by .NET svcutil.
2010-10-20 18:06:02 +09:00
Marek Habersack
bc874337c2
[wcf] ServiceHost directive can span several lines.
2010-10-18 22:26:49 +02:00
Atsushi Eno
75343153ae
fixity fix.
2010-10-15 03:51:28 +09:00
Atsushi Eno
98d9cae751
Fix 2.1 build.
2010-10-15 03:36:40 +09:00
Atsushi Eno
7f16785b14
Enable SecurityBindingElement.CanBuildChannelListener implementation again with fix.
2010-10-15 02:48:24 +09:00
Atsushi Eno
d1430afd5a
The previous changes somehow regressed on olive samples, so give quick fixes.
2010-10-15 01:03:18 +09:00
Atsushi Eno
34e1278179
Implement NetTcpBinding.CanBuildChannelFactory/Listener and several related stuff.
...
SecurityTokenParameters.InitializeSecurityTokenRequirement() needs to become
protected internal, so changed all overrides as well.
Some implementation in WindowsStreamSecurityBindingElement is needed only for
NetTcpBinding implementation.
Had to disable a test in SymmetricSecurityBindingElement that depended on
OneWay support (which is not yet done).
2010-10-15 00:41:39 +09:00
Atsushi Eno
1ee253f41b
Fill NetTcpBinding security implementation a bit.
2010-10-14 19:40:48 +09:00
Atsushi Eno
2ba9827975
Add missing members.
2010-09-29 23:34:49 +09:00
Marek Habersack
d718a17c96
[wcf] Make sure context exists in the dictionary getting its associated wait handle.
...
SvcHttpHandler maintains a mapping of HttpContext to ManualResetEvent. Entries are
removed from the cache in EndHttpRequest. The code makes sure the context exists in
the cache before attempting to access it.
2010-09-29 12:44:27 +02:00
Alan McGovern
08c8799a39
[System.ServiceModel] Fix a few potential exceptions in background threads
...
Pass the listener as it's own async state so that we avoid potential null derefs in the callback. Also wrap the BeginAccept and EndAccept calls in their own try/catches in case they throw an exception.
2010-09-29 10:37:56 +01:00
Atsushi Eno
af6fde94ef
TCP channel listener: remove extra complication (threads) in the previous change.
2010-09-29 01:02:09 +09:00
Atsushi Eno
8c7cd3e190
Rework TCP listening model, and fix AcceptTcpClient() to not drop timed out requests that actually steals next requests in the air.
2010-09-28 23:05:26 +09:00
Sebastien Pouliot
6bf7db2ca6
WebResponse.Headers is not always available (e.g. moonlight browser stack)
...
* System.ServiceModel.Channels/HttpRequestChannel.cs: For Moonlight use
the WebResponse.SupportsHeaders before accessing the Headers collection.
This is needed because (the default) browser stack does not expose the
headers from its responses. Fix bug #642193
2010-09-28 08:43:05 -04:00
Atsushi Eno
a5043815da
Override IsContentTypeSupported() in per-encoding-binding-element implementation to work as expected.
2010-09-24 16:26:28 +09:00
Atsushi Eno
59de000b20
Avoid holding WebRequest. This should fix part of bug #636500 .
2010-09-10 17:51:30 +09:00
Jb Evain
5e32d42531
Remove workaround for moonlight now that System.dll's WebExceptionStatus is properly compiled
2010-09-03 11:31:17 +02:00