ChangeLog 17 KB

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