ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  2. * WebConnection.cs: fixed header writing the reusing a connection and
  3. the server does not send 100-continue response.
  4. 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
  5. * WebConnection.cs: close the socket and connection when disposing.
  6. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
  7. when creating instances.
  8. * HttpWebRequest.cs:
  9. * HttpWebResponse.cs:
  10. * FileWebRequest.cs: support serialization.
  11. * FileWebResponse.cs: support serialization and fixed dispose checks.
  12. * FileWebRequestCreator.cs:
  13. * HttpRequestCreator.cs: added internal .ctor.
  14. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  15. * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
  16. called before asyncWrite.SetCompleted, to make sure that the waiting
  17. thread does not start to send more information before
  18. SendRequestHeaders has finished.
  19. 2003-06-22 Lluis Sanchez Gual <[email protected]>
  20. * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
  21. read is really needed.
  22. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  23. * WebHeaderCollection.cs: prevent duplication headers used niternally.
  24. 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
  25. * HttpWebRequest.cs: if CookieContainer has not been set, make
  26. HttpWebResponse ignore Set-Cookie* headers.
  27. * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
  28. CookieContainer have been provided to the request.
  29. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  30. * AuthenticationManager.cs: get the list of authentication modules from
  31. the configuration files. Added Clear and fixed Unregister.
  32. * BasicClient.cs: fully implemented.
  33. * HttpWebRequest.cs: added support for Basic authentication when
  34. credentials are set.
  35. * NetworkCredential.cs: fixed GetCredential.
  36. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  37. * HttpWebRequest.cs: *really* take care of requestSent to prevent
  38. sending the same request twice.
  39. * WebAsyncResult.cs: don't close the handle. Just Reset.
  40. * WebConnectionStream.cs: removed unneeded line.
  41. 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
  42. * HttpWebRequest.cs: use InternalClose when we are not going to send the
  43. rest of the request stream because of an error after sending the
  44. headers.
  45. * WebConnection.cs: check for completion after setting the response.
  46. Enable reading in NextRead.
  47. * WebConnectionStream.cs: re-fixed the count for partially buffered
  48. reads. If the network stream returns 0 bytes, we're done.
  49. 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
  50. * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
  51. special headers *after* the others.
  52. 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
  53. * WebConnectionStream.cs: when the read is partially filled from the
  54. initial buffer, add those bytes too. Thanks to Lluis for debugging this.
  55. 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
  56. * HttpWebRequest.cs: added ExpectContinue property.
  57. * WebConnection.cs: allow 100 Continue to be delayed after waiting for
  58. it.
  59. 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
  60. * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
  61. is known not to respond to that.
  62. * ServicePoint.cs: added SendContinue property.
  63. * WebConnection.cs: only wait 2 seconds for a continue reply. If it
  64. timeouts, set SendContinue to false and proceeed sending data.
  65. * WebConnectionStream.cs: if 100-continue is not received and instead we
  66. get a 417 or anything else, don't send the data.
  67. * WebClient.cs: implemented all missing properties and methods except
  68. UploadFile.
  69. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  70. * FileWebRequestCreator.cs: splitted from WebRequest.
  71. * HttpRequestCreator.cs: splitted fromWebRequest.
  72. * WebRequest.cs: added methods that are used by the new configuration
  73. handler to set prefix/type name requests creators.
  74. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  75. * AuthenticationManager.cs:
  76. * Authorization.cs:
  77. * BasicClient.cs: new file.
  78. * ChunkStream.cs: new file.
  79. * Cookie.cs:
  80. * CookieContainer.cs:
  81. * GlobalProxySelection.cs:
  82. * HttpWebRequest.cs:
  83. * HttpWebResponse.cs:
  84. * IAuthenticationModule.cs:
  85. * ServicePoint.cs:
  86. * ServicePointManager.cs:
  87. * WebAsyncResult.cs: new file.
  88. * WebConnection.cs: new file.
  89. * WebConnectionData.cs: new file.
  90. * WebConnectionGroup.cs: new file.
  91. * WebConnectionStream.cs: new file.
  92. * WebException.cs:
  93. * WebHeaderCollection.cs:
  94. * WebProxy.cs:
  95. * WebResponse.cs:
  96. Reworked HttpWebRequest and related classes.
  97. 2003-05-30 Miguel de Icaza <[email protected]>
  98. * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
  99. InternalServerError (500)
  100. 2003-05-29 Miguel de Icaza <[email protected]>
  101. * HttpWebRequest.cs (Close): Move the code that accumulates the
  102. output to Close from Flush. Flush could have been called in the
  103. middle of the processing, and would have generated invalid results
  104. (which it did).
  105. 2003-05-23 Zoltan Varga <[email protected]>
  106. * Dns.cs (GetHostByAddress): Return the local host when called with
  107. IF_ANY.
  108. 2003-04-29 Miguel de Icaza <[email protected]>
  109. * WebClient.cs (DownloadData): Close the underlyng stream.
  110. (DownloadFile): Use using, so the file gets closed.
  111. 2003-04-24 Miguel de Icaza <[email protected]>
  112. * WebClient.cs (DownloadData): Instead of using a MemoryStream,
  113. keep track of all the small chunks in an ArrayList. The
  114. MemoryStream had the property of reallocating itself, and the
  115. problem was that MemoryStream.GetBuffer would return the buffer
  116. (correctly), but not something of the right size. So clients of
  117. DownloadData would get the extra unused bytes as part of the
  118. result.
  119. The solution would have been to make another copy at this point,
  120. instead, we only keep the small allocations around in the
  121. ArrayList, and we only do one large allocation at the end.
  122. * HttpWebResponse.cs: If there is a Content-Length header, pass
  123. this information to our HttpWebResponseStream, so it knows when to
  124. stop, instead of waiting for the stream to be shut down by the
  125. other end.
  126. * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
  127. the underlying stream if the method will do a content transfer and
  128. no Content-Length was provided. If not (HEAD and GET or
  129. Content-Length provided), keep going.
  130. 2003-04-23 Miguel de Icaza <[email protected]>
  131. * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
  132. the ContentLength specified on the request. If that happens, we
  133. have to accumulate all the data written, and once we accumulate
  134. the data, we send it off.
  135. Notice that the documentation in .NET is actually incorrect, they
  136. state that setting ContentLength is mandatory. It is not.
  137. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  138. * HttpWebResponse.cs: fixes bug #41180.
  139. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  140. * HttpWebRequest.cs: throw an exception is the response code is >= 300.
  141. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  142. * HttpWebRequest.cs: implemented IDisposable, make the request stream
  143. read only. Changed the way of disposing the socket.
  144. * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
  145. handle chunked transfer encoding (no more hangs), added serialization
  146. stuff, call CheckDisposed at the beginning of methods/properties (not
  147. in a finally clause).
  148. 2003-02-17 Nick Drochak <[email protected]>
  149. * WebClient.cs : Implemented Credentials property.
  150. 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
  151. * SocketAddress.cs: byte 1 of the data is the high byte of the family,
  152. not the size.
  153. 2003-01-29 Atsushi Enomoto <[email protected]>
  154. * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
  155. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  156. * HttpWebRequest.cs: applied patch from Tim Haynes
  157. ([email protected]).
  158. Avoided double-sending of the request to the server when both
  159. GetRequestStream() and GetResponse() are called.
  160. System Header attributes survive the Headers attribute set.
  161. Added handling of Connection: KeepAlive/Close
  162. 2002-10-03 Dick Porter <[email protected]>
  163. * Dns.cs: Fixed GetHostName()
  164. 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
  165. * HttpWebRequest.cs:
  166. * HttpWebResponse.cs: applied another patch from Shahms E. King
  167. ([email protected]).
  168. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  169. * HttpWebRequest.cs:
  170. * HttpWebResponse.cs: applied patch from Shahms E. King
  171. ([email protected]).
  172. 2002-05-29 Lawrence Pit <[email protected]>
  173. * MonoHttpDate.cs: added
  174. * HttpWebRequest.cs: using MonoHttpDate
  175. * HttpWebResponse.cs: using MonoHttpDate
  176. * DnsPermission.cs: correct XML output
  177. * SocketPermission.cs: correct XML output
  178. 2002-05-21 Lawrence Pit <[email protected]>
  179. * WebClient.cs: stubbed
  180. * WebProxy.cs: fixed bug; had to change internal representation
  181. of bypasslist to ArrayList, different implementation of checking
  182. regex's.
  183. 2002-05-20 Lawrence Pit <[email protected]>
  184. * WebProxy.cs: added, implemented
  185. * ServicePoint.cs: implemented most
  186. * ServicePointManager.cs: implemented
  187. * HttpWebRequest.cs: started implementation
  188. * HttpWebResponse.cs: improved disposable routines
  189. * FileWebRequest.cs: slight improvement of Close method
  190. 2002-05-19 Lawrence Pit <[email protected]>
  191. * FileWebRequest.cs: finished implementation of async methods.
  192. * FileWebResponse.cs: improved disposable routines.
  193. * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
  194. byte ordering of address was backwards.
  195. 2002-05-13 Lawrence Pit <[email protected]>
  196. * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
  197. relying on standard asynchronous delegate features. Added checks for
  198. null strings.
  199. * HttpWebResponse.cs: implemented properties
  200. * FileWebResponse.cs: improved the way resources are disposed.
  201. * FileWebRequest.cs: started implementation of asynchronous methods
  202. * ServicePointManager.cs: implemented properties
  203. 2002-05-12 Lawrence Pit <[email protected]>
  204. * HttpWebRequest.cs: properties implemented
  205. * HttpWebResponse.cs: added
  206. * GlobalProxySelection.cs: implemented
  207. * FileWebResponse.cs: added
  208. * FileWebRequest.cs: some methods implemented
  209. 2002-05-11 Lawrence Pit <[email protected]>
  210. * WebHeaderCollection.cs: implemented
  211. * WebRequest.cs: implemented
  212. * FileWebRequest.cs and HttpWebRequest.cs stubs added
  213. 2002-05-09 Lawrence Pit <[email protected]>
  214. * Rewrote IPAddress.Parse method, passing all unit tests
  215. 2002-05-09 Lawrence Pit <[email protected]>
  216. * fixed bug in IPEndPoint.Equals method
  217. * fixed bug in IPAddress.Parse method
  218. * fixed bug in IPAddress.SwapLong method
  219. * fixed several bugs in Cookie.cs
  220. 2002-05-06 Lawrence Pit <[email protected]>
  221. * WebRequest.cs: added
  222. * WebResponse.cs: implemented
  223. * WebException.cs: implemented
  224. * WebHeaderCollection.cs: added
  225. * HttpVersion.cs: implemented
  226. * HttpContinueDelegate.cs: added
  227. * IWebProxy.cs: added
  228. * IWebRequestCreate.cs: added
  229. * ICertificatePolicy.cs: added
  230. * ServicePoint.cs: stubbed
  231. * ServicePointManager.cs: stubbed
  232. * CookieContainer.cs: added
  233. * Authorization.cs: implemented
  234. 2002-05-05 Lawrence Pit <[email protected]>
  235. * CredentialCache.cs: implemented
  236. 2002-05-05 Lawrence Pit <[email protected]>
  237. * IPAddress.cs: fixed IsLoopback, address was already in host order
  238. 2002-05-05 Lawrence Pit <[email protected]>
  239. * IPv6Address.cs: added (note: not part of .net spec)
  240. 2002-05-01 Lawrence Pit <[email protected]>
  241. * DnsPermission.cs: implemented
  242. * DnsPermissionAttribute.cs: implemented
  243. 2002-04-28 Lawrence Pit <[email protected]>
  244. * EndpointPermission.cs: implemented
  245. * SocketPermission.cs: implemented
  246. * SocketPermissionAttribute.cs: implemented
  247. * ProtocolViolationException.cs: implemented
  248. * Dns.c: passing w32 error code when no host found
  249. 2002-04-27 Lawrence Pit <[email protected]>
  250. * Cookie.cs: implemented
  251. * CookieCollection.cs: implemented
  252. * CookieException.cs: implemented
  253. 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
  254. * IPAddress.cs: initialize the read only fields with Parse().
  255. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  256. * IPAddress.cs: little changes to behave as MS.
  257. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  258. * Dns.cs (Resolve): behave as MS. Agreed with Mads.
  259. 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
  260. * IPAddress.cs: the icalls for sockets are endianness-aware. So I
  261. changed a few things. Also included a workaround for bug #23547.
  262. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  263. * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
  264. by Paolo) instead of guessing the endianness.
  265. * SocketAddress.cs: implemented Equals() and GetHashcode().
  266. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  267. * IPEndPoint.cs: modifications to constructors according to the
  268. specifications (suggested by Lawrence Pit).
  269. 2002-04-15 Patrik Torstensson <[email protected]>
  270. * IPEndPoint.cs: Fixed build breaker.
  271. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  272. * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
  273. complete.
  274. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  275. * IPAddress.cs: finished all MonoTODO's. Use network order to store
  276. the address. Check for max and min values in Address:set. IsLoopback()
  277. returns now true for all 127.x.y.z. Some more checks in Parse ().
  278. Some changes to behave as MS does.
  279. 2002-02-24 Duncan Mak <[email protected]>
  280. * ICredentialLookup.cs: Added the GetCredential method to the
  281. interface. The interface is named "ICredentials", should this file
  282. be renamed?
  283. * NetworkCredential.cs: Added to CVS. Need to investigate on how
  284. GetCredential() works
  285. 2002-01-23 Dick Porter <[email protected]>
  286. * SocketAddress.cs: Implemented.
  287. * IPEndPoint.cs: Turned 'Address' field into a real property.
  288. Implemented Create() and Serialize() methods.
  289. * IPAddress.cs: Fixed class constructor, turned 'Address' field
  290. into a real property. Removed undocumented "public
  291. IPAddress(string)" constructor.
  292. * EndPoint.cs: Implemented. All methods return
  293. NotSupportedException to enforce subclass overriding.
  294. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
  295. P/Invokes with portable internal calls.
  296. 2002-01-17 Miguel de Icaza <[email protected]>
  297. * Dns.cs: Updated to API changes.
  298. * IPAddress.cs: Updated API. Much left to implement.
  299. * Dns.cs: Remove IPToString method
  300. 2002-01-06 Ravi Pratap <[email protected]>
  301. * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
  302. attribute insertion.
  303. 2001-11-22 Nick Drochak <[email protected]>
  304. * IPAddress.cs: Fix constructor bug, properly name Address property,
  305. and use triple-slash for comments.
  306. 2001-11-20 Miguel de Icaza <[email protected]>
  307. * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
  308. None as suggested by Phillip.
  309. 2001-09-26 Mads Pultz <[email protected]>
  310. * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
  311. 2001-09-24 Mads Pultz <[email protected]>
  312. * Dns.cs: Minor changes (some print statements removed)
  313. 2001-09-23 Mads Pultz <[email protected]>
  314. * Dns.cs: Initial work submitted to repository.
  315. * IPHostEntry.cs: Initial work submitted to repository.
  316. 2001-07-12 Sean MacIsaac <[email protected]>
  317. * Authorization.cs: Fixed compiler error.
  318. * IAuthenticationModule.cs: Changes for Beta2.
  319. * IPAddress.cs: Internal storage changed to be uint not int.
  320. * IPEndPoint.cs: Fixed compiler error.
  321. * EndPoint.cs: Fixed compiler error.
  322. * AuthenticationManager.cs: Fixed typo.