1 2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * FileWebRequestCreator.cs: splitted from WebRequest.
4 * HttpRequestCreator.cs: splitted fromWebRequest.
5 * WebRequest.cs: added methods that are used by the new configuration
6 handler to set prefix/type name requests creators.
8 2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
10 * AuthenticationManager.cs:
12 * BasicClient.cs: new file.
13 * ChunkStream.cs: new file.
16 * GlobalProxySelection.cs:
19 * IAuthenticationModule.cs:
21 * ServicePointManager.cs:
22 * WebAsyncResult.cs: new file.
23 * WebConnection.cs: new file.
24 * WebConnectionData.cs: new file.
25 * WebConnectionGroup.cs: new file.
26 * WebConnectionStream.cs: new file.
28 * WebHeaderCollection.cs:
32 Reworked HttpWebRequest and related classes.
34 2003-05-30 Miguel de Icaza <miguel@ximian.com>
36 * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
37 InternalServerError (500)
39 2003-05-29 Miguel de Icaza <miguel@ximian.com>
41 * HttpWebRequest.cs (Close): Move the code that accumulates the
42 output to Close from Flush. Flush could have been called in the
43 middle of the processing, and would have generated invalid results
46 2003-05-23 Zoltan Varga <vargaz@freemail.hu>
48 * Dns.cs (GetHostByAddress): Return the local host when called with
51 2003-04-29 Miguel de Icaza <miguel@ximian.com>
53 * WebClient.cs (DownloadData): Close the underlyng stream.
54 (DownloadFile): Use using, so the file gets closed.
56 2003-04-24 Miguel de Icaza <miguel@ximian.com>
58 * WebClient.cs (DownloadData): Instead of using a MemoryStream,
59 keep track of all the small chunks in an ArrayList. The
60 MemoryStream had the property of reallocating itself, and the
61 problem was that MemoryStream.GetBuffer would return the buffer
62 (correctly), but not something of the right size. So clients of
63 DownloadData would get the extra unused bytes as part of the
66 The solution would have been to make another copy at this point,
67 instead, we only keep the small allocations around in the
68 ArrayList, and we only do one large allocation at the end.
70 * HttpWebResponse.cs: If there is a Content-Length header, pass
71 this information to our HttpWebResponseStream, so it knows when to
72 stop, instead of waiting for the stream to be shut down by the
75 * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
76 the underlying stream if the method will do a content transfer and
77 no Content-Length was provided. If not (HEAD and GET or
78 Content-Length provided), keep going.
80 2003-04-23 Miguel de Icaza <miguel@ximian.com>
82 * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
83 the ContentLength specified on the request. If that happens, we
84 have to accumulate all the data written, and once we accumulate
85 the data, we send it off.
87 Notice that the documentation in .NET is actually incorrect, they
88 state that setting ContentLength is mandatory. It is not.
90 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
92 * HttpWebResponse.cs: fixes bug #41180.
94 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * HttpWebRequest.cs: throw an exception is the response code is >= 300.
98 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100 * HttpWebRequest.cs: implemented IDisposable, make the request stream
101 read only. Changed the way of disposing the socket.
103 * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
104 handle chunked transfer encoding (no more hangs), added serialization
105 stuff, call CheckDisposed at the beginning of methods/properties (not
106 in a finally clause).
108 2003-02-17 Nick Drochak <ndrochak@gol.com>
110 * WebClient.cs : Implemented Credentials property.
112 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
114 * SocketAddress.cs: byte 1 of the data is the high byte of the family,
117 2003-01-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
119 * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
121 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * HttpWebRequest.cs: applied patch from Tim Haynes
124 (thaynes@openlinksw.com).
126 Avoided double-sending of the request to the server when both
127 GetRequestStream() and GetResponse() are called.
128 System Header attributes survive the Headers attribute set.
129 Added handling of Connection: KeepAlive/Close
131 2002-10-03 Dick Porter <dick@ximian.com>
133 * Dns.cs: Fixed GetHostName()
135 2002-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138 * HttpWebResponse.cs: applied another patch from Shahms E. King
141 2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * HttpWebResponse.cs: applied patch from Shahms E. King
147 2002-05-29 Lawrence Pit <loz@cable.a2000.nl>
149 * MonoHttpDate.cs: added
150 * HttpWebRequest.cs: using MonoHttpDate
151 * HttpWebResponse.cs: using MonoHttpDate
152 * DnsPermission.cs: correct XML output
153 * SocketPermission.cs: correct XML output
155 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
157 * WebClient.cs: stubbed
158 * WebProxy.cs: fixed bug; had to change internal representation
159 of bypasslist to ArrayList, different implementation of checking
162 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
164 * WebProxy.cs: added, implemented
165 * ServicePoint.cs: implemented most
166 * ServicePointManager.cs: implemented
167 * HttpWebRequest.cs: started implementation
168 * HttpWebResponse.cs: improved disposable routines
169 * FileWebRequest.cs: slight improvement of Close method
171 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
173 * FileWebRequest.cs: finished implementation of async methods.
174 * FileWebResponse.cs: improved disposable routines.
175 * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
176 byte ordering of address was backwards.
178 2002-05-13 Lawrence Pit <loz@cable.a2000.nl>
180 * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
181 relying on standard asynchronous delegate features. Added checks for
183 * HttpWebResponse.cs: implemented properties
184 * FileWebResponse.cs: improved the way resources are disposed.
185 * FileWebRequest.cs: started implementation of asynchronous methods
186 * ServicePointManager.cs: implemented properties
188 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
190 * HttpWebRequest.cs: properties implemented
191 * HttpWebResponse.cs: added
192 * GlobalProxySelection.cs: implemented
193 * FileWebResponse.cs: added
194 * FileWebRequest.cs: some methods implemented
196 2002-05-11 Lawrence Pit <loz@cable.a2000.nl>
198 * WebHeaderCollection.cs: implemented
199 * WebRequest.cs: implemented
200 * FileWebRequest.cs and HttpWebRequest.cs stubs added
202 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
204 * Rewrote IPAddress.Parse method, passing all unit tests
206 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
208 * fixed bug in IPEndPoint.Equals method
209 * fixed bug in IPAddress.Parse method
210 * fixed bug in IPAddress.SwapLong method
211 * fixed several bugs in Cookie.cs
213 2002-05-06 Lawrence Pit <loz@cable.a2000.nl>
215 * WebRequest.cs: added
216 * WebResponse.cs: implemented
217 * WebException.cs: implemented
218 * WebHeaderCollection.cs: added
219 * HttpVersion.cs: implemented
220 * HttpContinueDelegate.cs: added
221 * IWebProxy.cs: added
222 * IWebRequestCreate.cs: added
223 * ICertificatePolicy.cs: added
224 * ServicePoint.cs: stubbed
225 * ServicePointManager.cs: stubbed
226 * CookieContainer.cs: added
227 * Authorization.cs: implemented
229 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
231 * CredentialCache.cs: implemented
233 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
235 * IPAddress.cs: fixed IsLoopback, address was already in host order
237 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
239 * IPv6Address.cs: added (note: not part of .net spec)
241 2002-05-01 Lawrence Pit <loz@cable.a2000.nl>
243 * DnsPermission.cs: implemented
244 * DnsPermissionAttribute.cs: implemented
246 2002-04-28 Lawrence Pit <loz@cable.a2000.nl>
248 * EndpointPermission.cs: implemented
249 * SocketPermission.cs: implemented
250 * SocketPermissionAttribute.cs: implemented
251 * ProtocolViolationException.cs: implemented
252 * Dns.c: passing w32 error code when no host found
254 2002-04-27 Lawrence Pit <loz@cable.a2000.nl>
256 * Cookie.cs: implemented
257 * CookieCollection.cs: implemented
258 * CookieException.cs: implemented
260 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262 * IPAddress.cs: initialize the read only fields with Parse().
264 2002-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
266 * IPAddress.cs: little changes to behave as MS.
268 2002-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
270 * Dns.cs (Resolve): behave as MS. Agreed with Mads.
272 2002-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * IPAddress.cs: the icalls for sockets are endianness-aware. So I
275 changed a few things. Also included a workaround for bug #23547.
277 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
280 by Paolo) instead of guessing the endianness.
282 * SocketAddress.cs: implemented Equals() and GetHashcode().
284 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * IPEndPoint.cs: modifications to constructors according to the
287 specifications (suggested by Lawrence Pit).
289 2002-04-15 Patrik Torstensson <patrik.torstensson@labs2.com>
291 * IPEndPoint.cs: Fixed build breaker.
293 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
298 2002-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * IPAddress.cs: finished all MonoTODO's. Use network order to store
301 the address. Check for max and min values in Address:set. IsLoopback()
302 returns now true for all 127.x.y.z. Some more checks in Parse ().
303 Some changes to behave as MS does.
305 2002-02-24 Duncan Mak <duncan@ximian.com>
307 * ICredentialLookup.cs: Added the GetCredential method to the
308 interface. The interface is named "ICredentials", should this file
311 * NetworkCredential.cs: Added to CVS. Need to investigate on how
312 GetCredential() works
314 2002-01-23 Dick Porter <dick@ximian.com>
316 * SocketAddress.cs: Implemented.
318 * IPEndPoint.cs: Turned 'Address' field into a real property.
319 Implemented Create() and Serialize() methods.
321 * IPAddress.cs: Fixed class constructor, turned 'Address' field
322 into a real property. Removed undocumented "public
323 IPAddress(string)" constructor.
325 * EndPoint.cs: Implemented. All methods return
326 NotSupportedException to enforce subclass overriding.
328 * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
329 P/Invokes with portable internal calls.
331 2002-01-17 Miguel de Icaza <miguel@ximian.com>
333 * Dns.cs: Updated to API changes.
335 * IPAddress.cs: Updated API. Much left to implement.
337 * Dns.cs: Remove IPToString method
339 2002-01-06 Ravi Pratap <ravi@ximian.com>
341 * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
344 2001-11-22 Nick Drochak <ndrochak@gol.com>
346 * IPAddress.cs: Fix constructor bug, properly name Address property,
347 and use triple-slash for comments.
349 2001-11-20 Miguel de Icaza <miguel@ximian.com>
351 * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
352 None as suggested by Phillip.
354 2001-09-26 Mads Pultz <mpultz@get2net.dk>
355 * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
357 2001-09-24 Mads Pultz <mpultz@get2net.dk>
359 * Dns.cs: Minor changes (some print statements removed)
361 2001-09-23 Mads Pultz <mpultz@get2net.dk>
363 * Dns.cs: Initial work submitted to repository.
364 * IPHostEntry.cs: Initial work submitted to repository.
366 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
368 * Authorization.cs: Fixed compiler error.
370 * IAuthenticationModule.cs: Changes for Beta2.
372 * IPAddress.cs: Internal storage changed to be uint not int.
374 * IPEndPoint.cs: Fixed compiler error.
376 * EndPoint.cs: Fixed compiler error.
378 * AuthenticationManager.cs: Fixed typo.