2007-08-05 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / class / System / System.Net / ChangeLog
1 2007-08-03  Jb Evain  <jbevain@novell.com>
2
3         * Dns.cs: remove async methods for the 2.1 profile.
4
5 2007-07-17  Rodrigo Kumpera  <rkumpera@novell.com>
6
7         * HttpListenerRequest.cs: Support for Cookie decoding.
8         * HttpListenerResponse.cs: Support for encoding cookies on the response sent to the client
9         * Cookie.cs: new internal method to encode the Cookie in a proper form to sent to clients
10
11 2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
12
13         * WebConnectionStream.cs: implement the CanTimeout for 2.0. Fixes
14         bug #81504.
15
16 2007-07-12  Geoff Norton  <gnorton@customerdna.com>
17
18         * HttpListenerContext.cs: 
19         * HttpListener.cs: Handle HttpListener AuthenticationSchemes
20         Only Basic authentication is included for now.
21
22 2007-06-30  Gert Driesen  <drieseng@users.sourceforge.net>
23
24         * NetworkAccess.cs: Only mark as flags enum on 2.0.
25
26 2007-06-21  Dick Porter  <dick@ximian.com>
27
28         * AuthenticationManager.cs: 
29         * FtpWebRequest.cs: 
30         * Cookie.cs: 
31         * ServicePoint.cs: 
32         * WebClient.cs: 
33         * Authorization.cs: 
34         * FileWebRequest.cs: 
35         * HttpWebRequest.cs: 
36         * WebResponse.cs: 
37         * ServicePointManager.cs: 
38         * HttpWebResponse.cs: Throw NotImplementedException indirectly, to
39         reduce noise in Moma reports.
40
41 2007-06-20  Atsushi Enomoto  <atsushi@ximian.com>
42
43         * ServicePointManager.cs : (bootstrap) build fix.
44
45 2007-06-19  Dick Porter  <dick@ximian.com>
46
47         * AuthenticationManager.cs: 
48         * IWebProxyScript.cs: 
49         * Authorization.cs: 
50         * Cookie.cs: 
51         * CookieException.cs: 
52         * CredentialCache.cs: 
53         * FileWebRequest.cs: 
54         * WebRequest.cs: 
55         * FileWebResponse.cs: 
56         * WebResponse.cs: 
57         * FtpWebRequest.cs: 
58         * HttpWebRequest.cs: 
59         * DecompressionMethods.cs: 
60         * HttpWebResponse.cs: 
61         * ProtocolViolationException.cs: 
62         * ServicePoint.cs: 
63         * ServicePointManager.cs: 
64         * WebClient.cs: 
65         * WebException.cs: 
66         * WebHeaderCollection.cs: 
67         * WebProxy.cs: 
68         * WebExceptionStatus.cs: 2.0 profile updates
69
70 2007-05-18  Gert Driesen  <drieseng@users.sourceforge.net>
71
72         * WebConnectionStream.cs: On read timeout, throw WebException with
73         status Timeout instead of IOException.
74
75 2007-05-16  Adar Wesley <adarw@mainsoft.com>
76
77         * CookieCollection.cs: added missing method strongly typed CopyTo.
78
79         * CredentialCache.cs: added missing methods Add, Remove, GetCredential
80
81         * HttpWebRequest.jvm.cs: added missing ClientCertificates getter.
82
83         * ServicePoint.cs: added missing method CloseConnectionGroup.
84
85         * WebClient.cs: added missing methods OnDownloadProgressChanged,
86         OnUploadProgressChanged, GetWebRequest, GetWebResponse
87
88         * WebHeaderCollection.cs: added missing methods IsRestricted, Add,
89         Remove, Set.
90
91         * WebProxy.cs: added missing method GetObjectData.
92
93 2007-05-15  Marek Habersack  <mhabersack@novell.com>
94
95         * HttpWebRequest.cs: fold all methods into GET for
96         redirect/moves. Fixes bug #81624
97
98 2007-05-07  Miguel de Icaza  <miguel@novell.com>
99
100         Missing second part of the patch.
101         
102         * WebHeaderCollection.cs: To be compatible with older versions of
103         Mono that might have serialized this in a different format, catch
104         the potential exception, and try the old name.
105
106         This should become a practice whenever we fix serialization in the
107         future. 
108
109         This is for #81467
110
111 2007-04-23  Marek Habersack  <mhabersack@novell.com>
112
113         * EndPointListener.cs: relax prefix matching to succeed in cases
114         when the prefix ends with / and the request path does not. Fixes
115         bug #80091.
116
117         * CookieCollection.cs: added a SortByPath method to sort the
118         collection on demand.
119
120         * Cookie.cs: do not return "/" for Path if it wasn't set
121         explicitly.
122
123         * CookieContainer.cs: set cookie path only if its version is
124         "Netscape" and is null or empty. Fixes #81420.
125         Sort the collection by the path relevance before returning from
126         the GetCookies method. Fixes bug #81421.
127
128 2007-04-17  Joel Reed  <joelwreed@gmail.com>
129
130         * WebHeaderCollection.cs: www-authenticate should be multivalue.
131         This fixes a bug related to RFC 2608 which says in section
132         "15.2 Offering a Choice of Authentication Schemes"
133
134         An HTTP/1.1 server may return multiple challenges with a 401
135  (Authenticate) response, and each challenge may use a different
136         scheme.  The order of the challenges returned to the user agent is in
137         the order that the server would prefer they be chosen. The server
138         should order its challenges with the "most secure" authentication
139         scheme first. A user agent should choose as the challenge to be made
140         to the user the first one that the user agent understands.
141
142         Before this change, mono was choosing whatever was sent last,
143         which was the most insecure authentication option.
144         
145 2007-04-10  Marek Habersack  <mhabersack@novell.com>
146
147         * HttpListenerRequest.cs: do not include the query start marker
148         ('?') in the first variable name stored in the QueryString
149         collection. There is no HTTP header 'Accept-Types' in the
150         standard, there's only the 'Accept' header that specifies the
151         accepted MIME types. Fixes bug #81317
152
153 2007-03-25 Alan McGovern <alan.mcgovern@gmail.com>
154
155         * IPAddress.cs : Further optimisation for the Swap*** methods.
156
157 2007-03-24 Alan McGovern <alan.mcgovern@gmail.com>
158
159         * IPAddress.cs : Optimised the SwapInt and SwapLong methods.
160
161 2007-03-09  Miguel de Icaza  <miguel@novell.com>
162
163         * FtpDataStream.cs: Close must be called on the stream before we
164         attempt to read a status code from the remote server.
165
166         Fixes FTP transfers to complete. 
167
168 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
169
170         * HttpWebRequest.cs: properly handle OPTIONS, which may or may not
171         have a request body. Fixes bug #80686.
172
173 2007-03-02  Marek Habersack  <mhabersack@novell.com>
174
175         * WebClient.cs: Overwrite existing files on download, as
176         documented and as tested on MS.NET. Fixes Bug#81005
177
178 2007-02-24  Gert Driesen  <drieseng@users.sourceforge.net>
179
180         * HttpWebRequest.cs: Allow Proxy to be set to null on 2.0 profile.
181
182 2007-02-18  Geoff Norton  <gnorton@customerdna.com>
183
184         * AuthenticationManager.cs: Register the modules in the 2.0 profile
185         when we create the ArrayList.
186
187 2007-02-01  Gert Driesen  <drieseng@users.sourceforge.net>
188
189         * WebProxy.cs: In IsBypassed, move address check back to satify unit
190         tests.
191
192 2007-01-30  Ilya Kharmatsky <ilyak -at- mainsoft.com>
193
194         * Dns.cs : implemented proper exception handling under TARGET_JVM
195         when trying to resolve not existing host.
196
197 2007-01-28  Gert Driesen  <drieseng@users.sourceforge.net>
198
199         * IPAddress.cs: Provide more meaningful exception message on 2.0
200         profile.
201
202 2007-01-28  Gert Driesen  <drieseng@users.sourceforge.net>
203
204         * FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
205         no longer throw NotSupportedException. No longer store ContentLength
206         in headers. Do not allow null or zero-length method. Allow timeout
207         to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
208         Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
209         file if it already exists. Binary serialization compatibility fixes.
210         * FileWebResponse.cs: Return application/octet-stream as ContentType.
211
212 2007-01-28  Gert Driesen  <drieseng@users.sourceforge.net>
213
214         * WebHeaderCollection.cs: Fixed binary serialization compatibility 
215         with MS.
216
217 2007-01-28  Gert Driesen  <drieseng@users.sourceforge.net>
218
219         * WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
220         compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
221         profile, throw ArgumentNullException in IsBypassed if host is null.
222
223 2007-01-22  Miguel de Icaza  <miguel@novell.com>
224
225         * HttpWebRequest.cs: Remove unused variable.
226
227         * FtpWebRequest.cs: Remove unused variable.
228
229         * WebHeaderCollection.cs: Remove a handful of NotImplementedException's
230
231 2007-01-11  Miguel de Icaza  <miguel@novell.com>
232
233         * HttpListenerRequest.cs (SetRequestLine): Add validation for the
234         verbs. 
235
236         Allow any verbs to go through, not only
237         the white list of verbs.
238
239         Fixes: 80504
240
241 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242
243         * RequestStream.cs: initialize the stream in both ctors. Fixes a couple
244         of unit tests.
245
246 2006-12-29  Gert Driesen  <drieseng@users.sourceforge.net>
247
248         * HttpWebRequest.jvm.cs: Fixed line endings.
249         * HttpWebResponse.jvm.cs: Same.
250         * WebException.cs: Same.
251         * FtpWebRequest.cs: Same.
252         * VMWHttpProvider.jvm.cs: Same.
253
254 2006-12-29  Gert Driesen  <drieseng@users.sourceforge.net>
255
256         * DnsPermissionAttribute.cs: Fixed line endings.
257         * HttpVersion.cs: Same.
258         * FtpWebResponse.cs: Same.
259         * HttpContinueDelegate.cs: Same.
260         * FtpAsyncResult.cs: Same.
261         * EndpointPermission.cs: Same.
262         * IPv6Address.cs: Same.
263         * FtpDataStream.cs: Same.
264         * SocketPermission.cs: Same.
265         * FileWebRequest.cs: Same.
266         * FileWebResponse.cs: Same.
267         * DnsPermission.cs: Same.
268         * ProtocolViolationException.cs: Same.
269         * MonoHttpDate.cs: Same.
270         * SocketPermissionAttribute.cs: Same.
271         * CookieException.cs: Same.
272         * WebResponse.cs: Same.
273         * DefaultCertificatePolicy.cs: Same.
274
275 2006-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
276
277         * IPAddress.cs: On 1.1, 4-byte addresses are not supported in the 
278         ctor. Added null checks for the address passed in the ctors.
279
280 2006-12-28  Miguel de Icaza  <miguel@novell.com>
281
282         * IPAddress.cs: The condition in 1.1 was broken, it only allowed
283         16-byte addresses, and never 4-byte addresses (only 2.0 had
284         them).  
285
286         Keep a single code path.
287
288         Also, remove all the NET_1_1 defines, we realistically only
289         distinguish between 1.1 and 2.0, we wont likely support 1.0, 1.1
290         and 2.0, so remove the 1.0 vs 1.1 conditionals.
291
292         Fixes 76792
293         
294 〓2006-12-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * WebConnectionStream.cs: fix error in my last patch. Thanks to Felipe
297         Almeida.
298
299 2006-12-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300
301         * WebConnection.cs:
302         * HttpWebRequest.cs:
303         * WebConnectionStream.cs: detect errors writing headers earlier and
304         avoid race that showed up with SSL. Fixes bug #80234.
305
306 2006-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
307
308         * EndPointListener.cs:
309         * ListenerPrefix.cs:
310         * ResponseStream.cs:
311         * ChunkedInputStream.cs:
312         * HttpConnection.cs:
313         * RequestStream.cs: add initial support for HTTPS.
314
315 2006-12-18  Atsushi Enomoto  <atsushi@ximian.com>
316
317         * FtpStatus.cs : The build gets broken when only-2.0 classes/members
318           are not excluded in 1.x build.
319
320 2006-12-18  David Elkind  <davide@mainsoft.com>
321
322         * FtpAsyncResult.cs : FTP request is now working and covers about 100% of .NET API
323         * FtpDataStream.cs: FTP request is now working and covers about 100% of .NET API
324         * FtpWebRequest.cs: FTP request is now working and covers about 100% of .NET API
325         * FtpWebResponse.cs: FTP request is now working and covers about 100% of .NET API
326         * FtpStatus.cs: added composite status (includes status code and status description)
327
328 2006-12-04  Konstantin Triger  <kostat@mainsoft.com>
329
330         * WebRequest.cs, WebResponse.cs: TARGET_JVM limitation workaround.
331
332 2006-12-04  Konstantin Triger  <kostat@mainsoft.com>
333
334         * ServicePointManager.cs: correct assignment typo.
335         * ServicePoint.cs: Remove unneeded locks for getters, add internal setter.
336
337 2006-11-27  Miguel de Icaza  <miguel@novell.com>
338
339         * WebRequest.cs: Instead of throwing NotImplemented exceptions,
340         call GetMustImplement, that way we do not need the whitelist, and
341         we save a handful of opcodes.
342
343 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344
345         * HttpWebRequest.cs: add 2 more methods that are not supposed to have
346         a body. Fixes bug #80001.
347
348 2006-11-15  Andrew Skiba  <andrews@mainsoft.com>
349
350         * WebHeaderCollection.cs: add stubs for new 2.0 properties.
351
352 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353
354         * HttpWebResponse.cs: cookies are actually added to the request
355         container if any. Fixes bug #79821.
356
357 2006-11-02  Michael Hutchinson  <m.j.hutchinson@gmail.com>
358
359         * WebRequest.cs: more closely follow MS behaviour: use system settings 
360           unless told otherwise, and respect app.config.
361
362 2006-11-01  Michael Hutchinson  <m.j.hutchinson@gmail.com>
363
364         * GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0 
365           profile, and move code to new property WebRequest.DefaultWebProxy.
366         * WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
367           Add support for config option UseSystemDefault using simplistic
368           implementation of new 2.0 method GetSystemWebProxy ().
369
370 2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>
371
372         * FtpWebRequest.cs : more build fixes.
373
374 2006-10-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
375
376         * EndPointListener.cs: update comment and avoid exception when the
377         program is exiting.
378
379 2006-10-30  Miguel de Icaza  <miguel@novell.com>
380
381         * WebRequestMethods.cs: Another typo fix.
382
383         * ServicePointManager.cs: Set the default properly.
384
385         * SecurityProtocolType.cs: Remove non-existant defines. 
386
387 2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
388
389         * HttpWebRequest.cs: internally allow buffer if it's not a known
390         GET-only method instead of enabling that only for POST/PUT. Fixes bug
391         #79595.
392
393 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
394
395         * WebConnection.cs: TARGET_JVM
396
397 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
398
399         * WebException.cs: patch by Andrew Skiba that fixes serialization
400         compatibility with .NET and the default value for status.
401
402 2006-09-28  Andrew Skiba <andrews@mainsoft.com>
403
404         * Dns.cs: TARGET_JVM
405
406 2006-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
407
408         * CookieContainer.cs: send the cookies from the collection we got for
409         the given URI, not the whole collection.
410         * HttpWebResponse.cs: only add the cookies to this instance, not to the
411         cookie container set in the request.
412
413 2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>
414
415         * WebConnection.cs: Patch to remove the hack that was required for 
416         using the older versions of the SSL/TLS classes. This hack is no more
417         required :-). Patch by Gonzalo Paniagua Javier.
418
419 2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420
421         * HttpConnection.cs: when the content length is available, keep it
422         updated after synchronous read. Renamed 'available' to 'remaining_body'.
423         * RequestStream.cs: when creating the stream, pass the remaining length
424         starting from the offset in the buffer.
425
426 2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427
428         * RequestStream.cs: make sure we return 0 when no more bytes left.
429         Paticularly, when we have a content length and the whole response is
430         buffered.
431
432 2006-08-20  Miguel de Icaza  <miguel@novell.com>
433
434         * RequestStream.cs (Read): A bug fix for #79112 and what I
435         consider to be an important change.
436
437         The bug fix is that we update the "available" variable as soon as
438         we consume data from Read, this means that a second call into Read
439         wont block.   Available was only being updated on a secondary code
440         path, now we alwaysupdate it after using FillFromBuffer.
441
442         The second component is what I believe the right behavior should
443         be.  There was a check for "if count > available" that set count
444         to available in that case.   The idea was to limit the data read
445         from the buffer that belonged to this particular request, to allow
446         pipelining. 
447
448         But this test was done after FillFromBuffer, which assumed that
449         all the data held in the buffer (the one used by FillFromBuffer)
450         must belong to the this request, and only future data did not.
451
452         I think my change is correct, but it assumes that the initialized
453         RequestStream will be used for other pipelined HTTP requests,
454         which is not something am 100% sure of, so Gonzalo needs to check
455         this. 
456
457 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458
459         * Cookie.cs: avoid nullref in GetHashCode and Equals.
460
461 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462
463         * CookieCollection.cs:
464         * CookieContainer.cs: remove expired cookies.
465
466 2006-07-07  Atsushi Enomoto  <atsushi@ximian.com>
467
468         * Dns.cs : (GetHostEntry) when passed IP addresses, it does not issue
469           query to DNS. Patch by Petri Latvala.
470
471 2006-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472
473         * CookieContainer.cs: don't send a secure cookie over an insecure
474         channel.
475
476 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477
478         * WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
479         that starts with 127 are special.
480
481 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
482
483         * HttpListener.cs: Fixes race condition in BeginGetContext. Patch by
484         Pawel Sakowski that fixes bug #78365.
485
486 2006-05-09  Atsushi Enomoto  <atsushi@ximian.com>
487
488         * ServicePointManager.cs : oops, CONFIGURATION_DEP.
489
490 2006-05-09  Atsushi Enomoto  <atsushi@ximian.com>
491
492         * GlobalProxySelection.cs : if corresponding config section is
493           DefaultProxySection then use it.
494
495 2006-05-09  Atsushi Enomoto  <atsushi@ximian.com>
496
497         * WebRequest.cs : if corresponding config section is
498           WebRequestModulesSection then use it.
499
500 2006-05-09  Atsushi Enomoto  <atsushi@ximian.com>
501
502         * ServicePointManager.cs : if corresponding config section is
503           ConnectionManagementSection then use it.
504
505 2006-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506
507         * ResponseStream.cs:
508         * HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
509         Closes bug #78316.
510
511 2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
512
513         * CredentialCache.cs: added DefaultNetworkCredentials.
514
515 2006-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516
517         * NetworkCredential.cs: implement ICredentialsByHost interface.
518
519 2006-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520
521         * WebConnection.cs: reset the challenge and the status code when
522         creating the tunnel and sending the proxy auth. headers. Improve error
523         message when there's an error creating the tunnel.
524         * HttpWebRequest.cs: don't trigger an early throw for a POST that gets
525         a 401 or 407 response.
526
527 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
528
529         * WebConnectionData.cs:
530         * WebConnection.cs:
531         * HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
532         we were not handling a proxy authentication request. Fixes bug #78150
533         take 2.
534
535 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
536
537         * WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
538         This fixes bug #78150. Also fix the bypass check for local requests.
539
540 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541
542         * WebProxy.cs: removed bogus ^M.
543
544 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545
546         * HttpWebResponse.cs: don't remove the Set-Cookie headers. Fixes bug
547         #78028.
548
549 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
550
551         * WebClient.cs : added a bunch of async method support.
552
553 2006-04-03  Chris Toshok  <toshok@ximian.com>
554
555         * HttpWebResponse.cs (ContentEncoding): return "" if the header
556         isn't present.
557
558 2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>
559
560         * DownloadStringCompletedEventHandler.cs : missing delegate.
561
562 2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>
563
564         * Dns.cs : minor argument renaming.
565
566 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
567
568         * DownloadDataCompletedEventArgs.cs
569           DownloadDataCompletedEventHandler.cs
570           DownloadProgressChangedEventArgs.cs
571           DownloadProgressChangedEventHandler.cs
572           DownloadStringCompletedEventArgs.cs
573           OpenReadCompletedEventArgs.cs
574           OpenReadCompletedEventHandler.cs
575           OpenWriteCompletedEventArgs.cs
576           OpenWriteCompletedEventHandler.cs
577           UploadDataCompletedEventArgs.cs
578           UploadDataCompletedEventHandler.cs
579           UploadFileCompletedEventArgs.cs
580           UploadFileCompletedEventHandler.cs
581           UploadProgressChangedEventArgs.cs
582           UploadProgressChangedEventHandler.cs
583           UploadStringCompletedEventArgs.cs
584           UploadStringCompletedEventHandler.cs
585           UploadValuesCompletedEventArgs.cs
586           UploadValuesCompletedEventHandler.cs : added 2.0 types.
587
588 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
589
590         * Dns.cs : filled missing NET_2_0 members.
591
592 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
593
594         * IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
595           run-test. Those IPv6 properties needed to be reimplemented.
596
597 2006-03-27  Atsushi Enomoto  <atsushi@ximian.com>
598
599         * IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.
600
601 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
602
603         * WebConnectionStream.cs: avoid Begin/EndWrite when the body length is
604         zero.
605
606 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
607
608         * HttpWebRequest.cs: send the request if ContentLength is set for
609         POST/PUT, the request stream has that exact amount of bytes in it and
610         we're trying to get the response stream.
611
612         This way, closing the request stream is not needed in order to actually
613         send the request. Fixes bug #77753.
614
615         * WebConnectionStream.cs: throw if the number of bytes written is
616         greater than the specified request content length.
617
618 2006-03-11  Miguel de Icaza  <miguel@novell.com>
619
620         * WebClient.cs: Only expose the right methods to avoid warnings. 
621
622         * FtpDataStream.cs (Dispose): Fix signature.
623
624         * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
625         like we are missing features here).
626
627         * IPAddress.cs: Move m_HashCode property to the end, and set
628         pragmas to disable warnings.
629
630 2006-02-16  Dick Porter  <dick@ximian.com>
631
632         * IPEndPoint.cs: The SocketAddress AddressFamily takes up the
633         first two bytes, not just one.  Check the size of the
634         SocketAddress buffer for IPv6 as well.
635
636         * Dns.cs: Cope when GetHostByName_internal or
637         GetHostByAddr_internal returns fewer items in the array than it
638         intended to (maybe due to conversion errors.)
639
640 2006-02-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>
641
642         * FtpWebResponse.cs: Add UpdateStatus method, to update both
643         statusCode and statusDescription at the same time. 
644
645 2006-02-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
646
647         * FtpWebRequest.cs: Remove WebExceptionStatus argument
648         from CreateExceptionFromResponse, since exceptions gotten
649         from server response always have a WebExceptionStatus.ProtocolError
650         value.
651         
652 2006-02-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
653
654         * FtpWebRequest.cs: Add renaming support when using 
655         WebRequestMethods.Ftp.Rename method.
656         
657 2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
658
659         * ChunkedInputStream.cs:
660         * ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
661         Sakowski.
662
663 2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
664
665         * HttpWebRequest.cs: don't send the expect-100 if if there's no content.
666
667         * HttpListenerRequest.cs:
668         * HttpConnection.cs:
669         * RequestStream.cs: use the content length header to avoid reading past
670         the end of the stream.
671
672         Patch by Horst Reiterer.
673
674 2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
675
676         * FtpWebRequest.cs: Add supportedCommands array with the sorted
677         methods, to search using Array.BinarySearch. Remove CheckMethod.
678
679 2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
680
681         * FtpWebRequest.cs: Fixed some typos and small issues.
682         
683 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684
685         * HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
686         property.
687
688 2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
689
690         * FtpRequestCreator.cs: 
691         * FtpAsyncResult.cs:
692         * FtpDataStream.cs:
693         * FtpWebRequest.cs:
694         * FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
695         
696 2006-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
697
698         * FtpStatusCode.cs: Fix a typo.
699         
700 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
701
702         * WebClient.cs: (2.0) UploadString() returns string, not void.
703
704 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
705
706         * HttpWebResponse.cs: ignore non-integer values for max-age and version.
707         Fixes bug #77199. Thanks to Cyrille Colin.
708
709 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710
711         * HttpWebResponse.cs: cope with malformed cookies with '=' as value.
712         Patch by Cyrille Colin. Fixes bug #77179.
713
714 2005-12-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
715
716         * FtpStatusCode.cs: New 2.0 enum.
717
718 2005-12-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
719
720         * CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
721         Colin.
722
723 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
724
725         * HttpWebResponse.cs: don't loop forever when no name or value between
726         semicolons. Fixes bug #76943.
727
728 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729
730         * HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
731         without a value. Fixes bug #76922.
732
733 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
734
735         * EndPointListener.cs:
736         * HttpListenerRequest.cs: don't require the Host header for 1.0. Just
737         map that to the '*' or '+' host.
738
739 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740
741         * IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
742         Fixes bug #76792.
743
744 2005-11-21 Senganal T   <tsenganal@novell.com>
745
746         * Dns.cs : corrected a mistake in GetHostEntry ()
747
748 2005-11-21 Senganal T   <tsenganal@novell.com>
749
750         * Dns.cs : added GetHostEntry() method for 2.0 api conformance
751
752 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
753
754         * HttpRequestHeader.cs: add missing values.
755
756 2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
757
758         * HttpListenerPrefixCollection.cs:
759         * HttpWebResponse.cs:
760         * Dns.cs:
761         * HttpListenerRequest.cs:
762         * HttpWebRequest.cs:
763         * HttpListenerResponse.cs: a few signature fixes for 2.0.
764
765 2005-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
766
767         * HttpListenerPrefixCollection.cs:
768         * EndPointListener.cs:
769         * HttpStreamAsyncResult.cs:
770         * HttpListenerContext.cs:
771         * HttpListenerBasicIdentity.cs:
772         * AuthenticationSchemeSelector.cs:
773         * HttpListener.cs:
774         * WebHeaderCollection.cs:
775         * ListenerPrefix.cs:
776         * HttpListenerException.cs:
777         * HttpResponseHeader.cs:
778         * EndPointManager.cs:
779         * HttpListenerRequest.cs:
780         * HttpRequestHeader.cs:
781         * BindIPEndPoint.cs:
782         * ResponseStream.cs:
783         * ChunkedInputStream.cs:
784         * HttpStatusCode.cs:
785         * ListenerAsyncResult.cs:
786         * ChunkStream.cs:
787         * HttpConnection.cs:
788         * HttpUtility.cs:
789         * HttpListenerResponse.cs:
790         * RequestStream.cs: initial implementation of HttpListener. There are
791         a few TODOs left (cookies, HTTPS) but almost everything else is in.
792
793 2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>
794
795         * IPv6Address.cs: Added on overload to ToString to get a the full 
796         length address returned (as required by System.Uri).
797
798 2005-11-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
799
800         * WebRequestMethods.cs: New 2.0 class.
801         
802 2005-11-05  Atsushi Enomoto  <atsushi@ximian.com>
803
804         * WebClient: use POST for DownloadData(). Fixed bug #76631.
805
806 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
807
808         * AuthenticationSchemes.cs : Fixed enum values and added [Flags].
809
810 2005-10-19  Atsushi Enomoto  <atsushi@ximian.com>
811
812         * WebClient.cs : added net_2_0 DownloadString() and DownloadData()
813           with HTTP method as well.
814
815 2005-10-19  Atsushi Enomoto  <atsushi@ximian.com>
816
817         * WebClient.cs : added UploadString() and Encoding (net_2_0). Added
818           some new overloaded stuff that takes Uri instead of string address.
819
820 2005-10-17  Sebastien Pouliot  <sebastien@ximian.com> 
821
822         * ICredentialPolicy.cs: New. Interface for 2.0.
823
824 2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>
825
826         * AuthenticationSchemes.cs : new 2.0 enum.
827
828 2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
829
830         * GlobalProxySelection.cs: remove double lock.
831         * HttpWebRequest.cs: remove double lock in GetServicePoint() and use
832         a private object when locking.
833
834 2005-07-15  Miguel de Icaza  <miguel@novell.com>
835
836         * DigestClient.cs: Fix bug #75556, the qop argument must be
837         quoted, per http://www.faqs.org/rfcs/rfc2617.html section
838         `quo-options'.
839
840 2005-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
841
842         * WebConnectionStream.cs: initiate writing the body before trying to
843         read. This fixes the performance problems observed in web services.
844         Closes bug #75455.
845
846 2005-06-27  Lluis Sanchez Gual <lluis@novell.com>
847
848         * IPAddress.cs: Changed field names for the sake of serialization
849         interoperability with MS.NET.
850         
851 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
852
853         * WebConnection.cs: if cnc.EndRead throws, mark the asyncresult as done.
854         * WebConnectionStream.cs: if we're done with the body of a chunk, don't
855         require the next chunk header to be there, as some servers might close
856         the connection (while also sending 'Connection: close').
857
858 2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
859
860         * HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
861         to me that this is against 10.3.3 in RFC 2616, but may be the user
862         'authorization' to do this is implicit in AllowAutoRedirect...
863
864 2005-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
865
866         * WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
867         if there's no record available to read. This is a workaround that makes
868         the call to BeginRead itself asynchronous. Fixes bug #75342.
869
870 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
871
872         * WebConnection.cs:
873         * HttpWebRequest.cs:
874         * WebConnectionStream.cs: initiate the polling for input data after
875         sending the header so that we detect any response that the server sends
876         back even if we're still trying to write the request for a POST/PUT.
877         If we get the response (or an error) before any one calls GetResponse(),
878         keep it around instead of ignoring it.
879
880 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
881
882         * HttpWebRequest.cs: send the right header/user/password in
883         PreAuthenticate in presence of a proxy.
884
885 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
886
887         * IPv6Address.cs: fix IsLoopback. Closes bug #75128.
888
889 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
890
891         * IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
892         address. Fixes bug #75125.
893
894 2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
895
896         * ServicePointManager.cs: when going through a proxy, use 2 different
897         service points depending on the scheme. Fixes bug #75135.
898
899 2005-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
900
901         * Dns.cs: don't parse the address when it comes from an IPAddress.
902
903 2005-05-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
904
905         * WebConnection.cs: prevent 2 nullrefs when the aborting during
906         Connect() and reset the status to Success before starting a new
907         request.
908
909 2005-05-19  Sebastien Pouliot  <sebastien@ximian.com>
910
911         * WebRequest.cs: Throw NotImplementedException (not NotSupported
912         Exception) for stuff that should have been abstract. No exception
913         is thrown by the serialization constructor.
914
915 2005-05-04 James Willcox  <james@ximian.com>
916
917         * DigestClient.cs: convert to a hex string with "X8" consistently
918         for nc-value
919
920 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921
922         * WebConnection.cs: don't rethrow errors in Write, as the error will be
923         received by GetResponse*. The result is that the threadpool thread doing
924         this will not end up printing the exception. Fixes bug #74817.
925
926 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
927
928         * ServicePoint.cs: HostEntry needs to be thread safe.
929
930 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
931
932         * WebConnection.cs: removed a 'slightly' important line by mistake.
933         * WebConnectionStream.cs: if the transfer encoding is chunked, ignore
934         content-length header if present.
935
936 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
937
938         * WebConnection.cs: no need to use an AutoResetEvent.
939         * WebConnectionStream.cs: don't start any more reads on the socket
940         after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
941         test.
942
943 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
944
945         * BasicClient.cs: firefox/IE just send latin1, stripping the high byte
946         from unicode >= 256 characters.
947
948 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
949
950         * BasicClient.cs: use latin1 when encoding the username/domain/password.
951         Fixes bug #74745.
952
953 2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
954
955         * WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
956         synchronously, no need to create the ManualResetEvent to wait on.
957
958 2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
959
960         * WebConnectionStream.cs: call SetComplete in EndWrite when we're not
961         buffering the request body. Fixes bug #74637.
962
963         * WebAsyncResult.cs: renamed field.
964
965 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
966
967         * WebConnectionStream.cs:
968         * WebAsyncResult.cs: ensure we only call EndRead once per async. result.
969         Update total before invoking the callback when present.
970
971 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
972
973         * WebConnection.cs:
974         * WebConnectionStream.cs: don't start reading until we've sent at least
975         the headers. This way we ensure that a Write happens before any Read,
976         which is needed by the SSL code.
977
978 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
979
980         * HttpWebRequest.cs: ensure we read everything before redirecting.
981
982 2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
983
984         * WebConnectionStream.cs: provide a default callback when doing async.
985         read/write and waiting for a timeout so that the callback sets the
986         event and we don't block forever. Fixes bug #74539 take 3.
987
988 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
989
990         * WebConnection.cs:
991         * HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.
992
993 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994
995         * WebConnection.cs: fix some breakage from my last patch.
996         * WebConnectionStream.cs: invoke the callback when done even in EndRead.
997
998 2005-04-10  Sebastien Pouliot  <sebastien@ximian.com>
999
1000         * WebConnection.cs: Added support for TrustFailure when throwing a
1001         WebException. Fix bug #74286.
1002
1003 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1004
1005         * HttpWebRequest.cs: 
1006         * WebConnectionStream.cs: implemented support for ReadWriteTimeout.
1007
1008 2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009
1010         * WebConnection.cs: if we're reading chunked data and didn't use the
1011         stream to read, we gotta set the async. result as complete and invoke
1012         the callback. Don't call nstream.EndRead with the wrong IAsyncResult.
1013
1014         * WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
1015         cnc.EndRead. Lock on a field instead of 'this'.
1016
1017 2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1018
1019         * HttpWebRequest.cs: throw the exception if we got an error, as now
1020         it's catched in the redirection handling code.
1021
1022 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1023
1024         * HttpWebRequest.cs: moved redirection handling to a proper place.
1025
1026 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1027
1028         * WebHeaderCollection.cs: added if-modified-since to the list of
1029         restricted headers.
1030
1031         * ServicePoint.cs: use a field object when locking.
1032
1033 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034
1035         * WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
1036         need to wait for a Close/ReadAll when we have no content.
1037
1038 2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1039
1040         * NtlmClient.cs: fix typo in assembly name.
1041
1042 2005-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043
1044         * CookieContainer.cs: adding to a CookieCollection might not increment
1045         the number of items if the cookie is replaced. Now Count works properly.
1046         Fixed an array index exception (typo).
1047
1048         * CookieCollection.cs: also compare the version.
1049
1050         * HttpWebResponse.cs: when we have cookies, add them to the request
1051         container.
1052
1053         * HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
1054
1055 2005-03-30  Miguel de Icaza  <miguel@novell.com>
1056
1057         * Cookie.cs: Compare using the InvariantCulture, to match the
1058         behavior of CookieContainer that already did this.
1059
1060 2005-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1061
1062         * WebConnection.cs: we don't need to trigger the next queued request
1063         until the response is closed.
1064
1065 2005-03-29  Miguel de Icaza  <miguel@novell.com>
1066
1067         * HttpWebResponse.cs: Handle quotations in the cookies values, per
1068         the spec http://www.faqs.org/rfcs/rfc2109.html, it is allowed to
1069         have quotations.
1070
1071 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072
1073         * BasicClient.cs:
1074         * DigestClient.cs: check that GetCredential() does not return null.
1075
1076 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077
1078         * BasicClient.cs: ensure credentials are not null.
1079
1080 2005-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1081
1082         * HttpWebResponse.cs: moved cookie parsing into its own class.
1083         * WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
1084         call.
1085         * HttpWebRequest.cs: don't let exception raised in the ctor of
1086         HttpWebResponse vanish.
1087
1088         Fixes bug #73275.
1089
1090 2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091
1092         * WebHeaderCollection.cs: handle commas inside quotes when splitting
1093         a multi-value header. Fixes bug #73151.
1094
1095 2005-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096
1097         * DigestClient.cs: fix for digest auth. and URIs containing query. Patch
1098         by James Wilcox. Fixes bug #72571.
1099
1100 2005-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101
1102         * HttpWebResponse.cs:
1103         * WebConnection.cs:
1104         * HttpWebRequest.cs:
1105         * WebConnectionStream.cs: don't read the entire response unless the
1106         user requests it. Fixes bug #72443.
1107
1108 2005-02-08  Zoltan Varga  <vargaz@freemail.hu>
1109
1110         * IPv6Address.cs: Fix endianess problems.
1111
1112         * IPAddress.cs: Fix misleading comments.
1113
1114 2005-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1115
1116         * HttpWebRequest.cs: send the headers when we're supposed to write
1117         a POST/PUT but call GetResponse before GetRequestStream.
1118
1119         * WebConnectionStream.cs: new RequestWritten property.
1120
1121 2005-01-20  Jonathan Pryor  <jonpryor@vt.edu>
1122
1123         * EndpointPermission.cs: Fix IsSubsetof(hostname) so that the regression 
1124           tests work.  In particular, IsSubsetOf ("12.13.*.*", "12.13.14.*") failed
1125           because 14 wasn't a subset of * (which it is).  Fix: if part1 is we 
1126           continue to the next portion.
1127
1128 2005-01-20  Jonathan Pryor  <jonpryor@vt.edu>
1129
1130         * IPAddress.cs (ParseIPV4): Fix so that the regression tests work.  In
1131           particular, " foo" and ".1.1.6" weren't being caught (" foo" because it
1132           started with a space, and ".1.1.6" because the split string accepted a
1133           0-length portion, which would make 1...6 valid, but isn't valid based on
1134           similar test cases).
1135
1136 2005-01-20  Jonathan Pryor  <jonpryor@vt.edu>
1137
1138         * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
1139           commas if the header is a Multi-Value header.  This matches
1140           MonoTests.System.Net.WebHeaderCollectionTest.
1141
1142 2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
1143
1144         * WebPermissionAttribute.cs: Fixed NET_1_1 behaviour.
1145
1146 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1147
1148         * WebConnectionStream.cs: remove unneeded check. Write detects and
1149         triggers the exception now.
1150
1151 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1152
1153         * AuthenticationManager.cs: don't lock on a public Type.
1154         * HttpWebRequest.cs: read the error response for auth. errors.
1155
1156 2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1157
1158         * HttpWebRequest.cs: set webResponse back to null when redirecting.
1159         Fix the previous patch so that it reads the whole response even if
1160         auto-redirect is not enabled. Closes bug #70484.
1161
1162 2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163
1164         * HttpWebResponse.cs: added ReadAll method.
1165
1166         * WebConnection.cs: in HandleError, set the response error after
1167         closing the socket. Use an async. delegate to finish reading any prior
1168         WebConnectionStream.
1169
1170         * HttpWebRequest.cs: for error responses that allow content, read the
1171         stream immediately. Fixes bug #70483.
1172
1173 2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174
1175         * CookieContainer.cs: quote the port number.
1176
1177 2004-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178
1179         * WebConnection.cs:
1180         * WebConnectionStream.cs: removed TryReconnect. It's no longer needed.
1181
1182 2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183
1184         * WebConnection.cs: set the event in Close so that if the queue is
1185         empty, we won't block forever on next request. The finalizer was
1186         removed because we're not implementing IDisposable pattern here.
1187
1188 2004-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189
1190         * WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
1191         * ChunkStream.cs: added error checking all over.
1192
1193         * HttpWebRequest.cs: throw the exception received in SetResponseError
1194         if we already have a response.
1195         (SetRequestData): Don't nest the exception if it's a WebException.
1196
1197 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198
1199         * WebConnection.cs: remove prevStream and don't set busy to false in
1200         HandleError. prevStream is not needed any more and setting 'busy' so
1201         early might let a request skip the queue.
1202         
1203         * WebConnectionGroup.cs: decrement the indexer when removing a dead
1204         reference from the arraylist.
1205
1206         * WebConnectionStream.cs:
1207         (ReadAll): call NextRead if it has not been called before even when
1208         we have completed the request. Reuse the read buffer when reading a
1209         response of unknown size. Increase the buffer to 8kB.
1210         (BeginRead): increase pendingReads earlier and even when reading from
1211         the internal buffer.
1212         (EndRead): decrease pendingReads later and always.
1213
1214 2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215
1216         * CookieContainer.cs: style, fixed checks for properties, implemented
1217         the MonoTODOs for the method that take an Uri. GetCookies and
1218         GetCookieHeaders now really return only the cookies that are requested
1219         filtering by the Uri parameter.
1220
1221         * Cookie.cs: style, added default values for Comment, Domain and Port.
1222
1223 2004-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224
1225         * CookieCollection.cs: reformatted, fixed Add by adding a new method to
1226         search across the arraylist, as list.IndexOf is not what we want.
1227
1228 2004-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229
1230         * WebConnection.cs: check for FIN or RST on the socket before reusing.
1231         Fixes bug #69388.
1232
1233 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234
1235         * ChunkStream.cs: simplified condition for WantMore property.
1236
1237         * WebConnection.cs: in Connect(), finish any pending reads we might
1238         have for chunked data. Ignore possible blank lines at the very
1239         beginning of the server response. Honor user set KeepAlive in
1240         HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
1241         his suggestions and code.
1242
1243 2004-11-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244
1245         * HttpWebResponse.cs: don't lock up when the cookie received ends with
1246         a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.
1247
1248 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249
1250         * HttpWebRequest.cs: don't fail if the request has already been sent
1251         when accessing ContentType setter. Fixes bug #68848.
1252
1253 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1254
1255         * ChunkStream.cs:
1256         (WantMore): we're not done until we get a 0 chunk size and the trailer.
1257         The 0 can be expressed as more than one character too (ie, 000000).
1258
1259         * HttpWebRequest.cs: new argument in SetResponseError.
1260         * WebConnection.cs: added argument to HandleError as a hint for
1261         debugging.
1262         (Connect): make the chunked stream be in the expected state when
1263         reusing.
1264
1265         * WebConnectionStream.cs: removed unused method (ResetWriteBuffer).
1266
1267 2004-10-10 David Sheldon <dave-mono@earth.li>
1268
1269         * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
1270
1271 2004-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1272
1273         * HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
1274         * WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
1275         SetInternal.
1276
1277 2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278
1279         * HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
1280         tunneling a secure connection.
1281
1282         * ServicePoint.cs: added UseConnect property.
1283
1284         * ServicePointManager.cs: set the UseConnect property when we use a http
1285         proxy for a https connection.
1286
1287         * WebConnection.cs: setup the tunnled connection when using a proxy and
1288         https.
1289
1290 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1291
1292         * HttpWebResponse.cs: remove unused SplitValue method.
1293
1294 2004-09-10  Sebastien Pouliot  <sebastien@ximian.com>
1295
1296         * DnsPermission.cs: Updated to pass new unit tests.
1297         * DnsPermissionAttribute.cs: Cleanup.
1298         * SocketPermission.cs: Updated to pass new unit tests.
1299         * SocketPermissionAttribute.cs: Updated to pass new unit tests.
1300         * WebPermission.cs: Implemented some TODO - not complete yet.
1301         * WebPermissionAttribute.cs: Updated to pass new unit tests.
1302
1303 2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1304
1305         * Cookie.cs: don't fail when using default constructor. Fixes bug
1306         #62890.
1307
1308 2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309
1310         * HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
1311         than once and have multiple values. Don't rely on string.split when
1312         parsing cookie values.
1313
1314         * WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
1315         Fixed GetValues (it was splitting values that contained a comma) and
1316         changed SetInternal to handle multi-value headers.
1317
1318         Fixes bug #62744.
1319
1320 2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321
1322         * WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
1323         (kostat@mainsoft.com).
1324
1325 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326
1327         * HttpWebRequest.cs: detect changes in scheme or port when redirecting.
1328         Fixes las take on bug 61218.
1329
1330 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331
1332         * WebConnection.cs: moved loading of the ssl stream Type to its own
1333         method. Don't create a new ssl stream if we're reusing the connection.
1334
1335         * WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
1336         is the expected even if the dta from the server has extra bytes.
1337
1338 2004-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1339
1340         * WebConnection.cs:
1341         * WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
1342         "responses MUST NOT include a message-body". We tried to read the
1343         stream even when getting those codes and considered the 0 length
1344         read as a failure.
1345
1346 2004-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1347
1348         * HttpWebRequest.cs: removed bogus Monitor.Exit.
1349         * WebConnection.cs: use Address instead of RequestUri when checking for
1350         the scheme in order to select the stream type. Fixes bug #61218.
1351
1352 2004-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1353
1354         * ChunkStream.cs: added ChunkLeft property.
1355         * WebConnection.cs:
1356         (EndRead): when using small byte arrays to read from a chunked stream,
1357         ensure we've read the chunk size and try to fulfill the request
1358         completely. fixes bug 59653.
1359
1360 2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361
1362         * WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.
1363
1364 2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365
1366         * DigestClient.cs: cache the sessions based on address and
1367         credentials, not only address. Added poor men's expiration to
1368         the session cache. Fixes bug #59202.
1369
1370 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1371
1372         * IPAddress.cs:
1373         * IPEndPoint.cs:
1374         * IPv6Address.cs: no more warnings about IPAddress.Address.
1375
1376 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1377
1378         * WebException.cs: implemented serialization .ctor and
1379         GetObjectData().
1380
1381 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382
1383         * WebAsyncResult.cs: don't create the WaitHandle if not needed.
1384
1385 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386
1387         * HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
1388         used yet.
1389
1390         * NetConfig.cs: added MaxResponseHeadersLength field.
1391
1392         * ServicePoint.cs:
1393         * ServicePointManager.cs: added missing properties for 1.1. 
1394
1395 2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
1396
1397         * WebConnection.cs: Use assembly name const to load Mono.Security.
1398
1399 2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>
1400
1401         * NtlmClient.cs: Use assembly name const to load Mono.Security.
1402
1403 2004-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404
1405         * WebConnectionStream.cs: avoid the exception when getting the content
1406         length if possible.
1407
1408 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
1409
1410         * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
1411         the lock is released in case of exception (for example, a 
1412         ThreadAbortException). This also "fixes" bug #52417.
1413         Beware, this requires a runtime update (due to a bug in Monitor.Exit).
1414         * ServicePoint.cs: Changed method from internal to private, since it
1415         is not called from outside the class.
1416
1417 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1418
1419         * HttpWebRequest.cs: added the exception status to the error message.
1420         * WebConnection.cs: add headers using SetInternal instead of Add to
1421         bypass header name validation. Fixes bug #55994.
1422         * WebHeaderCollection.cs: added SetInternal (string header).
1423
1424 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1425
1426         * WebConnection.cs:
1427         * WebConnectionGroup.cs: the requests queue is now shared for all the
1428         connections belonging to the same connection group.
1429
1430 2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>
1431
1432         * DefaultCertificatePolicy.cs: New. Certificate validation
1433         policy compatible with the documented one present in Fx. It
1434         allows valid certificates and expired certificates to be used
1435         for SSL connections.
1436         * ServicePointManager.cs: Removed the DummyPolicy. Now creates
1437         a DefaultCertificatePolicy to validate certificates. 
1438
1439 2004-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1440
1441         * ServicePoint.cs: SendContinue is always false for HTTP/1.0
1442
1443         * WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
1444         calling more the ContinueDelegate more than once when we get the
1445         headers in several packets.
1446
1447         * WebConnectionStream.cs: removed call to WaitForContinue.
1448
1449 2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>
1450
1451         * WebConnection.cs: Update previous patch to use HttpsClientStream
1452         (internal in Mono.Security assembly) in place of SslClientStream.
1453         This will reduce reflection and allow to use ICertificatePolicy.
1454
1455 2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456
1457         * DigestClient.cs: fix quote handling. Reordered attributes in response.
1458         Fixed typo (QOP->CNonce). Now Digest works with apache2.
1459
1460 2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461
1462         * DigestClient.cs: removed Console.
1463         * HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.
1464
1465 2004-02-24  Sebastien Pouliot  <sebastien@ximian.com>
1466
1467         * DigestClient.cs: Fixed issue with Apache server which do not use "
1468         for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").
1469
1470 2004-02-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1471
1472         * HttpWebRequest.cs: arghhh. I used the server response headers instead
1473         of what the client is supposed to send. Thanks to Helge Hess.
1474
1475 2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476
1477         * AuthenticationManager.cs: implemented PreAuthenticate().
1478
1479         * HttpWebRequest.cs: once we know the version of the server, use it if
1480         below the requested one. Remove 'Expect', 'Content-Length' and /or 
1481         'Transfer-Encoding' if appropiate due to changes in version. Fixed 
1482         'Host' header for non-standard ports. Support preauthentication. Closes
1483         bug #50530.
1484
1485 2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1486
1487         * HttpWebRequest.cs: check for missing or wrong URI in Location header
1488         when redirecting.
1489
1490         * WebConnection.cs: if the data read does not contain all the headers,
1491         keep it around and read the rest until we get to the response body.
1492         Allow response code with no description. Fixed bug #54543.
1493
1494 2004-02-18  Sebastien Pouliot  <sebastien@ximian.com>
1495
1496         * SecurityProtocolType.cs: Added missing [Serializable] to enum. Added 
1497         Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
1498         profile (as we need it for SslClientStream).
1499         * ServicePoint.cs: Added internal SetCertificates(client,server).
1500         * ServicePointManager.cs: Added CheckCertificateRevocationList and
1501         CheckCertificateRevocationList static properties (public in 1.1, 
1502         internal for 1.0).
1503         * WebConnection.cs: Dynamically creates a SslClientStream (from 
1504         Mono.Security assembly) in case of https. Changed NetworkStream to 
1505         Stream everywhere.
1506
1507 2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1508
1509         * HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
1510         don't know the server version or it's 1.0.
1511
1512         * ServicePoint.cs: added SetVersion.
1513
1514         * WebAsyncResult.cs: remove ChunkAsyncResult.
1515
1516         * WebConnection.cs: set the ServicePoint version when getting a response
1517         from the server.
1518
1519         * WebConnectionStream.cs: when posting chunked content, send the head,
1520         body and trailer of the chunk at once instead of doing 3 separate
1521         writes, which may cause troubles.
1522
1523 2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524
1525         * WebConnection.cs: if we get a 100 when we're not waiting for it, set
1526         that information in the ServicePoint.
1527
1528         * WebConnectionStream.cs: send headers in the right order for
1529         non-chunked POST.
1530
1531 2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1532
1533         * WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.
1534
1535 2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1536
1537         * HttpWebRequest.cs: on second and sucesive tries when authenticating,
1538         don't use chunked encoding for POST, as we know the content length and
1539         have the body. Nullify bodyBuffer always in CheckFinalStatus.
1540
1541         * WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
1542         IAsyncResult when writing CRLF at the end of a chunk.
1543
1544         * WebConnectionStream.cs: support sending chunked data.
1545
1546 2004-01-24  Lluis Sanchez Gual <lluis@ximian.com>
1547
1548         * HttpWebRequest.cs: When retrying a POST request after an
1549         authentication failure, resend the body. This fixes bug #51841.
1550         * WebConnectionStream.cs: Added properties for getting what's been
1551         written.
1552
1553 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1554
1555         * HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.
1556
1557 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1558
1559         * HttpWebRequest.cs: support proxy authentication.
1560
1561 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1562
1563         * BasicClient.cs:
1564         * DigestClient.cs: use IndexOf instead of StartsWith to deal with
1565         servers that provide several authentication schemas.
1566
1567 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1568
1569         * ChunkStream.cs: use an array of buffers instead of a MemoryStream for
1570         storing the chunks. This way, we won't miss traling data from the
1571         previous chunk when a new one is received before the other is fully
1572         read.
1573
1574 2004-01-27  Nick Drochak <ndrochak@ieee.org>
1575
1576         * DigestClient.cs:
1577         * HttpWebRequest.cs:
1578         * IPv6Address.cs:
1579         * WebClient.cs:
1580         * WebConnection.cs:
1581         * WebConnectionStream.cs: Remove unused variables thus eliminating some
1582         build warnings.
1583
1584 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585
1586         * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
1587         handling for the case when the same packet also contains the actual
1588         [2-5]xx response.
1589
1590 2004-01-24  Lluis Sanchez Gual <lluis@ximian.com>
1591
1592         * HttpWebRequest.cs: Added missing property.
1593
1594 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1595
1596         * Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
1597         bug #53222.
1598
1599 2004-01-16  Lluis Sanchez Gual <lluis@ximian.com>
1600
1601         * ChunkStream.cs: The "size" parameter of Write is not the number of
1602         bytes to write, but the last offset to be written. Thus, in WriteAndRead
1603         Back, since "read" is not an offset but the number of bytes, it must be 
1604         added to the offset. Maybe it would be a good idea to change the name of
1605         the parameter, since it is confusing. This should fix bug #52591.
1606
1607 2004-01-12  Lluis Sanchez Gual <lluis@ximian.com>
1608
1609         * WebConnection.cs: Yet another fix for WebConnection. This fixes 
1610         bug #52169.
1611
1612 2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1613
1614         * WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
1615         tidied up the end of ReadDone. Disabled relaunching the request if 2
1616         InitRead are called, since now we don't throw everything into
1617         RegisterWaitForSingleObject but one request at a time.
1618
1619         * WebConnectionGroup.cs: when checking available connections, allow them
1620         not to be Connected but allocated to honor the connection limit.
1621         
1622         * WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
1623         too. ReadAll don't mess contentLength if it's provided in the headers.
1624
1625         BIG thanks to Lluis. Turns out that we were debugging the same stuff and
1626         his Data.Init discovery was THE thing I was missing.
1627
1628         Fixes bug #51277.
1629
1630 2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1631
1632         * ServicePointManager.cs: use GetMaxConnections to get the appropiate
1633         number of connections limit.
1634
1635 2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1636
1637         * MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
1638         guilty for bug 52629.
1639
1640 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641
1642         * CredentialCache.cs: return null instead of throwing NotImplemented.
1643
1644 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1645
1646         * HttpWebRequest.cs: fixed checking if method allows a body. Patch by
1647         Benjamin Jemlich (pcgod@gmx.net).
1648
1649 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650
1651         * HttpWebRequest.cs: deal with authentication schemes that have more
1652         than 1 round trip (Ntlm).
1653
1654 2003-12-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1655
1656         * NtlmClient.cs: new class that actually uses one from Mono.Http to do
1657         the authentication.
1658
1659 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1660
1661         * HttpWebRequest.cs: when building the redirect URI, use the previous
1662         one as the base URI, which makes relative URIs work.
1663
1664 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1665
1666         * DigestClient.cs: merged in code from Sebastien Pouliot and Greg
1667         Reinacker that Supports cnonce and preauthentication.
1668
1669 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1670
1671         * DigestClient.cs: initial Digest authentication. Works with apache
1672         mod_digest.
1673
1674 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1675
1676         * HttpWebRequest.cs: removed unneeded StringBuilder.
1677         * WebConnection.cs: default to keep the connection open for HTTP/1.1
1678         only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
1679
1680 2003-11-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681
1682         * WebConnection.cs: turns out that socket.Connected is not useful until
1683         we actually try to send/receive data, even if the other end has already
1684         closed the socket. Added TryReconnect() and Connected.
1685
1686         * WebConnectionData.cs: default value for StatusCode is 0 now.
1687
1688         * WebConnectionGroup.cs: reuse the connection since the beginning,
1689         instead of opening up to ConnectionLimit and then reusing.
1690
1691         * WebConnectionStream.cs: reopen the socket if we're trying to reuse
1692         one which fails on first write.
1693
1694 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695
1696         * WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
1697         wrap it and do our job before calling it. Fixes bug #48497.
1698
1699 2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1700
1701         * WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
1702         * SecurityProtocolType.cs: Added and implemented
1703
1704 2003-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705
1706         * HttpWebRequest.cs: fixed redirects when they target another host.
1707
1708 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709
1710         * IPAddress.cs: prevent exceptions when trying to parse the static IPv6
1711         addresses.
1712
1713 2003-10-17  Pedro Martinez Julia  <yoros@wanadoo.es>
1714
1715         * WebClient.cs: use Path.DirectorySeparator instead of "/" for
1716         windows compatibility. Add some checks for file paths like
1717         "C:/xxx/yyy/..." and like "/home/xxx/...".
1718
1719 2003-10-16  Pedro Martinez Julia  <yoros@wanadoo.es>
1720
1721         * WebClient.cs: added a slash between directory and file names.
1722
1723 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1724
1725         * HttpWebRequest.cs:
1726         * HttpWebResponse.cs: better abort handling and leave the stream in a
1727         stable status on abort.
1728
1729 2003-10-12  Pedro Martinez Julia  <yoros@wanadoo.es>
1730
1731         * WebClient.cs: refine reading of local files (like MS.NET).
1732
1733 2003-10-10  Pedro Martinez Julia  <yoros@wanadoo.es>
1734
1735         * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
1736         but we didn't. Now, when Uri fails with an exception, it adds
1737         "file://" before the URI and tries again.
1738
1739 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740
1741         * ServicePoint.cs: preparing for recycling. Not yet finished.
1742         * ServicePointManager.cs: this is the one that reads config.
1743         * WebConnectionGroup.cs: don't read config here.
1744         * WebConnection.cs: added the queue again. Launch queued requests on
1745         error.
1746
1747 2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1748
1749         * WebConnection.cs: the queue is now handled by the threadpool.
1750         Initialize the connection data in a place where it does not depend on
1751         the execution order of the requests in threadpool. More error handling.
1752
1753         * WebConnectionGroup.cs: use the limits in the config file and reuse
1754         connections when the limit is reached.
1755
1756 2003-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1757
1758         * HttpWebRequest.cs: handle 304 a la MS.
1759         * WebConnection.cs: set the response data when reading 0 bytes.
1760
1761 2003-09-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1762
1763         * WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
1764         invalid state.
1765
1766 2003-08-14  Nick Drochak <ndrochak@gol.com>
1767
1768         * WebRequest.cs: Check lower case string since that is what we will add.
1769
1770 2003-08-04  Jerome Laban <jlaban@wanadoo.fr>
1771
1772         * IPHostEntry.cs: Default contructor must not initialize members.
1773         (Fixes bug #45575).
1774
1775 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1776
1777         * CredentialCache.cs: Removed undefined serializable attribute
1778
1779 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1780
1781         * ChunkStream.cs:
1782         (WantMore): true if we've not received the last chunk yet. Fixes
1783         bug #45463. Thanks to Miguel for tracking this down and providing a
1784         test case.
1785         
1786         * WebConnection.cs: removed bogus ^M's.
1787         
1788         * WebHeaderCollection.cs: provide more info when the header or value is
1789         wrong.
1790
1791 2003-07-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1792
1793         * ChunkStream.cs: Removed unused members
1794         * IPAddress.cs: Removed unused exception variable, fixes compiler
1795         warning.
1796         * WebConnection.cs: Removed unused exception variables, fixes compiler
1797         warnings.
1798
1799 2003-07-14  Lluis Sanchez Gual <lluis@ximian.com>
1800
1801         * NetConfig.cs: If Clone method is not public, then it must use
1802           explicit interface method implementation syntax.
1803
1804 2003-07-14  Jerome Laban <jlaban@wanadoo.fr>
1805
1806         * Dns.cs: Reworked indentation.
1807         Added IPv6 support.
1808         Added literal address checking in GetHostByAddress.
1809         Changed Dns.Resolve behavior.
1810         * IPAddress.cs:
1811         * IPEndPoint.cs: Added IPv6 support.
1812         * IPv6Address.cs: Added address compression.
1813         * NetConfig.cs: Added configuration section.    
1814
1815 2003-07-14  Jerome Laban <jlaban@wanadoo.fr>
1816
1817         * ServicePoint.cs: Removed Connect and GetEndPoint methods.
1818         Removed reverse resolution when uri is literal IP address. 
1819         * WebConnection.cs: IPv6 compatibility update: Try to connect
1820         to all addresses returned by IPHostEntry.
1821         * WebConnectionGroup.cs: Removed unused parameter. 
1822
1823 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1824
1825         * WebProxy.cs: Add serialization/ deserialization support
1826
1827 2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1828
1829         * ProxyUseType.cs:
1830         * WebStatus.cs: Deleted (do not exist in this assembly)
1831         * IPv6Address.cs: Made internal
1832
1833 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1834
1835         * HttpWebRequest.cs:
1836         * ServicePointManager.cs:
1837         * WebConnection.cs: added support for proxies.
1838
1839 2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1840
1841         * DnsPermissionAttribute.cs:
1842         * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
1843
1844 2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1845
1846         * WebPermission.cs: Added and partially implemented
1847         * WebPermissionAttribute.cs: Added and implemented
1848
1849 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1850
1851         * WebClient.cs: fixed bug #45651.
1852
1853 2003-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854
1855         * WebClient.cs: Small fix by Sebastian <scut@nb.in-berlin.de>.
1856
1857 2003-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858
1859         * WebConnection.cs: fixed header writing the reusing a connection and
1860         the server does not send 100-continue response.
1861
1862 2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863
1864         * WebConnection.cs: close the socket and connection when disposing.
1865         * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
1866         when creating instances.
1867
1868         * HttpWebRequest.cs:
1869         * HttpWebResponse.cs:
1870         * FileWebRequest.cs: support serialization.
1871
1872         * FileWebResponse.cs: support serialization and fixed dispose checks.
1873
1874         * FileWebRequestCreator.cs:
1875         * HttpRequestCreator.cs: added internal .ctor.
1876
1877 2003-06-24  Lluis Sanchez Gual <lluis@ximian.com>
1878
1879         * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
1880         called before asyncWrite.SetCompleted, to make sure that the waiting
1881         thread does not start to send more information before
1882         SendRequestHeaders has finished.
1883
1884 2003-06-22  Lluis Sanchez Gual <lluis@ximian.com>
1885
1886         * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
1887         read is really needed.
1888
1889 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1890
1891         * WebHeaderCollection.cs: prevent duplication headers used niternally.
1892
1893 2003-06-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1894
1895         * HttpWebRequest.cs: if CookieContainer has not been set, make
1896         HttpWebResponse ignore Set-Cookie* headers.
1897
1898         * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
1899         CookieContainer have been provided to the request.
1900
1901 2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1902
1903         * AuthenticationManager.cs: get the list of authentication modules from
1904         the configuration files. Added Clear and fixed Unregister.
1905
1906         * BasicClient.cs: fully implemented.
1907
1908         * HttpWebRequest.cs: added support for Basic authentication when
1909         credentials are set.
1910
1911         * NetworkCredential.cs: fixed GetCredential.
1912
1913 2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1914
1915         * HttpWebRequest.cs: *really* take care of requestSent to prevent
1916         sending the same request twice.
1917         * WebAsyncResult.cs: don't close the handle. Just Reset.
1918         * WebConnectionStream.cs: removed unneeded line.
1919
1920 2003-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1921
1922         * HttpWebRequest.cs: use InternalClose when we are not going to send the
1923         rest of the request stream because of an error after sending the
1924         headers.
1925
1926         * WebConnection.cs: check for completion after setting the response.
1927         Enable reading in NextRead.
1928
1929         * WebConnectionStream.cs: re-fixed the count for partially buffered
1930         reads. If the network stream returns 0 bytes, we're done.
1931
1932 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1933
1934         * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
1935         special headers *after* the others.
1936
1937 2003-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1938
1939         * WebConnectionStream.cs: when the read is partially filled from the
1940         initial buffer, add those bytes too. Thanks to Lluis for debugging this.
1941
1942 2003-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1943
1944         * HttpWebRequest.cs: added ExpectContinue property.
1945         * WebConnection.cs: allow 100 Continue to be delayed after waiting for
1946         it.
1947
1948 2003-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949
1950         * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
1951         is known not to respond to that.
1952
1953         * ServicePoint.cs: added SendContinue property.
1954
1955         * WebConnection.cs: only wait 2 seconds for a continue reply. If it
1956         timeouts, set SendContinue to false and proceeed sending data.
1957
1958         * WebConnectionStream.cs: if 100-continue is not received and instead we
1959         get a 417 or anything else, don't send the data.
1960
1961         * WebClient.cs: implemented all missing properties and methods except
1962         UploadFile.
1963
1964 2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1965
1966         * FileWebRequestCreator.cs: splitted from WebRequest.
1967         * HttpRequestCreator.cs: splitted fromWebRequest.
1968         * WebRequest.cs: added methods that are used by the new configuration
1969         handler to set prefix/type name requests creators.
1970
1971 2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1972
1973         * AuthenticationManager.cs:
1974         * Authorization.cs:
1975         * BasicClient.cs: new file.
1976         * ChunkStream.cs: new file.
1977         * Cookie.cs:
1978         * CookieContainer.cs:
1979         * GlobalProxySelection.cs:
1980         * HttpWebRequest.cs:
1981         * HttpWebResponse.cs:
1982         * IAuthenticationModule.cs:
1983         * ServicePoint.cs:
1984         * ServicePointManager.cs:
1985         * WebAsyncResult.cs: new file.
1986         * WebConnection.cs: new file.
1987         * WebConnectionData.cs: new file.
1988         * WebConnectionGroup.cs: new file.
1989         * WebConnectionStream.cs: new file.
1990         * WebException.cs:
1991         * WebHeaderCollection.cs:
1992         * WebProxy.cs:
1993         * WebResponse.cs:
1994
1995         Reworked HttpWebRequest and related classes.
1996
1997 2003-05-30  Miguel de Icaza  <miguel@ximian.com>
1998
1999         * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
2000         InternalServerError (500)
2001
2002 2003-05-29  Miguel de Icaza  <miguel@ximian.com>
2003
2004         * HttpWebRequest.cs (Close): Move the code that accumulates the
2005         output to Close from Flush.  Flush could have been called in the
2006         middle of the processing, and would have generated invalid results
2007         (which it did).
2008
2009 2003-05-23  Zoltan Varga  <vargaz@freemail.hu>
2010
2011         * Dns.cs (GetHostByAddress): Return the local host when called with
2012         IF_ANY.
2013
2014 2003-04-29  Miguel de Icaza  <miguel@ximian.com>
2015
2016         * WebClient.cs (DownloadData): Close the underlyng stream.
2017         (DownloadFile): Use using, so the file gets closed.
2018
2019 2003-04-24  Miguel de Icaza  <miguel@ximian.com>
2020
2021         * WebClient.cs (DownloadData): Instead of using a MemoryStream,
2022         keep track of all the small chunks in an ArrayList.  The
2023         MemoryStream had the property of reallocating itself, and the
2024         problem was that MemoryStream.GetBuffer would return the buffer
2025         (correctly), but not something of the right size.  So clients of
2026         DownloadData would get the extra unused bytes as part of the
2027         result.
2028
2029         The solution would have been to make another copy at this point,
2030         instead, we only keep the small allocations around in the
2031         ArrayList, and we only do one large allocation at the end.
2032
2033         * HttpWebResponse.cs: If there is a Content-Length header, pass
2034         this information to our HttpWebResponseStream, so it knows when to
2035         stop, instead of waiting for the stream to be shut down by the
2036         other end.
2037
2038         * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
2039         the underlying stream if the method will do a content transfer and
2040         no Content-Length was provided. If not (HEAD and GET or
2041         Content-Length provided), keep going.
2042         
2043 2003-04-23  Miguel de Icaza  <miguel@ximian.com>
2044
2045         * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
2046         the ContentLength specified on the request.  If that happens, we
2047         have to accumulate all the data written, and once we accumulate
2048         the data, we send it off.  
2049
2050         Notice that the documentation in .NET is actually incorrect, they
2051         state that setting ContentLength is mandatory.  It is not.
2052
2053 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2054
2055         * HttpWebResponse.cs: fixes bug #41180.
2056
2057 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2058
2059         * HttpWebRequest.cs: throw an exception is the response code is >= 300.
2060
2061 2003-03-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2062
2063         * HttpWebRequest.cs: implemented IDisposable, make the request stream
2064         read only. Changed the way of disposing the socket.
2065
2066         * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
2067         handle chunked transfer encoding (no more hangs), added serialization
2068         stuff, call CheckDisposed at the beginning of methods/properties (not
2069         in a finally clause).
2070
2071 2003-02-17  Nick Drochak <ndrochak@gol.com>
2072
2073         * WebClient.cs : Implemented Credentials property.
2074
2075 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2076
2077         * SocketAddress.cs: byte 1 of the data is the high byte of the family,
2078         not the size.
2079
2080 2003-01-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2081
2082         * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
2083
2084 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2085
2086         * HttpWebRequest.cs: applied patch from Tim Haynes
2087         (thaynes@openlinksw.com).
2088
2089         Avoided double-sending of the request to the server when both
2090         GetRequestStream() and GetResponse() are called.
2091         System Header attributes survive the Headers attribute set.
2092         Added handling of Connection: KeepAlive/Close
2093
2094 2002-10-03  Dick Porter  <dick@ximian.com>
2095
2096         * Dns.cs: Fixed GetHostName()
2097
2098 2002-09-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2099
2100         * HttpWebRequest.cs:
2101         * HttpWebResponse.cs: applied another patch from Shahms E. King
2102         (shahms@shahms.com).
2103
2104 2002-09-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2105
2106         * HttpWebRequest.cs:
2107         * HttpWebResponse.cs: applied patch from Shahms E. King
2108         (shahms@shahms.com).
2109
2110 2002-05-29  Lawrence Pit <loz@cable.a2000.nl>
2111
2112         * MonoHttpDate.cs: added
2113         * HttpWebRequest.cs: using MonoHttpDate
2114         * HttpWebResponse.cs: using MonoHttpDate
2115         * DnsPermission.cs: correct XML output
2116         * SocketPermission.cs: correct XML output
2117
2118 2002-05-21  Lawrence Pit <loz@cable.a2000.nl>
2119
2120         * WebClient.cs: stubbed
2121         * WebProxy.cs: fixed bug; had to change internal representation
2122         of bypasslist to ArrayList, different implementation of checking
2123         regex's.
2124
2125 2002-05-20  Lawrence Pit <loz@cable.a2000.nl>
2126
2127         * WebProxy.cs: added, implemented
2128         * ServicePoint.cs: implemented most
2129         * ServicePointManager.cs: implemented
2130         * HttpWebRequest.cs: started implementation
2131         * HttpWebResponse.cs: improved disposable routines
2132         * FileWebRequest.cs: slight improvement of Close method
2133         
2134 2002-05-19  Lawrence Pit <loz@cable.a2000.nl>
2135
2136         * FileWebRequest.cs: finished implementation of async methods.
2137         * FileWebResponse.cs: improved disposable routines.
2138         * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods, 
2139         byte ordering of address was backwards.
2140
2141 2002-05-13  Lawrence Pit <loz@cable.a2000.nl>
2142
2143         * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
2144         relying on standard asynchronous delegate features. Added checks for
2145         null strings.
2146         * HttpWebResponse.cs: implemented properties
2147         * FileWebResponse.cs: improved the way resources are disposed.
2148         * FileWebRequest.cs: started implementation of asynchronous methods
2149         * ServicePointManager.cs: implemented properties
2150
2151 2002-05-12  Lawrence Pit <loz@cable.a2000.nl>
2152
2153         * HttpWebRequest.cs: properties implemented
2154         * HttpWebResponse.cs: added
2155         * GlobalProxySelection.cs: implemented
2156         * FileWebResponse.cs: added
2157         * FileWebRequest.cs: some methods implemented
2158
2159 2002-05-11  Lawrence Pit <loz@cable.a2000.nl>
2160
2161         * WebHeaderCollection.cs: implemented
2162         * WebRequest.cs: implemented
2163         * FileWebRequest.cs and HttpWebRequest.cs stubs added
2164
2165 2002-05-09  Lawrence Pit <loz@cable.a2000.nl>
2166
2167         * Rewrote IPAddress.Parse method, passing all unit tests
2168
2169 2002-05-09  Lawrence Pit <loz@cable.a2000.nl>
2170
2171         * fixed bug in IPEndPoint.Equals method
2172         * fixed bug in IPAddress.Parse method
2173         * fixed bug in IPAddress.SwapLong method
2174         * fixed several bugs in Cookie.cs
2175
2176 2002-05-06  Lawrence Pit <loz@cable.a2000.nl>
2177
2178         * WebRequest.cs: added
2179         * WebResponse.cs: implemented
2180         * WebException.cs: implemented
2181         * WebHeaderCollection.cs: added
2182         * HttpVersion.cs: implemented
2183         * HttpContinueDelegate.cs: added
2184         * IWebProxy.cs: added
2185         * IWebRequestCreate.cs: added
2186         * ICertificatePolicy.cs: added
2187         * ServicePoint.cs: stubbed
2188         * ServicePointManager.cs: stubbed
2189         * CookieContainer.cs: added
2190         * Authorization.cs: implemented
2191
2192 2002-05-05  Lawrence Pit <loz@cable.a2000.nl>
2193
2194         * CredentialCache.cs: implemented
2195
2196 2002-05-05  Lawrence Pit <loz@cable.a2000.nl>
2197
2198         * IPAddress.cs: fixed IsLoopback, address was already in host order
2199
2200 2002-05-05  Lawrence Pit <loz@cable.a2000.nl>
2201
2202         * IPv6Address.cs: added (note: not part of .net spec)
2203
2204 2002-05-01  Lawrence Pit <loz@cable.a2000.nl>
2205
2206         * DnsPermission.cs: implemented
2207         * DnsPermissionAttribute.cs: implemented
2208
2209 2002-04-28  Lawrence Pit <loz@cable.a2000.nl>
2210
2211         * EndpointPermission.cs: implemented
2212         * SocketPermission.cs: implemented
2213         * SocketPermissionAttribute.cs: implemented
2214         * ProtocolViolationException.cs: implemented
2215         * Dns.c: passing w32 error code when no host found
2216
2217 2002-04-27  Lawrence Pit <loz@cable.a2000.nl>
2218
2219         * Cookie.cs: implemented
2220         * CookieCollection.cs: implemented
2221         * CookieException.cs: implemented
2222
2223 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2224
2225         * IPAddress.cs: initialize the read only fields with Parse().
2226
2227 2002-04-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2228
2229         * IPAddress.cs: little changes to behave as MS.
2230
2231 2002-04-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2232
2233         * Dns.cs (Resolve): behave as MS. Agreed with Mads.
2234
2235 2002-04-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2236
2237         * IPAddress.cs: the icalls for sockets are endianness-aware. So I
2238         changed a few things. Also included a workaround for bug #23547.
2239
2240 2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2241
2242         * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
2243         by Paolo) instead of guessing the endianness.
2244
2245         * SocketAddress.cs: implemented Equals() and GetHashcode().
2246         
2247 2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2248
2249         * IPEndPoint.cs: modifications to constructors according to the
2250         specifications (suggested by Lawrence Pit).
2251
2252 2002-04-15  Patrik Torstensson <patrik.torstensson@labs2.com>
2253
2254         * IPEndPoint.cs: Fixed build breaker.
2255
2256 2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2257
2258         * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
2259         complete.
2260
2261 2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262
2263         * IPAddress.cs: finished all MonoTODO's. Use network order to store 
2264         the address. Check for max and min values in Address:set. IsLoopback()
2265         returns now true for all 127.x.y.z. Some more checks in Parse ().
2266         Some changes to behave as MS does.
2267
2268 2002-02-24  Duncan Mak  <duncan@ximian.com>
2269
2270         * ICredentialLookup.cs: Added the GetCredential method to the
2271         interface. The interface is named "ICredentials", should this file
2272         be renamed?     
2273
2274         * NetworkCredential.cs: Added to CVS. Need to investigate on how
2275         GetCredential() works
2276
2277 2002-01-23  Dick Porter  <dick@ximian.com>
2278
2279         * SocketAddress.cs: Implemented.
2280
2281         * IPEndPoint.cs: Turned 'Address' field into a real property.
2282         Implemented Create() and Serialize() methods.
2283
2284         * IPAddress.cs: Fixed class constructor, turned 'Address' field
2285         into a real property. Removed undocumented "public
2286         IPAddress(string)" constructor.
2287
2288         * EndPoint.cs: Implemented.  All methods return
2289         NotSupportedException to enforce subclass overriding.
2290
2291         * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
2292         P/Invokes with portable internal calls.
2293
2294 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
2295
2296         * Dns.cs: Updated to API changes.
2297
2298         * IPAddress.cs: Updated API.  Much left to implement.
2299
2300         * Dns.cs: Remove IPToString method
2301
2302 2002-01-06  Ravi Pratap  <ravi@ximian.com>
2303
2304         * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
2305         attribute insertion.
2306
2307 2001-11-22  Nick Drochak <ndrochak@gol.com>
2308
2309         * IPAddress.cs: Fix constructor bug, properly name Address property,
2310         and use triple-slash for comments.
2311
2312 2001-11-20  Miguel de Icaza  <miguel@ximian.com>
2313
2314         * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
2315         None as suggested by Phillip.
2316
2317 2001-09-26  Mads Pultz <mpultz@get2net.dk>
2318         * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
2319
2320 2001-09-24  Mads Pultz <mpultz@get2net.dk>
2321
2322         * Dns.cs: Minor changes (some print statements removed)
2323
2324 2001-09-23  Mads Pultz <mpultz@get2net.dk>
2325
2326         * Dns.cs: Initial work submitted to repository.
2327         * IPHostEntry.cs: Initial work submitted to repository.
2328
2329 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
2330
2331         * Authorization.cs: Fixed compiler error.
2332
2333         * IAuthenticationModule.cs: Changes for Beta2.
2334
2335         * IPAddress.cs: Internal storage changed to be uint not int.
2336
2337         * IPEndPoint.cs: Fixed compiler error.
2338
2339         * EndPoint.cs: Fixed compiler error.
2340
2341         * AuthenticationManager.cs: Fixed typo.