1 2008-09-08 Miguel de Icaza <miguel@novell.com>
3 * EndPointListener.cs (SearchListener): Cope with the raw_url not
4 being merely a path, but potentially a full URI (see the proxy
7 * HttpListenerRequest.cs: Cope with raw_url not being merely a
8 path, but potentially a full Uri. Also uses TryCreate, hoping
9 that one day it will be faster.
11 2008-08-23 Zoltan Varga <vargaz@gmail.com>
13 * WebConnectionStream.cs (WriteRequest): Fix the copying in the
14 previous patch, when bytes.Length != length.
16 2008-08-22 Zoltan Varga <vargaz@gmail.com>
18 * WebConnectionStream.cs (WriteRequest): For small requests,
19 cluster together the header + body in a single write call, avoids
20 the latency problems observed in an TLS application that makes
21 many web service calls.
23 2008-08-22 Geoff Norton <gnorton@novell.com>
25 * WebConnection.cs: Set NoDelay
27 2008-08-21 Stephane Delcroix <sdelcroix@novell.com>
29 * OpenReadCompletedEventArgs.cs: new Address property for 2.1
31 2008-08-06 Miguel de Icaza <miguel@novell.com>
33 * IPAddress.cs (ParseIPV6): Use an exception-less parser for ipv6
36 * IPv6Address.cs: Rewrite most of the parsing code to not use that
37 incredibly fragile, hacky and hacky implementation.
39 (TryParse): Provide a exception-less parsing path.
41 2008-07-25 Gert Driesen <drieseng@users.sourceforge.net>µ
43 2008-08-06 Atsushi Enomoto <atsushi@ximian.com>
45 * IPAddress.cs : several IPv4 parsing fix exposed by bug #411920.
47 2008-08-05 Atsushi Enomoto <atsushi@ximian.com>
49 * WebClient.cs : it should not invoke delegate directly, but should
50 call overridable OnDownloadProgressChanged.
52 2008-07-25 Gert Driesen <drieseng@users.sourceforge.net>μ
54 * HttpWebResponse.cs: Initialize contentLength in ctor, as it must
55 remain accessible after the response is disposed (and the headers are
56 no longer available). Adding missing disposed checks in properties
57 (except for StatusCode) and GetResponseHeader. On the 2.0 profile,
58 headers must remain accessible after the HttpWebResponse is disposed.
60 2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
62 * IPAddress.cs: allow usage on 2.1 as smcs knows nothing about
63 string.GetEnumerator : IEnumerable<char>
65 2008-06-08 Miguel de Icaza <miguel@novell.com>
67 * ResponseStream.cs: Do not Close the HttpResponse object here as
68 it is possible to issue multiple OutputStream.Close calls (they
69 actually happen implicitly through things like StreamWriter.Close,
70 and they are in various MSDN samples).
72 2008-05-28 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
74 * CookieContainer.cs: apply slightly modified patch from rulatir@wp.pl
75 that fixes bug #356537.
77 2008-04-30 Miguel de Icaza <miguel@novell.com>
79 * WebPermission.cs (ToXml): To allow code that uses WebPermission
82 2008-04-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
84 * HttpWebResponse.cs: do not check the disposed status for properties
85 and methods that return response data other than the stream itself.
88 2008-04-16 Marek Habersack <mhabersack@novell.com>
90 * HttpWebRequest.cs: fix an off-by-one bug - the number of
91 redirects must not exceed the value of
92 MaximumAutomaticRedirections. Fixes bug #380131
94 2008-04-13 Jb Evain <jbevain@novell.com>
96 * *_2_1.cs: move the specific 2.1 System.Net code to the
99 2008-04-13 Jb Evain <jbevain@novell.com>
101 * WebRequest_2_1.cs, WebResponse_2_1.cs: new files
102 * HttpWebRequest_2_1.cs, HttpWebResponse_2_1, WebHeaderCollection_2_1:
103 update to Silverlight 2.0b1 API.
104 Merged from the Moonlight 2 branch.
106 2008-04-06 <gnorton@novell.com>
108 * ListenerAsyncContext.cs: Fix Basic authentication support. Patch from
109 Maciej Paszta <paszczi@go2.pl>
111 2008-02-21 Zoltan Varga <vargaz@gmail.com>
113 * HttpConnection.cs (Close): Close the socket even if Shutdown throws an exception.
115 2008-02-17 Daniel Nauck <dna@mono-project.de>
117 * HttpWebResponse.cs: refactored cookie expires parsing to
118 allow all common expires datetime formats.
120 2008-02-09 Daniel Nauck <dna@mono-project.de>
122 * HttpWebResponse.cs: convert UTC/GMT Expires DateTime from a cookie
123 into local time, also set the HttpOnly property if available.
125 2008-02-09 Daniel Nauck <dna@mono-project.de>
127 * Cookie.cs: implemented HttpOnly
129 2008-01-27 Gert Driesen <drieseng@users.sourceforge.net>
131 * IPAddress.cs (Parse): Changed argument name to match MS.
132 (TryParse): Changed argument name to match MS.
133 (ParseIPV4): Only treat zero-length or " " address as empty on 1.0
134 profile. On 2.0 profile, only ignore characters after blank if last
135 part is valid hex string.
136 * IPv6Address.cs: Removed extra spaces and tabs.
138 2008-01-26 Daniel Nauck <dna@mono-project.de>
140 * HttpWebRequest.cs: fixed typo. Use the actual uri for correct
141 cookie header informations and not the originally one.
143 2008-01-26 Daniel Nauck <dna@mono-project.de>
145 * Cookie.cs: set Version to '1' if Port is set,
146 don't include path and domain informations when version is 0,
147 match ToString () output with .NET 2.0,
150 2008-01-15 Atsushi Enomoto <atsushi@ximian.com>
152 * MonoHttpDate.cs : Parse() should return Local time. Fixed bug
155 2008-01-12 Gert Driesen <drieseng@users.sourceforge.net>
157 * WebClient.cs: Do not add trailing CRLF in UploadValuesCore. Fixes
158 standalone test for bug #351049.
160 2008-01-07 Sebastien Pouliot <sebastien@ximian.com>
162 * CredentialCache.cs: Gendarme's AvoidToStringOnStringsRule in
163 CredentialCacheKey constructor. UseStringEmptyRule on CredentialCache
164 static ctor (3 times).
166 2007-12-27 Miguel de Icaza <miguel@novell.com>
168 * WebClient.cs: We catch exceptions that happen on the helper
169 async threads toa void terminating the application on errors, and
170 also raise a variant of the OnXXXXCompleted methods that take an
173 Note that this differs from the .NET implementation in that
174 we actually raise a signal on error, and set the exception, and in
175 their case no error is ever raised.
177 We now call CompleteAsync in the OnXXXCompleted handlers to ensure
178 that the WebClient can be reused immediately by the callback.
182 This also should fix the bug report on IRC where someone
183 complained that they could not "chain" invocations to XXXAsync
184 methods from the OnXXXXCompleted handlers due to the WebClient
185 refusing to work if there was an ongoing operation
187 2007-12-24 Miguel de Icaza <miguel@novell.com>
189 * WebClient.cs: Do not validate method to be null, we do not do
190 that in OpenWrite, the detection is done later on.
194 2007-12-16 Miguel de Icaza <miguel@novell.com>
196 * WebClient.cs: Got the arguments in the wrong order, fix
198 2007-12-12 Marek Habersack <mhabersack@novell.com>
200 * WebClient.cs: DownloadProgressChanged is available only in the
203 2007-12-12 Miguel de Icaza <miguel@novell.com>
205 * WebClient.cs (DownloadFileCore): use longs for the
206 ContentLength, although the other code (loading into a byte array,
207 or a string) still uses ints, the DownloadFileCore should not.
209 2007-12-11 Miguel de Icaza <miguel@novell.com>
213 Lots of fixes to get the *Async methods to work.
215 * WebClient.cs: async, new boolean flag, used to track whether we
216 are an async invocation, and if so, we need to invoke some
219 Switch to using System.Threading.Thread instead of the ThreadPool
220 as there is no way with the ThreadPool to abort threads (to
221 implemente CancelAsync).
223 (CompleteAsync): Helper method used to clear the state after an
224 async operation completes, otherwise the WebClient can only be
227 (CancelAsync): Use Thread.Interrupt to signal the thread that we
228 are aborting it (it is a lot milder than Thread.Abort, and we are
229 in no rush to cancel this anyways); Also the documentation states
230 that we need to call the WebRequest.Abort method, so we do that in
231 every Download instance.
233 (DownloadDataAsync, DownloadFileAsync, DownloadStringAsync,
234 OpenReadAsync, OpenWriteAsync, UplaodDataAsync, UploadFileAsync,
235 UploadStringAsync): Make signature parameters match MS; use
236 threads instead of threadpool (so we can implement CancelAsync),
237 catch ThreadAbortException here so we can also raise the proper
238 DownloadDataCompleteEventArgs.
240 These routines will also call the WebRequest.Abort when
241 appropriate when ThreadInterrupted is used.
243 (ReadAll): Raise DownloadProgressChanged events.
245 2007-12-03 Gert Driesen <drieseng@users.sourceforge.net>
247 * WebClient.cs: Modified argument checks to match MS, and wrap
248 exceptions in a WebException. Fixes bug #343064.
250 2007-12-03 Miguel de Icaza <miguel@novell.com>
252 * FtpWebRequest.cs: Applied patch from Jerome Haltom that fixes
253 multi-line responses (after my fix).
257 2007-11-16 Marek Habersack <mhabersack@novell.com>
259 * HttpWebRequest.cs: when folding a request into a GET one, set
260 content length to 0 and kill the buffers. Fixes bug #327314. Patch
261 from Geoff Norton <gnorton@novell.com>, thanks!
263 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
265 * WebRequest.cs : added missing ImpersonationLevel (NIE).
266 * SecurityProtocolType.cs : not [Serializable] in 2.0.
267 * ServicePoint.cs : no GetHashCode() in 2.0.
268 * WebRequestMethods.cs : fixed wrong STOU.
269 * FileWebResponse.cs : no Dispose(true) in 2.0 API.
271 2007-11-08 Jb Evain <jbevain@novell.com>
273 * WebHeaderCollection_2_1.cs: add a custom WebHeaderCollection
276 2007-11-07 Geoff Norton <gnorton@novell.com>
278 * ListenerAsyncResult.cs: Only send the 401 header if our authentication
279 type is Basic or Negotiate (which we default to basic) because that is
280 all we support. Set the WWW-Authenticate header when we return a 401
281 result. Send the correct state object in the async result.
283 2007-11-06 Geoff Norton <gnorton@novell.com>
285 * ListenerAsyncResult.cs: If the HttpListener has an authentication
286 scheme, the user should be presented with a 401 without calling the
289 2007-11-04 Miguel de Icaza <miguel@novell.com>
291 * FtpWebRequest.cs (GetResponseStatus): Fix this routine
292 propertly, refactor, and make it follow Mono coding conventions.
294 2007-10-30 Jerome Haltom (wasabi@larvalstage.net)
296 * FtpWebRequest.cs: adds support for ftp multiline results, fixes
299 2007-10-27 Miguel de Icaza <miguel@novell.com>
301 * HttpListener.cs: Remove more trigger-happy disposed=true from
302 the code; We should only dispose when the Dispose method is
303 actually called. Not before.
307 * HttpListener.cs (Close): Closing does not mean dispose the
308 object. This allows Start/Stop/Start to be called as many times
313 2007-10-15 Gert Driesen <drieseng@users.sourceforge.net>
315 * FtpWebRequest.cs: Added support for DELETE.
317 2007-10-15 Gert Driesen <drieseng@users.sourceforge.net>
319 * WebRequest.cs: Changed serialization ctor to throw NIE on 1.0
320 profile. Cache default proxy, but still allow it to be explicitly set
321 to null. Removed commented code.
323 2007-10-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
325 * WebRequest.cs: DefaultWebProxy allows a null value. Fixes bug #323668.
327 2007-09-30 Gert Driesen <drieseng@users.sourceforge.net>
329 * HttpListenerRequest.cs: Do not store 'method' in upper case, but
330 instead use case-insensitive comparison.
332 2007-09-30 Gert Driesen <drieseng@users.sourceforge.net>
334 * HttpListenerRequest.cs: Removed dead code. USe String.Length to
335 check for zero-length string. Use instance field for is_chunked, and
336 also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
337 when Content-Length > 0, or Transfer-Encoding is chunked.
339 2007-09-28 Marek Habersack <mhabersack@novell.com>
341 * HttpListenerRequest.cs: make sure 'method' is always stored in
343 The DELETE method must not error out on missing Content-Length
344 header (this is the behavior of the MS.NET version of the
345 class). Fixes bug #323215.
346 HasEntityBody should return false when method is GET/HEAD,
347 content_length is less than or equal to zero or the request is
348 chunked. Fixes bug #325296
350 2007-08-29 Atsushi Enomoto <atsushi@ximian.com>
352 * IPAddress.cs, IPv6Address.cs : (ToString) output ScopeId.
354 2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
356 * HttpWebRequest_2_1.cs, HttpWebResponse_2_1.cs :
357 added new sources for those classes for 2.1 (in 2.1 they are
358 almost abstract, while in 2.0 they are concrete).
359 * HttpRequestCreator.cs, ServicePoint.cs :
360 #ifdef 2.0 dependencies out.
362 2007-06-28 Chris Howie <cdhowie@nerdshack.com>
364 * ServicePoint.cs: Implemented BindIPEndPointDelegate.
365 * FtpWebRequest.cs: Respect ServicePoint.BindIPEndPointDelegate.
366 * WebConnection.cs: Respect ServicePoint.BindIPEndPointDelegate.
368 2007-08-08 Jb Evain <jbevain@novell.com>
370 * HttpWebRequest.cs: .ctor(Uri) is public in 2.1.
372 2007-08-03 Jb Evain <jbevain@novell.com>
374 * Dns.cs: remove async methods for the 2.1 profile.
376 2007-07-17 Rodrigo Kumpera <rkumpera@novell.com>
378 * HttpListenerRequest.cs: Support for Cookie decoding.
379 * HttpListenerResponse.cs: Support for encoding cookies on the response sent to the client
380 * Cookie.cs: new internal method to encode the Cookie in a proper form to sent to clients
382 2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
384 * WebConnectionStream.cs: implement the CanTimeout for 2.0. Fixes
387 2007-07-12 Geoff Norton <gnorton@customerdna.com>
389 * HttpListenerContext.cs:
390 * HttpListener.cs: Handle HttpListener AuthenticationSchemes
391 Only Basic authentication is included for now.
393 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
395 * NetworkAccess.cs: Only mark as flags enum on 2.0.
397 2007-06-21 Dick Porter <dick@ximian.com>
399 * AuthenticationManager.cs:
408 * ServicePointManager.cs:
409 * HttpWebResponse.cs: Throw NotImplementedException indirectly, to
410 reduce noise in Moma reports.
412 2007-06-20 Atsushi Enomoto <atsushi@ximian.com>
414 * ServicePointManager.cs : (bootstrap) build fix.
416 2007-06-19 Dick Porter <dick@ximian.com>
418 * AuthenticationManager.cs:
419 * IWebProxyScript.cs:
422 * CookieException.cs:
423 * CredentialCache.cs:
426 * FileWebResponse.cs:
430 * DecompressionMethods.cs:
431 * HttpWebResponse.cs:
432 * ProtocolViolationException.cs:
434 * ServicePointManager.cs:
437 * WebHeaderCollection.cs:
439 * WebExceptionStatus.cs: 2.0 profile updates
441 2007-05-18 Gert Driesen <drieseng@users.sourceforge.net>
443 * WebConnectionStream.cs: On read timeout, throw WebException with
444 status Timeout instead of IOException.
446 2007-05-16 Adar Wesley <adarw@mainsoft.com>
448 * CookieCollection.cs: added missing method strongly typed CopyTo.
450 * CredentialCache.cs: added missing methods Add, Remove, GetCredential
452 * HttpWebRequest.jvm.cs: added missing ClientCertificates getter.
454 * ServicePoint.cs: added missing method CloseConnectionGroup.
456 * WebClient.cs: added missing methods OnDownloadProgressChanged,
457 OnUploadProgressChanged, GetWebRequest, GetWebResponse
459 * WebHeaderCollection.cs: added missing methods IsRestricted, Add,
462 * WebProxy.cs: added missing method GetObjectData.
464 2007-05-15 Marek Habersack <mhabersack@novell.com>
466 * HttpWebRequest.cs: fold all methods into GET for
467 redirect/moves. Fixes bug #81624
469 2007-05-07 Miguel de Icaza <miguel@novell.com>
471 Missing second part of the patch.
473 * WebHeaderCollection.cs: To be compatible with older versions of
474 Mono that might have serialized this in a different format, catch
475 the potential exception, and try the old name.
477 This should become a practice whenever we fix serialization in the
482 2007-04-23 Marek Habersack <mhabersack@novell.com>
484 * EndPointListener.cs: relax prefix matching to succeed in cases
485 when the prefix ends with / and the request path does not. Fixes
488 * CookieCollection.cs: added a SortByPath method to sort the
489 collection on demand.
491 * Cookie.cs: do not return "/" for Path if it wasn't set
494 * CookieContainer.cs: set cookie path only if its version is
495 "Netscape" and is null or empty. Fixes #81420.
496 Sort the collection by the path relevance before returning from
497 the GetCookies method. Fixes bug #81421.
499 2007-04-17 Joel Reed <joelwreed@gmail.com>
501 * WebHeaderCollection.cs: www-authenticate should be multivalue.
502 This fixes a bug related to RFC 2608 which says in section
503 "15.2 Offering a Choice of Authentication Schemes"
505 An HTTP/1.1 server may return multiple challenges with a 401
506 (Authenticate) response, and each challenge may use a different
507 scheme. The order of the challenges returned to the user agent is in
508 the order that the server would prefer they be chosen. The server
509 should order its challenges with the "most secure" authentication
510 scheme first. A user agent should choose as the challenge to be made
511 to the user the first one that the user agent understands.
513 Before this change, mono was choosing whatever was sent last,
514 which was the most insecure authentication option.
516 2007-04-10 Marek Habersack <mhabersack@novell.com>
518 * HttpListenerRequest.cs: do not include the query start marker
519 ('?') in the first variable name stored in the QueryString
520 collection. There is no HTTP header 'Accept-Types' in the
521 standard, there's only the 'Accept' header that specifies the
522 accepted MIME types. Fixes bug #81317
524 2007-03-25 Alan McGovern <alan.mcgovern@gmail.com>
526 * IPAddress.cs : Further optimisation for the Swap*** methods.
528 2007-03-24 Alan McGovern <alan.mcgovern@gmail.com>
530 * IPAddress.cs : Optimised the SwapInt and SwapLong methods.
532 2007-03-09 Miguel de Icaza <miguel@novell.com>
534 * FtpDataStream.cs: Close must be called on the stream before we
535 attempt to read a status code from the remote server.
537 Fixes FTP transfers to complete.
539 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
541 * HttpWebRequest.cs: properly handle OPTIONS, which may or may not
542 have a request body. Fixes bug #80686.
544 2007-03-02 Marek Habersack <mhabersack@novell.com>
546 * WebClient.cs: Overwrite existing files on download, as
547 documented and as tested on MS.NET. Fixes Bug#81005
549 2007-02-24 Gert Driesen <drieseng@users.sourceforge.net>
551 * HttpWebRequest.cs: Allow Proxy to be set to null on 2.0 profile.
553 2007-02-18 Geoff Norton <gnorton@customerdna.com>
555 * AuthenticationManager.cs: Register the modules in the 2.0 profile
556 when we create the ArrayList.
558 2007-02-01 Gert Driesen <drieseng@users.sourceforge.net>
560 * WebProxy.cs: In IsBypassed, move address check back to satify unit
563 2007-01-30 Ilya Kharmatsky <ilyak -at- mainsoft.com>
565 * Dns.cs : implemented proper exception handling under TARGET_JVM
566 when trying to resolve not existing host.
568 2007-01-28 Gert Driesen <drieseng@users.sourceforge.net>
570 * IPAddress.cs: Provide more meaningful exception message on 2.0
573 2007-01-28 Gert Driesen <drieseng@users.sourceforge.net>
575 * FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
576 no longer throw NotSupportedException. No longer store ContentLength
577 in headers. Do not allow null or zero-length method. Allow timeout
578 to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
579 Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
580 file if it already exists. Binary serialization compatibility fixes.
581 * FileWebResponse.cs: Return application/octet-stream as ContentType.
583 2007-01-28 Gert Driesen <drieseng@users.sourceforge.net>
585 * WebHeaderCollection.cs: Fixed binary serialization compatibility
588 2007-01-28 Gert Driesen <drieseng@users.sourceforge.net>
590 * WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
591 compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
592 profile, throw ArgumentNullException in IsBypassed if host is null.
594 2007-01-22 Miguel de Icaza <miguel@novell.com>
596 * HttpWebRequest.cs: Remove unused variable.
598 * FtpWebRequest.cs: Remove unused variable.
600 * WebHeaderCollection.cs: Remove a handful of NotImplementedException's
602 2007-01-11 Miguel de Icaza <miguel@novell.com>
604 * HttpListenerRequest.cs (SetRequestLine): Add validation for the
607 Allow any verbs to go through, not only
608 the white list of verbs.
612 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
614 * RequestStream.cs: initialize the stream in both ctors. Fixes a couple
617 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
619 * HttpWebRequest.jvm.cs: Fixed line endings.
620 * HttpWebResponse.jvm.cs: Same.
621 * WebException.cs: Same.
622 * FtpWebRequest.cs: Same.
623 * VMWHttpProvider.jvm.cs: Same.
625 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
627 * DnsPermissionAttribute.cs: Fixed line endings.
628 * HttpVersion.cs: Same.
629 * FtpWebResponse.cs: Same.
630 * HttpContinueDelegate.cs: Same.
631 * FtpAsyncResult.cs: Same.
632 * EndpointPermission.cs: Same.
633 * IPv6Address.cs: Same.
634 * FtpDataStream.cs: Same.
635 * SocketPermission.cs: Same.
636 * FileWebRequest.cs: Same.
637 * FileWebResponse.cs: Same.
638 * DnsPermission.cs: Same.
639 * ProtocolViolationException.cs: Same.
640 * MonoHttpDate.cs: Same.
641 * SocketPermissionAttribute.cs: Same.
642 * CookieException.cs: Same.
643 * WebResponse.cs: Same.
644 * DefaultCertificatePolicy.cs: Same.
646 2006-12-28 Gert Driesen <drieseng@users.sourceforge.net>
648 * IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
649 ctor. Added null checks for the address passed in the ctors.
651 2006-12-28 Miguel de Icaza <miguel@novell.com>
653 * IPAddress.cs: The condition in 1.1 was broken, it only allowed
654 16-byte addresses, and never 4-byte addresses (only 2.0 had
657 Keep a single code path.
659 Also, remove all the NET_1_1 defines, we realistically only
660 distinguish between 1.1 and 2.0, we wont likely support 1.0, 1.1
661 and 2.0, so remove the 1.0 vs 1.1 conditionals.
665 〓2006-12-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
667 * WebConnectionStream.cs: fix error in my last patch. Thanks to Felipe
670 2006-12-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
674 * WebConnectionStream.cs: detect errors writing headers earlier and
675 avoid race that showed up with SSL. Fixes bug #80234.
677 2006-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
679 * EndPointListener.cs:
682 * ChunkedInputStream.cs:
684 * RequestStream.cs: add initial support for HTTPS.
686 2006-12-18 Atsushi Enomoto <atsushi@ximian.com>
688 * FtpStatus.cs : The build gets broken when only-2.0 classes/members
689 are not excluded in 1.x build.
691 2006-12-18 David Elkind <davide@mainsoft.com>
693 * FtpAsyncResult.cs : FTP request is now working and covers about 100% of .NET API
694 * FtpDataStream.cs: FTP request is now working and covers about 100% of .NET API
695 * FtpWebRequest.cs: FTP request is now working and covers about 100% of .NET API
696 * FtpWebResponse.cs: FTP request is now working and covers about 100% of .NET API
697 * FtpStatus.cs: added composite status (includes status code and status description)
699 2006-12-04 Konstantin Triger <kostat@mainsoft.com>
701 * WebRequest.cs, WebResponse.cs: TARGET_JVM limitation workaround.
703 2006-12-04 Konstantin Triger <kostat@mainsoft.com>
705 * ServicePointManager.cs: correct assignment typo.
706 * ServicePoint.cs: Remove unneeded locks for getters, add internal setter.
708 2006-11-27 Miguel de Icaza <miguel@novell.com>
710 * WebRequest.cs: Instead of throwing NotImplemented exceptions,
711 call GetMustImplement, that way we do not need the whitelist, and
712 we save a handful of opcodes.
714 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
716 * HttpWebRequest.cs: add 2 more methods that are not supposed to have
717 a body. Fixes bug #80001.
719 2006-11-15 Andrew Skiba <andrews@mainsoft.com>
721 * WebHeaderCollection.cs: add stubs for new 2.0 properties.
723 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
725 * HttpWebResponse.cs: cookies are actually added to the request
726 container if any. Fixes bug #79821.
728 2006-11-02 Michael Hutchinson <m.j.hutchinson@gmail.com>
730 * WebRequest.cs: more closely follow MS behaviour: use system settings
731 unless told otherwise, and respect app.config.
733 2006-11-01 Michael Hutchinson <m.j.hutchinson@gmail.com>
735 * GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0
736 profile, and move code to new property WebRequest.DefaultWebProxy.
737 * WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
738 Add support for config option UseSystemDefault using simplistic
739 implementation of new 2.0 method GetSystemWebProxy ().
741 2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
743 * FtpWebRequest.cs : more build fixes.
745 2006-10-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
747 * EndPointListener.cs: update comment and avoid exception when the
750 2006-10-30 Miguel de Icaza <miguel@novell.com>
752 * WebRequestMethods.cs: Another typo fix.
754 * ServicePointManager.cs: Set the default properly.
756 * SecurityProtocolType.cs: Remove non-existant defines.
758 2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
760 * HttpWebRequest.cs: internally allow buffer if it's not a known
761 GET-only method instead of enabling that only for POST/PUT. Fixes bug
764 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
766 * WebConnection.cs: TARGET_JVM
768 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * WebException.cs: patch by Andrew Skiba that fixes serialization
771 compatibility with .NET and the default value for status.
773 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
777 2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
779 * CookieContainer.cs: send the cookies from the collection we got for
780 the given URI, not the whole collection.
781 * HttpWebResponse.cs: only add the cookies to this instance, not to the
782 cookie container set in the request.
784 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
786 * WebConnection.cs: Patch to remove the hack that was required for
787 using the older versions of the SSL/TLS classes. This hack is no more
788 required :-). Patch by Gonzalo Paniagua Javier.
790 2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
792 * HttpConnection.cs: when the content length is available, keep it
793 updated after synchronous read. Renamed 'available' to 'remaining_body'.
794 * RequestStream.cs: when creating the stream, pass the remaining length
795 starting from the offset in the buffer.
797 2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
799 * RequestStream.cs: make sure we return 0 when no more bytes left.
800 Paticularly, when we have a content length and the whole response is
803 2006-08-20 Miguel de Icaza <miguel@novell.com>
805 * RequestStream.cs (Read): A bug fix for #79112 and what I
806 consider to be an important change.
808 The bug fix is that we update the "available" variable as soon as
809 we consume data from Read, this means that a second call into Read
810 wont block. Available was only being updated on a secondary code
811 path, now we alwaysupdate it after using FillFromBuffer.
813 The second component is what I believe the right behavior should
814 be. There was a check for "if count > available" that set count
815 to available in that case. The idea was to limit the data read
816 from the buffer that belonged to this particular request, to allow
819 But this test was done after FillFromBuffer, which assumed that
820 all the data held in the buffer (the one used by FillFromBuffer)
821 must belong to the this request, and only future data did not.
823 I think my change is correct, but it assumes that the initialized
824 RequestStream will be used for other pipelined HTTP requests,
825 which is not something am 100% sure of, so Gonzalo needs to check
828 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830 * Cookie.cs: avoid nullref in GetHashCode and Equals.
832 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
834 * CookieCollection.cs:
835 * CookieContainer.cs: remove expired cookies.
837 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
839 * Dns.cs : (GetHostEntry) when passed IP addresses, it does not issue
840 query to DNS. Patch by Petri Latvala.
842 2006-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
844 * CookieContainer.cs: don't send a secure cookie over an insecure
847 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
849 * WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
850 that starts with 127 are special.
852 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
854 * HttpListener.cs: Fixes race condition in BeginGetContext. Patch by
855 Pawel Sakowski that fixes bug #78365.
857 2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
859 * ServicePointManager.cs : oops, CONFIGURATION_DEP.
861 2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
863 * GlobalProxySelection.cs : if corresponding config section is
864 DefaultProxySection then use it.
866 2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
868 * WebRequest.cs : if corresponding config section is
869 WebRequestModulesSection then use it.
871 2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
873 * ServicePointManager.cs : if corresponding config section is
874 ConnectionManagementSection then use it.
876 2006-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
879 * HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
882 2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
884 * CredentialCache.cs: added DefaultNetworkCredentials.
886 2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
888 * NetworkCredential.cs: implement ICredentialsByHost interface.
890 2006-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
892 * WebConnection.cs: reset the challenge and the status code when
893 creating the tunnel and sending the proxy auth. headers. Improve error
894 message when there's an error creating the tunnel.
895 * HttpWebRequest.cs: don't trigger an early throw for a POST that gets
896 a 401 or 407 response.
898 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
900 * WebConnectionData.cs:
902 * HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
903 we were not handling a proxy authentication request. Fixes bug #78150
906 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
908 * WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
909 This fixes bug #78150. Also fix the bypass check for local requests.
911 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
913 * WebProxy.cs: removed bogus ^M.
915 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * HttpWebResponse.cs: don't remove the Set-Cookie headers. Fixes bug
920 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
922 * WebClient.cs : added a bunch of async method support.
924 2006-04-03 Chris Toshok <toshok@ximian.com>
926 * HttpWebResponse.cs (ContentEncoding): return "" if the header
929 2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
931 * DownloadStringCompletedEventHandler.cs : missing delegate.
933 2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
935 * Dns.cs : minor argument renaming.
937 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
939 * DownloadDataCompletedEventArgs.cs
940 DownloadDataCompletedEventHandler.cs
941 DownloadProgressChangedEventArgs.cs
942 DownloadProgressChangedEventHandler.cs
943 DownloadStringCompletedEventArgs.cs
944 OpenReadCompletedEventArgs.cs
945 OpenReadCompletedEventHandler.cs
946 OpenWriteCompletedEventArgs.cs
947 OpenWriteCompletedEventHandler.cs
948 UploadDataCompletedEventArgs.cs
949 UploadDataCompletedEventHandler.cs
950 UploadFileCompletedEventArgs.cs
951 UploadFileCompletedEventHandler.cs
952 UploadProgressChangedEventArgs.cs
953 UploadProgressChangedEventHandler.cs
954 UploadStringCompletedEventArgs.cs
955 UploadStringCompletedEventHandler.cs
956 UploadValuesCompletedEventArgs.cs
957 UploadValuesCompletedEventHandler.cs : added 2.0 types.
959 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
961 * Dns.cs : filled missing NET_2_0 members.
963 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
965 * IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
966 run-test. Those IPv6 properties needed to be reimplemented.
968 2006-03-27 Atsushi Enomoto <atsushi@ximian.com>
970 * IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.
972 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
974 * WebConnectionStream.cs: avoid Begin/EndWrite when the body length is
977 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
979 * HttpWebRequest.cs: send the request if ContentLength is set for
980 POST/PUT, the request stream has that exact amount of bytes in it and
981 we're trying to get the response stream.
983 This way, closing the request stream is not needed in order to actually
984 send the request. Fixes bug #77753.
986 * WebConnectionStream.cs: throw if the number of bytes written is
987 greater than the specified request content length.
989 2006-03-11 Miguel de Icaza <miguel@novell.com>
991 * WebClient.cs: Only expose the right methods to avoid warnings.
993 * FtpDataStream.cs (Dispose): Fix signature.
995 * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
996 like we are missing features here).
998 * IPAddress.cs: Move m_HashCode property to the end, and set
999 pragmas to disable warnings.
1001 2006-02-16 Dick Porter <dick@ximian.com>
1003 * IPEndPoint.cs: The SocketAddress AddressFamily takes up the
1004 first two bytes, not just one. Check the size of the
1005 SocketAddress buffer for IPv6 as well.
1007 * Dns.cs: Cope when GetHostByName_internal or
1008 GetHostByAddr_internal returns fewer items in the array than it
1009 intended to (maybe due to conversion errors.)
1011 2006-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1013 * FtpWebResponse.cs: Add UpdateStatus method, to update both
1014 statusCode and statusDescription at the same time.
1016 2006-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1018 * FtpWebRequest.cs: Remove WebExceptionStatus argument
1019 from CreateExceptionFromResponse, since exceptions gotten
1020 from server response always have a WebExceptionStatus.ProtocolError
1023 2006-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1025 * FtpWebRequest.cs: Add renaming support when using
1026 WebRequestMethods.Ftp.Rename method.
1028 2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1030 * ChunkedInputStream.cs:
1031 * ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
1034 2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1036 * HttpWebRequest.cs: don't send the expect-100 if if there's no content.
1038 * HttpListenerRequest.cs:
1039 * HttpConnection.cs:
1040 * RequestStream.cs: use the content length header to avoid reading past
1041 the end of the stream.
1043 Patch by Horst Reiterer.
1045 2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1047 * FtpWebRequest.cs: Add supportedCommands array with the sorted
1048 methods, to search using Array.BinarySearch. Remove CheckMethod.
1050 2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1052 * FtpWebRequest.cs: Fixed some typos and small issues.
1054 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1056 * HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
1059 2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1061 * FtpRequestCreator.cs:
1062 * FtpAsyncResult.cs:
1065 * FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
1067 2006-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1069 * FtpStatusCode.cs: Fix a typo.
1071 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * WebClient.cs: (2.0) UploadString() returns string, not void.
1075 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * HttpWebResponse.cs: ignore non-integer values for max-age and version.
1078 Fixes bug #77199. Thanks to Cyrille Colin.
1080 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1082 * HttpWebResponse.cs: cope with malformed cookies with '=' as value.
1083 Patch by Cyrille Colin. Fixes bug #77179.
1085 2005-12-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1087 * FtpStatusCode.cs: New 2.0 enum.
1089 2005-12-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091 * CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
1094 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * HttpWebResponse.cs: don't loop forever when no name or value between
1097 semicolons. Fixes bug #76943.
1099 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101 * HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
1102 without a value. Fixes bug #76922.
1104 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106 * EndPointListener.cs:
1107 * HttpListenerRequest.cs: don't require the Host header for 1.0. Just
1108 map that to the '*' or '+' host.
1110 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112 * IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
1115 2005-11-21 Senganal T <tsenganal@novell.com>
1117 * Dns.cs : corrected a mistake in GetHostEntry ()
1119 2005-11-21 Senganal T <tsenganal@novell.com>
1121 * Dns.cs : added GetHostEntry() method for 2.0 api conformance
1123 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1125 * HttpRequestHeader.cs: add missing values.
1127 2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * HttpListenerPrefixCollection.cs:
1130 * HttpWebResponse.cs:
1132 * HttpListenerRequest.cs:
1133 * HttpWebRequest.cs:
1134 * HttpListenerResponse.cs: a few signature fixes for 2.0.
1136 2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1138 * HttpListenerPrefixCollection.cs:
1139 * EndPointListener.cs:
1140 * HttpStreamAsyncResult.cs:
1141 * HttpListenerContext.cs:
1142 * HttpListenerBasicIdentity.cs:
1143 * AuthenticationSchemeSelector.cs:
1145 * WebHeaderCollection.cs:
1146 * ListenerPrefix.cs:
1147 * HttpListenerException.cs:
1148 * HttpResponseHeader.cs:
1149 * EndPointManager.cs:
1150 * HttpListenerRequest.cs:
1151 * HttpRequestHeader.cs:
1152 * BindIPEndPoint.cs:
1153 * ResponseStream.cs:
1154 * ChunkedInputStream.cs:
1155 * HttpStatusCode.cs:
1156 * ListenerAsyncResult.cs:
1158 * HttpConnection.cs:
1160 * HttpListenerResponse.cs:
1161 * RequestStream.cs: initial implementation of HttpListener. There are
1162 a few TODOs left (cookies, HTTPS) but almost everything else is in.
1164 2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
1166 * IPv6Address.cs: Added on overload to ToString to get a the full
1167 length address returned (as required by System.Uri).
1169 2005-11-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1171 * WebRequestMethods.cs: New 2.0 class.
1173 2005-11-05 Atsushi Enomoto <atsushi@ximian.com>
1175 * WebClient: use POST for DownloadData(). Fixed bug #76631.
1177 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
1179 * AuthenticationSchemes.cs : Fixed enum values and added [Flags].
1181 2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
1183 * WebClient.cs : added net_2_0 DownloadString() and DownloadData()
1184 with HTTP method as well.
1186 2005-10-19 Atsushi Enomoto <atsushi@ximian.com>
1188 * WebClient.cs : added UploadString() and Encoding (net_2_0). Added
1189 some new overloaded stuff that takes Uri instead of string address.
1191 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
1193 * ICredentialPolicy.cs: New. Interface for 2.0.
1195 2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
1197 * AuthenticationSchemes.cs : new 2.0 enum.
1199 2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1201 * GlobalProxySelection.cs: remove double lock.
1202 * HttpWebRequest.cs: remove double lock in GetServicePoint() and use
1203 a private object when locking.
1205 2005-07-15 Miguel de Icaza <miguel@novell.com>
1207 * DigestClient.cs: Fix bug #75556, the qop argument must be
1208 quoted, per http://www.faqs.org/rfcs/rfc2617.html section
1211 2005-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1213 * WebConnectionStream.cs: initiate writing the body before trying to
1214 read. This fixes the performance problems observed in web services.
1217 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
1219 * IPAddress.cs: Changed field names for the sake of serialization
1220 interoperability with MS.NET.
1222 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224 * WebConnection.cs: if cnc.EndRead throws, mark the asyncresult as done.
1225 * WebConnectionStream.cs: if we're done with the body of a chunk, don't
1226 require the next chunk header to be there, as some servers might close
1227 the connection (while also sending 'Connection: close').
1229 2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1231 * HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
1232 to me that this is against 10.3.3 in RFC 2616, but may be the user
1233 'authorization' to do this is implicit in AllowAutoRedirect...
1235 2005-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237 * WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
1238 if there's no record available to read. This is a workaround that makes
1239 the call to BeginRead itself asynchronous. Fixes bug #75342.
1241 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HttpWebRequest.cs:
1245 * WebConnectionStream.cs: initiate the polling for input data after
1246 sending the header so that we detect any response that the server sends
1247 back even if we're still trying to write the request for a POST/PUT.
1248 If we get the response (or an error) before any one calls GetResponse(),
1249 keep it around instead of ignoring it.
1251 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253 * HttpWebRequest.cs: send the right header/user/password in
1254 PreAuthenticate in presence of a proxy.
1256 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1258 * IPv6Address.cs: fix IsLoopback. Closes bug #75128.
1260 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262 * IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
1263 address. Fixes bug #75125.
1265 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267 * ServicePointManager.cs: when going through a proxy, use 2 different
1268 service points depending on the scheme. Fixes bug #75135.
1270 2005-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1272 * Dns.cs: don't parse the address when it comes from an IPAddress.
1274 2005-05-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1276 * WebConnection.cs: prevent 2 nullrefs when the aborting during
1277 Connect() and reset the status to Success before starting a new
1280 2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
1282 * WebRequest.cs: Throw NotImplementedException (not NotSupported
1283 Exception) for stuff that should have been abstract. No exception
1284 is thrown by the serialization constructor.
1286 2005-05-04 James Willcox <james@ximian.com>
1288 * DigestClient.cs: convert to a hex string with "X8" consistently
1291 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1293 * WebConnection.cs: don't rethrow errors in Write, as the error will be
1294 received by GetResponse*. The result is that the threadpool thread doing
1295 this will not end up printing the exception. Fixes bug #74817.
1297 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1299 * ServicePoint.cs: HostEntry needs to be thread safe.
1301 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1303 * WebConnection.cs: removed a 'slightly' important line by mistake.
1304 * WebConnectionStream.cs: if the transfer encoding is chunked, ignore
1305 content-length header if present.
1307 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 * WebConnection.cs: no need to use an AutoResetEvent.
1310 * WebConnectionStream.cs: don't start any more reads on the socket
1311 after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
1314 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1316 * BasicClient.cs: firefox/IE just send latin1, stripping the high byte
1317 from unicode >= 256 characters.
1319 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321 * BasicClient.cs: use latin1 when encoding the username/domain/password.
1324 2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326 * WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
1327 synchronously, no need to create the ManualResetEvent to wait on.
1329 2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 * WebConnectionStream.cs: call SetComplete in EndWrite when we're not
1332 buffering the request body. Fixes bug #74637.
1334 * WebAsyncResult.cs: renamed field.
1336 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1338 * WebConnectionStream.cs:
1339 * WebAsyncResult.cs: ensure we only call EndRead once per async. result.
1340 Update total before invoking the callback when present.
1342 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 * WebConnectionStream.cs: don't start reading until we've sent at least
1346 the headers. This way we ensure that a Write happens before any Read,
1347 which is needed by the SSL code.
1349 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1351 * HttpWebRequest.cs: ensure we read everything before redirecting.
1353 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * WebConnectionStream.cs: provide a default callback when doing async.
1356 read/write and waiting for a timeout so that the callback sets the
1357 event and we don't block forever. Fixes bug #74539 take 3.
1359 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1362 * HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.
1364 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366 * WebConnection.cs: fix some breakage from my last patch.
1367 * WebConnectionStream.cs: invoke the callback when done even in EndRead.
1369 2005-04-10 Sebastien Pouliot <sebastien@ximian.com>
1371 * WebConnection.cs: Added support for TrustFailure when throwing a
1372 WebException. Fix bug #74286.
1374 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * HttpWebRequest.cs:
1377 * WebConnectionStream.cs: implemented support for ReadWriteTimeout.
1379 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 * WebConnection.cs: if we're reading chunked data and didn't use the
1382 stream to read, we gotta set the async. result as complete and invoke
1383 the callback. Don't call nstream.EndRead with the wrong IAsyncResult.
1385 * WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
1386 cnc.EndRead. Lock on a field instead of 'this'.
1388 2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390 * HttpWebRequest.cs: throw the exception if we got an error, as now
1391 it's catched in the redirection handling code.
1393 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1395 * HttpWebRequest.cs: moved redirection handling to a proper place.
1397 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399 * WebHeaderCollection.cs: added if-modified-since to the list of
1402 * ServicePoint.cs: use a field object when locking.
1404 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1406 * WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
1407 need to wait for a Close/ReadAll when we have no content.
1409 2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1411 * NtlmClient.cs: fix typo in assembly name.
1413 2005-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1415 * CookieContainer.cs: adding to a CookieCollection might not increment
1416 the number of items if the cookie is replaced. Now Count works properly.
1417 Fixed an array index exception (typo).
1419 * CookieCollection.cs: also compare the version.
1421 * HttpWebResponse.cs: when we have cookies, add them to the request
1424 * HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
1426 2005-03-30 Miguel de Icaza <miguel@novell.com>
1428 * Cookie.cs: Compare using the InvariantCulture, to match the
1429 behavior of CookieContainer that already did this.
1431 2005-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1433 * WebConnection.cs: we don't need to trigger the next queued request
1434 until the response is closed.
1436 2005-03-29 Miguel de Icaza <miguel@novell.com>
1438 * HttpWebResponse.cs: Handle quotations in the cookies values, per
1439 the spec http://www.faqs.org/rfcs/rfc2109.html, it is allowed to
1442 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 * DigestClient.cs: check that GetCredential() does not return null.
1447 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * BasicClient.cs: ensure credentials are not null.
1451 2005-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1453 * HttpWebResponse.cs: moved cookie parsing into its own class.
1454 * WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
1456 * HttpWebRequest.cs: don't let exception raised in the ctor of
1457 HttpWebResponse vanish.
1461 2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1463 * WebHeaderCollection.cs: handle commas inside quotes when splitting
1464 a multi-value header. Fixes bug #73151.
1466 2005-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468 * DigestClient.cs: fix for digest auth. and URIs containing query. Patch
1469 by James Wilcox. Fixes bug #72571.
1471 2005-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473 * HttpWebResponse.cs:
1475 * HttpWebRequest.cs:
1476 * WebConnectionStream.cs: don't read the entire response unless the
1477 user requests it. Fixes bug #72443.
1479 2005-02-08 Zoltan Varga <vargaz@freemail.hu>
1481 * IPv6Address.cs: Fix endianess problems.
1483 * IPAddress.cs: Fix misleading comments.
1485 2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1487 * HttpWebRequest.cs: send the headers when we're supposed to write
1488 a POST/PUT but call GetResponse before GetRequestStream.
1490 * WebConnectionStream.cs: new RequestWritten property.
1492 2005-01-20 Jonathan Pryor <jonpryor@vt.edu>
1494 * EndpointPermission.cs: Fix IsSubsetof(hostname) so that the regression
1495 tests work. In particular, IsSubsetOf ("12.13.*.*", "12.13.14.*") failed
1496 because 14 wasn't a subset of * (which it is). Fix: if part1 is we
1497 continue to the next portion.
1499 2005-01-20 Jonathan Pryor <jonpryor@vt.edu>
1501 * IPAddress.cs (ParseIPV4): Fix so that the regression tests work. In
1502 particular, " foo" and ".1.1.6" weren't being caught (" foo" because it
1503 started with a space, and ".1.1.6" because the split string accepted a
1504 0-length portion, which would make 1...6 valid, but isn't valid based on
1505 similar test cases).
1507 2005-01-20 Jonathan Pryor <jonpryor@vt.edu>
1509 * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
1510 commas if the header is a Multi-Value header. This matches
1511 MonoTests.System.Net.WebHeaderCollectionTest.
1513 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
1515 * WebPermissionAttribute.cs: Fixed NET_1_1 behaviour.
1517 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1519 * WebConnectionStream.cs: remove unneeded check. Write detects and
1520 triggers the exception now.
1522 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * AuthenticationManager.cs: don't lock on a public Type.
1525 * HttpWebRequest.cs: read the error response for auth. errors.
1527 2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1529 * HttpWebRequest.cs: set webResponse back to null when redirecting.
1530 Fix the previous patch so that it reads the whole response even if
1531 auto-redirect is not enabled. Closes bug #70484.
1533 2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535 * HttpWebResponse.cs: added ReadAll method.
1537 * WebConnection.cs: in HandleError, set the response error after
1538 closing the socket. Use an async. delegate to finish reading any prior
1539 WebConnectionStream.
1541 * HttpWebRequest.cs: for error responses that allow content, read the
1542 stream immediately. Fixes bug #70483.
1544 2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * CookieContainer.cs: quote the port number.
1548 2004-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1551 * WebConnectionStream.cs: removed TryReconnect. It's no longer needed.
1553 2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1555 * WebConnection.cs: set the event in Close so that if the queue is
1556 empty, we won't block forever on next request. The finalizer was
1557 removed because we're not implementing IDisposable pattern here.
1559 2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
1562 * ChunkStream.cs: added error checking all over.
1564 * HttpWebRequest.cs: throw the exception received in SetResponseError
1565 if we already have a response.
1566 (SetRequestData): Don't nest the exception if it's a WebException.
1568 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1570 * WebConnection.cs: remove prevStream and don't set busy to false in
1571 HandleError. prevStream is not needed any more and setting 'busy' so
1572 early might let a request skip the queue.
1574 * WebConnectionGroup.cs: decrement the indexer when removing a dead
1575 reference from the arraylist.
1577 * WebConnectionStream.cs:
1578 (ReadAll): call NextRead if it has not been called before even when
1579 we have completed the request. Reuse the read buffer when reading a
1580 response of unknown size. Increase the buffer to 8kB.
1581 (BeginRead): increase pendingReads earlier and even when reading from
1582 the internal buffer.
1583 (EndRead): decrease pendingReads later and always.
1585 2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1587 * CookieContainer.cs: style, fixed checks for properties, implemented
1588 the MonoTODOs for the method that take an Uri. GetCookies and
1589 GetCookieHeaders now really return only the cookies that are requested
1590 filtering by the Uri parameter.
1592 * Cookie.cs: style, added default values for Comment, Domain and Port.
1594 2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1596 * CookieCollection.cs: reformatted, fixed Add by adding a new method to
1597 search across the arraylist, as list.IndexOf is not what we want.
1599 2004-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1601 * WebConnection.cs: check for FIN or RST on the socket before reusing.
1604 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1606 * ChunkStream.cs: simplified condition for WantMore property.
1608 * WebConnection.cs: in Connect(), finish any pending reads we might
1609 have for chunked data. Ignore possible blank lines at the very
1610 beginning of the server response. Honor user set KeepAlive in
1611 HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
1612 his suggestions and code.
1614 2004-11-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616 * HttpWebResponse.cs: don't lock up when the cookie received ends with
1617 a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.
1619 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * HttpWebRequest.cs: don't fail if the request has already been sent
1622 when accessing ContentType setter. Fixes bug #68848.
1624 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1627 (WantMore): we're not done until we get a 0 chunk size and the trailer.
1628 The 0 can be expressed as more than one character too (ie, 000000).
1630 * HttpWebRequest.cs: new argument in SetResponseError.
1631 * WebConnection.cs: added argument to HandleError as a hint for
1633 (Connect): make the chunked stream be in the expected state when
1636 * WebConnectionStream.cs: removed unused method (ResetWriteBuffer).
1638 2004-10-10 David Sheldon <dave-mono@earth.li>
1640 * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
1642 2004-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
1645 * WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
1648 2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650 * HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
1651 tunneling a secure connection.
1653 * ServicePoint.cs: added UseConnect property.
1655 * ServicePointManager.cs: set the UseConnect property when we use a http
1656 proxy for a https connection.
1658 * WebConnection.cs: setup the tunnled connection when using a proxy and
1661 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1663 * HttpWebResponse.cs: remove unused SplitValue method.
1665 2004-09-10 Sebastien Pouliot <sebastien@ximian.com>
1667 * DnsPermission.cs: Updated to pass new unit tests.
1668 * DnsPermissionAttribute.cs: Cleanup.
1669 * SocketPermission.cs: Updated to pass new unit tests.
1670 * SocketPermissionAttribute.cs: Updated to pass new unit tests.
1671 * WebPermission.cs: Implemented some TODO - not complete yet.
1672 * WebPermissionAttribute.cs: Updated to pass new unit tests.
1674 2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * Cookie.cs: don't fail when using default constructor. Fixes bug
1679 2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681 * HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
1682 than once and have multiple values. Don't rely on string.split when
1683 parsing cookie values.
1685 * WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
1686 Fixed GetValues (it was splitting values that contained a comma) and
1687 changed SetInternal to handle multi-value headers.
1691 2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693 * WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
1694 (kostat@mainsoft.com).
1696 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1698 * HttpWebRequest.cs: detect changes in scheme or port when redirecting.
1699 Fixes las take on bug 61218.
1701 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1703 * WebConnection.cs: moved loading of the ssl stream Type to its own
1704 method. Don't create a new ssl stream if we're reusing the connection.
1706 * WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
1707 is the expected even if the dta from the server has extra bytes.
1709 2004-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1712 * WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
1713 "responses MUST NOT include a message-body". We tried to read the
1714 stream even when getting those codes and considered the 0 length
1717 2004-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1719 * HttpWebRequest.cs: removed bogus Monitor.Exit.
1720 * WebConnection.cs: use Address instead of RequestUri when checking for
1721 the scheme in order to select the stream type. Fixes bug #61218.
1723 2004-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1725 * ChunkStream.cs: added ChunkLeft property.
1727 (EndRead): when using small byte arrays to read from a chunked stream,
1728 ensure we've read the chunk size and try to fulfill the request
1729 completely. fixes bug 59653.
1731 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1733 * WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.
1735 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737 * DigestClient.cs: cache the sessions based on address and
1738 credentials, not only address. Added poor men's expiration to
1739 the session cache. Fixes bug #59202.
1741 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745 * IPv6Address.cs: no more warnings about IPAddress.Address.
1747 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1749 * WebException.cs: implemented serialization .ctor and
1752 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1754 * WebAsyncResult.cs: don't create the WaitHandle if not needed.
1756 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1758 * HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
1761 * NetConfig.cs: added MaxResponseHeadersLength field.
1764 * ServicePointManager.cs: added missing properties for 1.1.
1766 2004-05-03 Sebastien Pouliot <sebastien@ximian.com>
1768 * WebConnection.cs: Use assembly name const to load Mono.Security.
1770 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
1772 * NtlmClient.cs: Use assembly name const to load Mono.Security.
1774 2004-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 * WebConnectionStream.cs: avoid the exception when getting the content
1779 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
1781 * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
1782 the lock is released in case of exception (for example, a
1783 ThreadAbortException). This also "fixes" bug #52417.
1784 Beware, this requires a runtime update (due to a bug in Monitor.Exit).
1785 * ServicePoint.cs: Changed method from internal to private, since it
1786 is not called from outside the class.
1788 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1790 * HttpWebRequest.cs: added the exception status to the error message.
1791 * WebConnection.cs: add headers using SetInternal instead of Add to
1792 bypass header name validation. Fixes bug #55994.
1793 * WebHeaderCollection.cs: added SetInternal (string header).
1795 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1798 * WebConnectionGroup.cs: the requests queue is now shared for all the
1799 connections belonging to the same connection group.
1801 2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
1803 * DefaultCertificatePolicy.cs: New. Certificate validation
1804 policy compatible with the documented one present in Fx. It
1805 allows valid certificates and expired certificates to be used
1806 for SSL connections.
1807 * ServicePointManager.cs: Removed the DummyPolicy. Now creates
1808 a DefaultCertificatePolicy to validate certificates.
1810 2004-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1812 * ServicePoint.cs: SendContinue is always false for HTTP/1.0
1814 * WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
1815 calling more the ContinueDelegate more than once when we get the
1816 headers in several packets.
1818 * WebConnectionStream.cs: removed call to WaitForContinue.
1820 2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
1822 * WebConnection.cs: Update previous patch to use HttpsClientStream
1823 (internal in Mono.Security assembly) in place of SslClientStream.
1824 This will reduce reflection and allow to use ICertificatePolicy.
1826 2004-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1828 * DigestClient.cs: fix quote handling. Reordered attributes in response.
1829 Fixed typo (QOP->CNonce). Now Digest works with apache2.
1831 2004-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1833 * DigestClient.cs: removed Console.
1834 * HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.
1836 2004-02-24 Sebastien Pouliot <sebastien@ximian.com>
1838 * DigestClient.cs: Fixed issue with Apache server which do not use "
1839 for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").
1841 2004-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1843 * HttpWebRequest.cs: arghhh. I used the server response headers instead
1844 of what the client is supposed to send. Thanks to Helge Hess.
1846 2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1848 * AuthenticationManager.cs: implemented PreAuthenticate().
1850 * HttpWebRequest.cs: once we know the version of the server, use it if
1851 below the requested one. Remove 'Expect', 'Content-Length' and /or
1852 'Transfer-Encoding' if appropiate due to changes in version. Fixed
1853 'Host' header for non-standard ports. Support preauthentication. Closes
1856 2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * HttpWebRequest.cs: check for missing or wrong URI in Location header
1861 * WebConnection.cs: if the data read does not contain all the headers,
1862 keep it around and read the rest until we get to the response body.
1863 Allow response code with no description. Fixed bug #54543.
1865 2004-02-18 Sebastien Pouliot <sebastien@ximian.com>
1867 * SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
1868 Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
1869 profile (as we need it for SslClientStream).
1870 * ServicePoint.cs: Added internal SetCertificates(client,server).
1871 * ServicePointManager.cs: Added CheckCertificateRevocationList and
1872 CheckCertificateRevocationList static properties (public in 1.1,
1874 * WebConnection.cs: Dynamically creates a SslClientStream (from
1875 Mono.Security assembly) in case of https. Changed NetworkStream to
1878 2004-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1880 * HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
1881 don't know the server version or it's 1.0.
1883 * ServicePoint.cs: added SetVersion.
1885 * WebAsyncResult.cs: remove ChunkAsyncResult.
1887 * WebConnection.cs: set the ServicePoint version when getting a response
1890 * WebConnectionStream.cs: when posting chunked content, send the head,
1891 body and trailer of the chunk at once instead of doing 3 separate
1892 writes, which may cause troubles.
1894 2004-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1896 * WebConnection.cs: if we get a 100 when we're not waiting for it, set
1897 that information in the ServicePoint.
1899 * WebConnectionStream.cs: send headers in the right order for
1902 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1904 * WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.
1906 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1908 * HttpWebRequest.cs: on second and sucesive tries when authenticating,
1909 don't use chunked encoding for POST, as we know the content length and
1910 have the body. Nullify bodyBuffer always in CheckFinalStatus.
1912 * WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
1913 IAsyncResult when writing CRLF at the end of a chunk.
1915 * WebConnectionStream.cs: support sending chunked data.
1917 2004-01-24 Lluis Sanchez Gual <lluis@ximian.com>
1919 * HttpWebRequest.cs: When retrying a POST request after an
1920 authentication failure, resend the body. This fixes bug #51841.
1921 * WebConnectionStream.cs: Added properties for getting what's been
1924 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1926 * HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.
1928 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1930 * HttpWebRequest.cs: support proxy authentication.
1932 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1935 * DigestClient.cs: use IndexOf instead of StartsWith to deal with
1936 servers that provide several authentication schemas.
1938 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1940 * ChunkStream.cs: use an array of buffers instead of a MemoryStream for
1941 storing the chunks. This way, we won't miss traling data from the
1942 previous chunk when a new one is received before the other is fully
1945 2004-01-27 Nick Drochak <ndrochak@ieee.org>
1948 * HttpWebRequest.cs:
1952 * WebConnectionStream.cs: Remove unused variables thus eliminating some
1955 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1957 * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
1958 handling for the case when the same packet also contains the actual
1961 2004-01-24 Lluis Sanchez Gual <lluis@ximian.com>
1963 * HttpWebRequest.cs: Added missing property.
1965 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1967 * Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
1970 2004-01-16 Lluis Sanchez Gual <lluis@ximian.com>
1972 * ChunkStream.cs: The "size" parameter of Write is not the number of
1973 bytes to write, but the last offset to be written. Thus, in WriteAndRead
1974 Back, since "read" is not an offset but the number of bytes, it must be
1975 added to the offset. Maybe it would be a good idea to change the name of
1976 the parameter, since it is confusing. This should fix bug #52591.
1978 2004-01-12 Lluis Sanchez Gual <lluis@ximian.com>
1980 * WebConnection.cs: Yet another fix for WebConnection. This fixes
1983 2004-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1985 * WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
1986 tidied up the end of ReadDone. Disabled relaunching the request if 2
1987 InitRead are called, since now we don't throw everything into
1988 RegisterWaitForSingleObject but one request at a time.
1990 * WebConnectionGroup.cs: when checking available connections, allow them
1991 not to be Connected but allocated to honor the connection limit.
1993 * WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
1994 too. ReadAll don't mess contentLength if it's provided in the headers.
1996 BIG thanks to Lluis. Turns out that we were debugging the same stuff and
1997 his Data.Init discovery was THE thing I was missing.
2001 2004-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2003 * ServicePointManager.cs: use GetMaxConnections to get the appropiate
2004 number of connections limit.
2006 2004-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2008 * MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
2009 guilty for bug 52629.
2011 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2013 * CredentialCache.cs: return null instead of throwing NotImplemented.
2015 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2017 * HttpWebRequest.cs: fixed checking if method allows a body. Patch by
2018 Benjamin Jemlich (pcgod@gmx.net).
2020 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2022 * HttpWebRequest.cs: deal with authentication schemes that have more
2023 than 1 round trip (Ntlm).
2025 2003-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2027 * NtlmClient.cs: new class that actually uses one from Mono.Http to do
2030 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2032 * HttpWebRequest.cs: when building the redirect URI, use the previous
2033 one as the base URI, which makes relative URIs work.
2035 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2037 * DigestClient.cs: merged in code from Sebastien Pouliot and Greg
2038 Reinacker that Supports cnonce and preauthentication.
2040 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2042 * DigestClient.cs: initial Digest authentication. Works with apache
2045 2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2047 * HttpWebRequest.cs: removed unneeded StringBuilder.
2048 * WebConnection.cs: default to keep the connection open for HTTP/1.1
2049 only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
2051 2003-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2053 * WebConnection.cs: turns out that socket.Connected is not useful until
2054 we actually try to send/receive data, even if the other end has already
2055 closed the socket. Added TryReconnect() and Connected.
2057 * WebConnectionData.cs: default value for StatusCode is 0 now.
2059 * WebConnectionGroup.cs: reuse the connection since the beginning,
2060 instead of opening up to ConnectionLimit and then reusing.
2062 * WebConnectionStream.cs: reopen the socket if we're trying to reuse
2063 one which fails on first write.
2065 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067 * WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
2068 wrap it and do our job before calling it. Fixes bug #48497.
2070 2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2072 * WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
2073 * SecurityProtocolType.cs: Added and implemented
2075 2003-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2077 * HttpWebRequest.cs: fixed redirects when they target another host.
2079 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2081 * IPAddress.cs: prevent exceptions when trying to parse the static IPv6
2084 2003-10-17 Pedro Martinez Julia <yoros@wanadoo.es>
2086 * WebClient.cs: use Path.DirectorySeparator instead of "/" for
2087 windows compatibility. Add some checks for file paths like
2088 "C:/xxx/yyy/..." and like "/home/xxx/...".
2090 2003-10-16 Pedro Martinez Julia <yoros@wanadoo.es>
2092 * WebClient.cs: added a slash between directory and file names.
2094 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2096 * HttpWebRequest.cs:
2097 * HttpWebResponse.cs: better abort handling and leave the stream in a
2098 stable status on abort.
2100 2003-10-12 Pedro Martinez Julia <yoros@wanadoo.es>
2102 * WebClient.cs: refine reading of local files (like MS.NET).
2104 2003-10-10 Pedro Martinez Julia <yoros@wanadoo.es>
2106 * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
2107 but we didn't. Now, when Uri fails with an exception, it adds
2108 "file://" before the URI and tries again.
2110 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2112 * ServicePoint.cs: preparing for recycling. Not yet finished.
2113 * ServicePointManager.cs: this is the one that reads config.
2114 * WebConnectionGroup.cs: don't read config here.
2115 * WebConnection.cs: added the queue again. Launch queued requests on
2118 2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2120 * WebConnection.cs: the queue is now handled by the threadpool.
2121 Initialize the connection data in a place where it does not depend on
2122 the execution order of the requests in threadpool. More error handling.
2124 * WebConnectionGroup.cs: use the limits in the config file and reuse
2125 connections when the limit is reached.
2127 2003-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * HttpWebRequest.cs: handle 304 a la MS.
2130 * WebConnection.cs: set the response data when reading 0 bytes.
2132 2003-09-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2134 * WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
2137 2003-08-14 Nick Drochak <ndrochak@gol.com>
2139 * WebRequest.cs: Check lower case string since that is what we will add.
2141 2003-08-04 Jerome Laban <jlaban@wanadoo.fr>
2143 * IPHostEntry.cs: Default contructor must not initialize members.
2146 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2148 * CredentialCache.cs: Removed undefined serializable attribute
2150 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2153 (WantMore): true if we've not received the last chunk yet. Fixes
2154 bug #45463. Thanks to Miguel for tracking this down and providing a
2157 * WebConnection.cs: removed bogus ^M's.
2159 * WebHeaderCollection.cs: provide more info when the header or value is
2162 2003-07-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2164 * ChunkStream.cs: Removed unused members
2165 * IPAddress.cs: Removed unused exception variable, fixes compiler
2167 * WebConnection.cs: Removed unused exception variables, fixes compiler
2170 2003-07-14 Lluis Sanchez Gual <lluis@ximian.com>
2172 * NetConfig.cs: If Clone method is not public, then it must use
2173 explicit interface method implementation syntax.
2175 2003-07-14 Jerome Laban <jlaban@wanadoo.fr>
2177 * Dns.cs: Reworked indentation.
2179 Added literal address checking in GetHostByAddress.
2180 Changed Dns.Resolve behavior.
2182 * IPEndPoint.cs: Added IPv6 support.
2183 * IPv6Address.cs: Added address compression.
2184 * NetConfig.cs: Added configuration section.
2186 2003-07-14 Jerome Laban <jlaban@wanadoo.fr>
2188 * ServicePoint.cs: Removed Connect and GetEndPoint methods.
2189 Removed reverse resolution when uri is literal IP address.
2190 * WebConnection.cs: IPv6 compatibility update: Try to connect
2191 to all addresses returned by IPHostEntry.
2192 * WebConnectionGroup.cs: Removed unused parameter.
2194 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2196 * WebProxy.cs: Add serialization/ deserialization support
2198 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2201 * WebStatus.cs: Deleted (do not exist in this assembly)
2202 * IPv6Address.cs: Made internal
2204 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2206 * HttpWebRequest.cs:
2207 * ServicePointManager.cs:
2208 * WebConnection.cs: added support for proxies.
2210 2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2212 * DnsPermissionAttribute.cs:
2213 * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
2215 2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2217 * WebPermission.cs: Added and partially implemented
2218 * WebPermissionAttribute.cs: Added and implemented
2220 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2222 * WebClient.cs: fixed bug #45651.
2224 2003-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226 * WebClient.cs: Small fix by Sebastian <scut@nb.in-berlin.de>.
2228 2003-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2230 * WebConnection.cs: fixed header writing the reusing a connection and
2231 the server does not send 100-continue response.
2233 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * WebConnection.cs: close the socket and connection when disposing.
2236 * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
2237 when creating instances.
2239 * HttpWebRequest.cs:
2240 * HttpWebResponse.cs:
2241 * FileWebRequest.cs: support serialization.
2243 * FileWebResponse.cs: support serialization and fixed dispose checks.
2245 * FileWebRequestCreator.cs:
2246 * HttpRequestCreator.cs: added internal .ctor.
2248 2003-06-24 Lluis Sanchez Gual <lluis@ximian.com>
2250 * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
2251 called before asyncWrite.SetCompleted, to make sure that the waiting
2252 thread does not start to send more information before
2253 SendRequestHeaders has finished.
2255 2003-06-22 Lluis Sanchez Gual <lluis@ximian.com>
2257 * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
2258 read is really needed.
2260 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * WebHeaderCollection.cs: prevent duplication headers used niternally.
2264 2003-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266 * HttpWebRequest.cs: if CookieContainer has not been set, make
2267 HttpWebResponse ignore Set-Cookie* headers.
2269 * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
2270 CookieContainer have been provided to the request.
2272 2003-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2274 * AuthenticationManager.cs: get the list of authentication modules from
2275 the configuration files. Added Clear and fixed Unregister.
2277 * BasicClient.cs: fully implemented.
2279 * HttpWebRequest.cs: added support for Basic authentication when
2280 credentials are set.
2282 * NetworkCredential.cs: fixed GetCredential.
2284 2003-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2286 * HttpWebRequest.cs: *really* take care of requestSent to prevent
2287 sending the same request twice.
2288 * WebAsyncResult.cs: don't close the handle. Just Reset.
2289 * WebConnectionStream.cs: removed unneeded line.
2291 2003-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2293 * HttpWebRequest.cs: use InternalClose when we are not going to send the
2294 rest of the request stream because of an error after sending the
2297 * WebConnection.cs: check for completion after setting the response.
2298 Enable reading in NextRead.
2300 * WebConnectionStream.cs: re-fixed the count for partially buffered
2301 reads. If the network stream returns 0 bytes, we're done.
2303 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305 * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
2306 special headers *after* the others.
2308 2003-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2310 * WebConnectionStream.cs: when the read is partially filled from the
2311 initial buffer, add those bytes too. Thanks to Lluis for debugging this.
2313 2003-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2315 * HttpWebRequest.cs: added ExpectContinue property.
2316 * WebConnection.cs: allow 100 Continue to be delayed after waiting for
2319 2003-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2321 * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
2322 is known not to respond to that.
2324 * ServicePoint.cs: added SendContinue property.
2326 * WebConnection.cs: only wait 2 seconds for a continue reply. If it
2327 timeouts, set SendContinue to false and proceeed sending data.
2329 * WebConnectionStream.cs: if 100-continue is not received and instead we
2330 get a 417 or anything else, don't send the data.
2332 * WebClient.cs: implemented all missing properties and methods except
2335 2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2337 * FileWebRequestCreator.cs: splitted from WebRequest.
2338 * HttpRequestCreator.cs: splitted fromWebRequest.
2339 * WebRequest.cs: added methods that are used by the new configuration
2340 handler to set prefix/type name requests creators.
2342 2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2344 * AuthenticationManager.cs:
2346 * BasicClient.cs: new file.
2347 * ChunkStream.cs: new file.
2349 * CookieContainer.cs:
2350 * GlobalProxySelection.cs:
2351 * HttpWebRequest.cs:
2352 * HttpWebResponse.cs:
2353 * IAuthenticationModule.cs:
2355 * ServicePointManager.cs:
2356 * WebAsyncResult.cs: new file.
2357 * WebConnection.cs: new file.
2358 * WebConnectionData.cs: new file.
2359 * WebConnectionGroup.cs: new file.
2360 * WebConnectionStream.cs: new file.
2362 * WebHeaderCollection.cs:
2366 Reworked HttpWebRequest and related classes.
2368 2003-05-30 Miguel de Icaza <miguel@ximian.com>
2370 * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
2371 InternalServerError (500)
2373 2003-05-29 Miguel de Icaza <miguel@ximian.com>
2375 * HttpWebRequest.cs (Close): Move the code that accumulates the
2376 output to Close from Flush. Flush could have been called in the
2377 middle of the processing, and would have generated invalid results
2380 2003-05-23 Zoltan Varga <vargaz@freemail.hu>
2382 * Dns.cs (GetHostByAddress): Return the local host when called with
2385 2003-04-29 Miguel de Icaza <miguel@ximian.com>
2387 * WebClient.cs (DownloadData): Close the underlyng stream.
2388 (DownloadFile): Use using, so the file gets closed.
2390 2003-04-24 Miguel de Icaza <miguel@ximian.com>
2392 * WebClient.cs (DownloadData): Instead of using a MemoryStream,
2393 keep track of all the small chunks in an ArrayList. The
2394 MemoryStream had the property of reallocating itself, and the
2395 problem was that MemoryStream.GetBuffer would return the buffer
2396 (correctly), but not something of the right size. So clients of
2397 DownloadData would get the extra unused bytes as part of the
2400 The solution would have been to make another copy at this point,
2401 instead, we only keep the small allocations around in the
2402 ArrayList, and we only do one large allocation at the end.
2404 * HttpWebResponse.cs: If there is a Content-Length header, pass
2405 this information to our HttpWebResponseStream, so it knows when to
2406 stop, instead of waiting for the stream to be shut down by the
2409 * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
2410 the underlying stream if the method will do a content transfer and
2411 no Content-Length was provided. If not (HEAD and GET or
2412 Content-Length provided), keep going.
2414 2003-04-23 Miguel de Icaza <miguel@ximian.com>
2416 * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
2417 the ContentLength specified on the request. If that happens, we
2418 have to accumulate all the data written, and once we accumulate
2419 the data, we send it off.
2421 Notice that the documentation in .NET is actually incorrect, they
2422 state that setting ContentLength is mandatory. It is not.
2424 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2426 * HttpWebResponse.cs: fixes bug #41180.
2428 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2430 * HttpWebRequest.cs: throw an exception is the response code is >= 300.
2432 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2434 * HttpWebRequest.cs: implemented IDisposable, make the request stream
2435 read only. Changed the way of disposing the socket.
2437 * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
2438 handle chunked transfer encoding (no more hangs), added serialization
2439 stuff, call CheckDisposed at the beginning of methods/properties (not
2440 in a finally clause).
2442 2003-02-17 Nick Drochak <ndrochak@gol.com>
2444 * WebClient.cs : Implemented Credentials property.
2446 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2448 * SocketAddress.cs: byte 1 of the data is the high byte of the family,
2451 2003-01-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2453 * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
2455 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2457 * HttpWebRequest.cs: applied patch from Tim Haynes
2458 (thaynes@openlinksw.com).
2460 Avoided double-sending of the request to the server when both
2461 GetRequestStream() and GetResponse() are called.
2462 System Header attributes survive the Headers attribute set.
2463 Added handling of Connection: KeepAlive/Close
2465 2002-10-03 Dick Porter <dick@ximian.com>
2467 * Dns.cs: Fixed GetHostName()
2469 2002-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2471 * HttpWebRequest.cs:
2472 * HttpWebResponse.cs: applied another patch from Shahms E. King
2473 (shahms@shahms.com).
2475 2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2477 * HttpWebRequest.cs:
2478 * HttpWebResponse.cs: applied patch from Shahms E. King
2479 (shahms@shahms.com).
2481 2002-05-29 Lawrence Pit <loz@cable.a2000.nl>
2483 * MonoHttpDate.cs: added
2484 * HttpWebRequest.cs: using MonoHttpDate
2485 * HttpWebResponse.cs: using MonoHttpDate
2486 * DnsPermission.cs: correct XML output
2487 * SocketPermission.cs: correct XML output
2489 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
2491 * WebClient.cs: stubbed
2492 * WebProxy.cs: fixed bug; had to change internal representation
2493 of bypasslist to ArrayList, different implementation of checking
2496 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
2498 * WebProxy.cs: added, implemented
2499 * ServicePoint.cs: implemented most
2500 * ServicePointManager.cs: implemented
2501 * HttpWebRequest.cs: started implementation
2502 * HttpWebResponse.cs: improved disposable routines
2503 * FileWebRequest.cs: slight improvement of Close method
2505 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
2507 * FileWebRequest.cs: finished implementation of async methods.
2508 * FileWebResponse.cs: improved disposable routines.
2509 * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
2510 byte ordering of address was backwards.
2512 2002-05-13 Lawrence Pit <loz@cable.a2000.nl>
2514 * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
2515 relying on standard asynchronous delegate features. Added checks for
2517 * HttpWebResponse.cs: implemented properties
2518 * FileWebResponse.cs: improved the way resources are disposed.
2519 * FileWebRequest.cs: started implementation of asynchronous methods
2520 * ServicePointManager.cs: implemented properties
2522 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
2524 * HttpWebRequest.cs: properties implemented
2525 * HttpWebResponse.cs: added
2526 * GlobalProxySelection.cs: implemented
2527 * FileWebResponse.cs: added
2528 * FileWebRequest.cs: some methods implemented
2530 2002-05-11 Lawrence Pit <loz@cable.a2000.nl>
2532 * WebHeaderCollection.cs: implemented
2533 * WebRequest.cs: implemented
2534 * FileWebRequest.cs and HttpWebRequest.cs stubs added
2536 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
2538 * Rewrote IPAddress.Parse method, passing all unit tests
2540 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
2542 * fixed bug in IPEndPoint.Equals method
2543 * fixed bug in IPAddress.Parse method
2544 * fixed bug in IPAddress.SwapLong method
2545 * fixed several bugs in Cookie.cs
2547 2002-05-06 Lawrence Pit <loz@cable.a2000.nl>
2549 * WebRequest.cs: added
2550 * WebResponse.cs: implemented
2551 * WebException.cs: implemented
2552 * WebHeaderCollection.cs: added
2553 * HttpVersion.cs: implemented
2554 * HttpContinueDelegate.cs: added
2555 * IWebProxy.cs: added
2556 * IWebRequestCreate.cs: added
2557 * ICertificatePolicy.cs: added
2558 * ServicePoint.cs: stubbed
2559 * ServicePointManager.cs: stubbed
2560 * CookieContainer.cs: added
2561 * Authorization.cs: implemented
2563 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
2565 * CredentialCache.cs: implemented
2567 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
2569 * IPAddress.cs: fixed IsLoopback, address was already in host order
2571 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
2573 * IPv6Address.cs: added (note: not part of .net spec)
2575 2002-05-01 Lawrence Pit <loz@cable.a2000.nl>
2577 * DnsPermission.cs: implemented
2578 * DnsPermissionAttribute.cs: implemented
2580 2002-04-28 Lawrence Pit <loz@cable.a2000.nl>
2582 * EndpointPermission.cs: implemented
2583 * SocketPermission.cs: implemented
2584 * SocketPermissionAttribute.cs: implemented
2585 * ProtocolViolationException.cs: implemented
2586 * Dns.c: passing w32 error code when no host found
2588 2002-04-27 Lawrence Pit <loz@cable.a2000.nl>
2590 * Cookie.cs: implemented
2591 * CookieCollection.cs: implemented
2592 * CookieException.cs: implemented
2594 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2596 * IPAddress.cs: initialize the read only fields with Parse().
2598 2002-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2600 * IPAddress.cs: little changes to behave as MS.
2602 2002-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * Dns.cs (Resolve): behave as MS. Agreed with Mads.
2606 2002-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2608 * IPAddress.cs: the icalls for sockets are endianness-aware. So I
2609 changed a few things. Also included a workaround for bug #23547.
2611 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2613 * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
2614 by Paolo) instead of guessing the endianness.
2616 * SocketAddress.cs: implemented Equals() and GetHashcode().
2618 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2620 * IPEndPoint.cs: modifications to constructors according to the
2621 specifications (suggested by Lawrence Pit).
2623 2002-04-15 Patrik Torstensson <patrik.torstensson@labs2.com>
2625 * IPEndPoint.cs: Fixed build breaker.
2627 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2629 * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
2632 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2634 * IPAddress.cs: finished all MonoTODO's. Use network order to store
2635 the address. Check for max and min values in Address:set. IsLoopback()
2636 returns now true for all 127.x.y.z. Some more checks in Parse ().
2637 Some changes to behave as MS does.
2639 2002-02-24 Duncan Mak <duncan@ximian.com>
2641 * ICredentialLookup.cs: Added the GetCredential method to the
2642 interface. The interface is named "ICredentials", should this file
2645 * NetworkCredential.cs: Added to CVS. Need to investigate on how
2646 GetCredential() works
2648 2002-01-23 Dick Porter <dick@ximian.com>
2650 * SocketAddress.cs: Implemented.
2652 * IPEndPoint.cs: Turned 'Address' field into a real property.
2653 Implemented Create() and Serialize() methods.
2655 * IPAddress.cs: Fixed class constructor, turned 'Address' field
2656 into a real property. Removed undocumented "public
2657 IPAddress(string)" constructor.
2659 * EndPoint.cs: Implemented. All methods return
2660 NotSupportedException to enforce subclass overriding.
2662 * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
2663 P/Invokes with portable internal calls.
2665 2002-01-17 Miguel de Icaza <miguel@ximian.com>
2667 * Dns.cs: Updated to API changes.
2669 * IPAddress.cs: Updated API. Much left to implement.
2671 * Dns.cs: Remove IPToString method
2673 2002-01-06 Ravi Pratap <ravi@ximian.com>
2675 * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
2676 attribute insertion.
2678 2001-11-22 Nick Drochak <ndrochak@gol.com>
2680 * IPAddress.cs: Fix constructor bug, properly name Address property,
2681 and use triple-slash for comments.
2683 2001-11-20 Miguel de Icaza <miguel@ximian.com>
2685 * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
2686 None as suggested by Phillip.
2688 2001-09-26 Mads Pultz <mpultz@get2net.dk>
2689 * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
2691 2001-09-24 Mads Pultz <mpultz@get2net.dk>
2693 * Dns.cs: Minor changes (some print statements removed)
2695 2001-09-23 Mads Pultz <mpultz@get2net.dk>
2697 * Dns.cs: Initial work submitted to repository.
2698 * IPHostEntry.cs: Initial work submitted to repository.
2700 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
2702 * Authorization.cs: Fixed compiler error.
2704 * IAuthenticationModule.cs: Changes for Beta2.
2706 * IPAddress.cs: Internal storage changed to be uint not int.
2708 * IPEndPoint.cs: Fixed compiler error.
2710 * EndPoint.cs: Fixed compiler error.
2712 * AuthenticationManager.cs: Fixed typo.