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
0870ad290d
Avoid possible list modification error during close process.
2011-02-08 12:06:18 +09: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
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
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
Atsushi Eno
65e5d6381c
moonlight build workaround: smcs somehow rejects to compile this code.
2010-09-02 21:53:09 +09:00
Atsushi Eno
271213c255
Throw EndpointNotFoundException when it cannot connect to the remote server.
2010-09-02 12:04:29 +09:00
Atsushi Eno
8d3ff9480e
2010-07-09 Atsushi Enomoto <[email protected] >
...
* SecureMessageGenerator.cs : MessageBuffer was missing copy of
Body wsu:Id attribute.
* HttpRequestChannel.cs : remove comment for resolved issue.
svn path=/trunk/mcs/; revision=160102
2010-07-09 05:37:14 +00:00
Atsushi Eno
a80f043367
2010-07-08 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : remove extra code.
svn path=/trunk/mcs/; revision=160037
2010-07-08 08:42:12 +00:00
Andreia Gaita
9b8e9605c3
* HttpRequestChannel.cs: if the response has no body, create an
...
empty message and return that.
Note: the ws-mc protocol defines that the service returns an
200 response with an empty body on first connection, this
adds support for that (fixes part of #599667 )
svn path=/trunk/mcs/; revision=157525
2010-05-19 05:10:16 +00:00
Atsushi Eno
270d685791
2010-05-12 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
svn path=/trunk/mcs/; revision=157243
2010-05-12 15:01:17 +00:00
Atsushi Eno
25a5ead3c2
2010-04-06 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : add commented note.
svn path=/trunk/mcs/; revision=154838
2010-04-06 11:13:49 +00:00
Gonzalo Paniagua Javier
d234d0136f
2010-04-06 Gonzalo Paniagua Javier <[email protected] >
...
* HttpRequestChannel.cs: don't create the wait handle unless it is
really needed.
svn path=/trunk/mcs/; revision=154822
2010-04-06 05:01:51 +00:00
Atsushi Eno
f026893db8
2010-04-02 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : use correct max buffer size.
svn path=/trunk/mcs/; revision=154708
2010-04-02 11:36:49 +00:00
Atsushi Eno
40564594bb
2010-03-26 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : ok, no need for conditional code path.
svn path=/trunk/mcs/; revision=154275
2010-03-26 14:18:47 +00:00
Sebastien Pouliot
8c187610f3
2010-03-26 Sebastien Pouliot <[email protected] >
...
* HttpRequestChannel.cs: There is no WebHeaderCollection.Add
method in SL API
svn path=/trunk/mcs/; revision=154264
2010-03-26 12:30:14 +00:00
Atsushi Eno
98329a07f9
2010-03-26 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : create HttpResponseMessageProperty.
svn path=/trunk/mcs/; revision=154247
2010-03-26 06:33:48 +00:00
Atsushi Eno
01bd843372
2010-03-25 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : handle only 4xx errors as to not process
content stream.
svn path=/trunk/mcs/; revision=154191
2010-03-25 07:53:38 +00:00
Jb Evain
69fc3eefe6
use MOONLIGHT symbol
...
svn path=/trunk/mcs/; revision=153654
2010-03-16 10:55:58 +00:00
Atsushi Eno
af5c0da74d
2010-02-05 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs, HttpTransportBindingElement.cs :
enable authentication schemes on monotouch.
* Dummy_2_1.cs : remove AuthenticationSchemes. It blocks MT support.
svn path=/trunk/mcs/; revision=150909
2010-02-05 02:21:37 +00:00
Atsushi Eno
17b88b6dcf
2010-01-13 Atsushi Enomoto <[email protected] >
...
* HttpChannelFactory.cs, TcpChannelFactory.cs,
ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
PeerChannelFactory.cs, HttpRequestChannel.cs:
fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
type and made required changes.
svn path=/trunk/mcs/; revision=149436
2010-01-13 08:28:22 +00:00
Atsushi Eno
ad860bce0a
2010-01-13 Astushi Enomoto <[email protected] >
...
* net_2_1_raw_System.ServiceModel.dll.sources :
add HttpCookieContainerBindingElement.cs.
* HttpCookieContainerBindingElement.cs : new.
* IHttpCookieContainer.cs : fix type name.
* HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
* BasicHttpBinding.cs : add SL3 EnableHttpCookieContainer support.
svn path=/trunk/mcs/; revision=149435
2010-01-13 08:13:43 +00:00
Atsushi Eno
f71285f7ce
2009-12-10 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : avoid adding duplicate headers. Basically
default WebHeaderCollection items are overwritten.
svn path=/trunk/mcs/; revision=148012
2009-12-10 08:22:41 +00:00
Atsushi Eno
ef4a0199b5
2009-12-10 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : when HTTP response was error, do not try
to read message but just raise an error.
svn path=/trunk/mcs/; revision=148011
2009-12-10 07:57:11 +00:00
Atsushi Eno
384a2f519d
2009-12-10 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : WebException.Response might be null.
svn path=/trunk/mcs/; revision=148004
2009-12-10 06:02:50 +00:00
Atsushi Eno
c3f1becc55
2009-12-04 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : disabled carelessly added
"UseDefaultCredentials = false" line. It blocked basic auth.
svn path=/trunk/mcs/; revision=147645
2009-12-04 09:10:40 +00:00
Atsushi Eno
03e70edb42
2009-12-04 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs, HttpChannelFactory.cs,
HttpChannelListener.cs, HttpListenerManager.cs :
implemented http client authentication and some of corresponding
service code. Only client works so far.
svn path=/trunk/mcs/; revision=147642
2009-12-04 04:59:54 +00:00
Geoff Norton
3b91c65f57
remove confusing debug spew
...
svn path=/trunk/mcs/; revision=145356
2009-11-04 01:34:04 +00:00
Sebastien Pouliot
8556ef9018
2009-10-15 Sebastien Pouliot <[email protected] >
...
* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).
svn path=/trunk/mcs/; revision=144200
2009-10-15 12:53:31 +00:00
Jb Evain
fe904e9681
2009-09-30 Jb Evain <[email protected] >
...
* HttpRequestChannel.cs: When compiling for MonoTouch, avoid
to use any of the remoting features.
svn path=/trunk/mcs/; revision=142970
2009-09-30 08:43:02 +00:00
Atsushi Eno
f5d6d3167b
2009-09-06 Atsushi Enomoto <[email protected] >
...
* ContractDescriptionGenerator.cs : default action name is prepended
"urn:", and on the other hand do not add extra '/' in such case.
* HttpRequestChannel.cs : Fix message version member comparison.
Double-quote SOAPAction. Remove extra Exception.
* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
* HttpRequestContext.cs : when addressing is None, remove action
from the message.
svn path=/trunk/mcs/; revision=141394
2009-09-06 10:32:38 +00:00
Atsushi Eno
7a217b8104
2009-08-31 Atsushi Enomoto <[email protected] >
...
* HttpChannelFactory.cs, HttpRequestChannel.cs,
ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
Check ManualAddressing value and reject address-missing ones.
svn path=/trunk/mcs/; revision=140962
2009-08-31 12:26:49 +00:00
Atsushi Eno
db61e675d7
2009-07-28 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : implement OnAbort().
svn path=/trunk/mcs/; revision=138839
2009-07-28 14:38:17 +00:00
Atsushi Eno
25e1fd20dc
2009-07-17 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs, RequestChannelBase.cs :
A couple of async members are now implemented in the base class.
Ditto for EndpointAddress and Via.
svn path=/trunk/mcs/; revision=138122
2009-07-17 12:48:45 +00:00
Atsushi Eno
76a2d59775
2009-06-16 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : Fixed timeout handling. It was causing
infinite block in 2.0 profile.
svn path=/trunk/mcs/; revision=136218
2009-06-16 13:28:10 +00:00
Sebastien Pouliot
d22e182ad0
In System.ServiceModel.Channels:
...
2009-06-05 Sebastien Pouliot <[email protected] >
* ClientAccessPolicy.cs: Removed
* CrossDomainAccessManager.cs: Removed
* CrossDomainPolicy.cs: Removed
* HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
since this is now done inside the BeginGetResponse call (outside
this assembly) for Moonlight (NET_2_1)
In .:
2009-06-05 Sebastien Pouliot <[email protected] >
* net_2_1_raw_System.ServiceModel.dll.sources: Remove
ClientAccessPolicy.cs, CrossDomainPolicy.cs and
CrossDomainAccessManager.cs since the code and checks is now done
inside System.Windows.Browser.dll, by BrowserHttpWebRequest, for
every non-site-or-origin web connection - i.e. http[s]
svn path=/trunk/mcs/; revision=135513
2009-06-05 12:03:47 +00:00
Alan McGovern
382c1c1f94
2009-06-04 Alan McGovern <[email protected] >
...
* HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
instead of the sync apis. Prevents a possible deadlock condition in
moonlight.
svn path=/trunk/mcs/; revision=135467
2009-06-04 18:06:00 +00:00
Atsushi Eno
af95841abe
2009-06-03 Atsushi Enomoto <[email protected] >
...
* HttpRequestChannel.cs : that SL2/ML2 does not seem to allow
null callbacks, so add hacky ones.
svn path=/trunk/mcs/; revision=135285
2009-06-03 13:14:49 +00:00
Atsushi Eno
dfd1716b11
2009-03-04 Atsushi Enomoto <[email protected] >
...
* CrossDomainAccessManager.cs : replace reflection-based
Uri retrieval with actually working one.
* HttpRequestChannel.cs : use cross domain access manager.
svn path=/trunk/mcs/; revision=128581
2009-03-04 18:09:16 +00:00
Atsushi Eno
61727cd7c2
2009-02-18 Atsushi Enomoto <[email protected] >
...
* Message.cs : do not forget to flush.
* HttpRequestChannel.cs : give more exact error info.
svn path=/trunk/mcs/; revision=127251
2009-02-18 08:12:36 +00:00
Jb Evain
031fa07cc1
2008-09-12 Astushi Enomoto <[email protected] >
...
Jb Evain <[email protected] >
* Makefile: support net_2_1_raw compilation profile.
* net_2_1_raw_System.ServiceModel.dll.sources
* *.cs: SL2 compilation support.
svn path=/trunk/mcs/; revision=112857
2008-09-12 11:21:41 +00:00
Jb Evain
bdd0809c70
move to from olive to mcs
...
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00