for argument checks.
* Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
reject "any" IP addresses. BeginGetHostEntry - renamed argument
to match MS, reject "any" IP addresses. GetHostEntry - reject
"any" IP addresses. GetHostAddresses - reject "any" IP addresses.
GetHostByName - use "hostName" as paramname in ANE.
svn path=/trunk/mcs/; revision=126281
* HttpWebResponseTest.cs:
* SocketResponder.cs:
* HttpWebRequestTest.cs: don't pretend to be a 1.1 server or the
socket will stay open. Timeout for Ntlm test is 5s now.
svn path=/trunk/mcs/; revision=117510
2008-09-08 Miguel de Icaza <[email protected]>
* EndPointListener.cs (SearchListener): Cope with the raw_url not
being merely a path, but potentially a full URI (see the proxy
case).
* HttpListenerRequest.cs: Cope with raw_url not being merely a
path, but potentially a full Uri. Also uses TryCreate, hoping
that one day it will be faster.
2008-09-08 Miguel de Icaza <[email protected]>
* Uri.cs (MaybeUri): A helper routine for methods in other classes
to quickly determine if something might be a Uri, before calling
the more expensive Uri.TryCreate (see bug 424192).
svn path=/trunk/mcs/; revision=112551
* IPAddress.cs : several IPv4 parsing fix exposed by bug #411920.
* IPAddressTest.cs : added test strings for bug #411920 as well as
enabling some ipv4ParseOK strings.
svn path=/trunk/mcs/; revision=109737
remain accessible after the response is disposed (and the headers are
no longer available). Adding missing disposed checks in properties
(except for StatusCode) and GetResponseHeader. On the 2.0 profile,
headers must remain accessible after the HttpWebResponse is disposed.
* System_test.dll.sources: Added HttpWebResponseTest.cs.
* HttpWebResponseTest.cs: Enabled tests.
svn path=/trunk/mcs/; revision=108804
* ResponseStream.cs: Do not Close the HttpResponse object here as
it is possible to issue multiple OutputStream.Close calls (they
actually happen implicitly through things like StreamWriter.Close,
and they are in various MSDN samples).
2008-05-28 Gonzalo Paniagua Javier <[email protected]>
svn path=/trunk/mcs/; revision=105259
(TryParse): Changed argument name to match MS.
(ParseIPV4): Only treat zero-length or " " address as empty on 1.0
profile. On 2.0 profile, only ignore characters after blank if last
part is valid hex string.
* IPv6Address.cs: Removed extra spaces and tabs.
* IPAddressTest.cs: Remove use of deprecated Assertion. Improved
existing tests.
svn path=/trunk/mcs/; revision=94052
* Cookie.cs: set Version to '1' if Port is set,
don't include path and domain informations when version is 0,
match ToString () output with .NET 2.0,
fixes bug #316017
* CookieTest.cs: enabled ToString () test,
added Version property test
svn path=/trunk/mcs/; revision=94013
* HttpListener.cs (Close): Closing does not mean dispose the
object. This allows Start/Stop/Start to be called as many times
as desired.
Fixes#337368
svn path=/trunk/mcs/; revision=88322
1.0 profile change. Added trivial tests to argument null checks.
Added test for DefaultWebProxy. Fixed line endings.
* WebRequest.cs: Changed serialization ctor to throw NIE on 1.0
profile. Cache default proxy, but still allow it to be explicitly set
to null.
svn path=/trunk/mcs/; revision=87517
* HttpListener2Test.cs: Removed CWL.
* HttpListenerRequest.cs: Removed dead code. USe String.Length to
check for zero-length string. Use instance field for is_chunked, and
also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
when Content-Length > 0, or Transfer-Encoding is chunked.
* System_test.dll.sources: Added HttpListenerRequestTest.cs.
svn path=/trunk/mcs/; revision=86666