ChangeLog 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990
  1. 2006-11-13 Gonzalo Paniagua Javier <[email protected]>
  2. * HttpWebResponse.cs: cookies are actually added to the request
  3. container if any. Fixes bug #79821.
  4. 2006-11-02 Michael Hutchinson <[email protected]>
  5. * WebRequest.cs: more closely follow MS behaviour: use system settings
  6. unless told otherwise, and respect app.config.
  7. 2006-11-01 Michael Hutchinson <[email protected]>
  8. * GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0
  9. profile, and move code to new property WebRequest.DefaultWebProxy.
  10. * WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
  11. Add support for config option UseSystemDefault using simplistic
  12. implementation of new 2.0 method GetSystemWebProxy ().
  13. 2006-10-30 Atsushi Enomoto <[email protected]>
  14. * FtpWebRequest.cs : more build fixes.
  15. 2006-10-30 Gonzalo Paniagua Javier <[email protected]>
  16. * EndPointListener.cs: update comment and avoid exception when the
  17. program is exiting.
  18. 2006-10-30 Miguel de Icaza <[email protected]>
  19. * WebRequestMethods.cs: Another typo fix.
  20. * ServicePointManager.cs: Set the default properly.
  21. * SecurityProtocolType.cs: Remove non-existant defines.
  22. 2006-10-04 Gonzalo Paniagua Javier <[email protected]>
  23. * HttpWebRequest.cs: internally allow buffer if it's not a known
  24. GET-only method instead of enabling that only for POST/PUT. Fixes bug
  25. #79595.
  26. 2006-09-28 Andrew Skiba <[email protected]>
  27. * WebConnection.cs: TARGET_JVM
  28. 2006-09-28 Gonzalo Paniagua Javier <[email protected]>
  29. * WebException.cs: patch by Andrew Skiba that fixes serialization
  30. compatibility with .NET and the default value for status.
  31. 2006-09-28 Andrew Skiba <[email protected]>
  32. * Dns.cs: TARGET_JVM
  33. 2006-09-15 Gonzalo Paniagua Javier <[email protected]>
  34. * CookieContainer.cs: send the cookies from the collection we got for
  35. the given URI, not the whole collection.
  36. * HttpWebResponse.cs: only add the cookies to this instance, not to the
  37. cookie container set in the request.
  38. 2006-09-11 Sebastien Pouliot <[email protected]>
  39. * WebConnection.cs: Patch to remove the hack that was required for
  40. using the older versions of the SSL/TLS classes. This hack is no more
  41. required :-). Patch by Gonzalo Paniagua Javier.
  42. 2006-08-30 Gonzalo Paniagua Javier <[email protected]>
  43. * HttpConnection.cs: when the content length is available, keep it
  44. updated after synchronous read. Renamed 'available' to 'remaining_body'.
  45. * RequestStream.cs: when creating the stream, pass the remaining length
  46. starting from the offset in the buffer.
  47. 2006-08-30 Gonzalo Paniagua Javier <[email protected]>
  48. * RequestStream.cs: make sure we return 0 when no more bytes left.
  49. Paticularly, when we have a content length and the whole response is
  50. buffered.
  51. 2006-08-20 Miguel de Icaza <[email protected]>
  52. * RequestStream.cs (Read): A bug fix for #79112 and what I
  53. consider to be an important change.
  54. The bug fix is that we update the "available" variable as soon as
  55. we consume data from Read, this means that a second call into Read
  56. wont block. Available was only being updated on a secondary code
  57. path, now we alwaysupdate it after using FillFromBuffer.
  58. The second component is what I believe the right behavior should
  59. be. There was a check for "if count > available" that set count
  60. to available in that case. The idea was to limit the data read
  61. from the buffer that belonged to this particular request, to allow
  62. pipelining.
  63. But this test was done after FillFromBuffer, which assumed that
  64. all the data held in the buffer (the one used by FillFromBuffer)
  65. must belong to the this request, and only future data did not.
  66. I think my change is correct, but it assumes that the initialized
  67. RequestStream will be used for other pipelined HTTP requests,
  68. which is not something am 100% sure of, so Gonzalo needs to check
  69. this.
  70. 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
  71. * Cookie.cs: avoid nullref in GetHashCode and Equals.
  72. 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
  73. * CookieCollection.cs:
  74. * CookieContainer.cs: remove expired cookies.
  75. 2006-07-07 Atsushi Enomoto <[email protected]>
  76. * Dns.cs : (GetHostEntry) when passed IP addresses, it does not issue
  77. query to DNS. Patch by Petri Latvala.
  78. 2006-07-03 Gonzalo Paniagua Javier <[email protected]>
  79. * CookieContainer.cs: don't send a secure cookie over an insecure
  80. channel.
  81. 2006-06-02 Gonzalo Paniagua Javier <[email protected]>
  82. * WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
  83. that starts with 127 are special.
  84. 2006-05-24 Gonzalo Paniagua Javier <[email protected]>
  85. * HttpListener.cs: Fixes race condition in BeginGetContext. Patch by
  86. Pawel Sakowski that fixes bug #78365.
  87. 2006-05-09 Atsushi Enomoto <[email protected]>
  88. * ServicePointManager.cs : oops, CONFIGURATION_DEP.
  89. 2006-05-09 Atsushi Enomoto <[email protected]>
  90. * GlobalProxySelection.cs : if corresponding config section is
  91. DefaultProxySection then use it.
  92. 2006-05-09 Atsushi Enomoto <[email protected]>
  93. * WebRequest.cs : if corresponding config section is
  94. WebRequestModulesSection then use it.
  95. 2006-05-09 Atsushi Enomoto <[email protected]>
  96. * ServicePointManager.cs : if corresponding config section is
  97. ConnectionManagementSection then use it.
  98. 2006-05-06 Gonzalo Paniagua Javier <[email protected]>
  99. * ResponseStream.cs:
  100. * HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
  101. Closes bug #78316.
  102. 2006-05-05 Gonzalo Paniagua Javier <[email protected]>
  103. * CredentialCache.cs: added DefaultNetworkCredentials.
  104. 2006-05-05 Gonzalo Paniagua Javier <[email protected]>
  105. * NetworkCredential.cs: implement ICredentialsByHost interface.
  106. 2006-04-27 Gonzalo Paniagua Javier <[email protected]>
  107. * WebConnection.cs: reset the challenge and the status code when
  108. creating the tunnel and sending the proxy auth. headers. Improve error
  109. message when there's an error creating the tunnel.
  110. * HttpWebRequest.cs: don't trigger an early throw for a POST that gets
  111. a 401 or 407 response.
  112. 2006-04-26 Gonzalo Paniagua Javier <[email protected]>
  113. * WebConnectionData.cs:
  114. * WebConnection.cs:
  115. * HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
  116. we were not handling a proxy authentication request. Fixes bug #78150
  117. take 2.
  118. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  119. * WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
  120. This fixes bug #78150. Also fix the bypass check for local requests.
  121. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  122. * WebProxy.cs: removed bogus ^M.
  123. 2006-04-06 Gonzalo Paniagua Javier <[email protected]>
  124. * HttpWebResponse.cs: don't remove the Set-Cookie headers. Fixes bug
  125. #78028.
  126. 2006-04-04 Atsushi Enomoto <[email protected]>
  127. * WebClient.cs : added a bunch of async method support.
  128. 2006-04-03 Chris Toshok <[email protected]>
  129. * HttpWebResponse.cs (ContentEncoding): return "" if the header
  130. isn't present.
  131. 2006-03-30 Atsushi Enomoto <[email protected]>
  132. * DownloadStringCompletedEventHandler.cs : missing delegate.
  133. 2006-03-30 Atsushi Enomoto <[email protected]>
  134. * Dns.cs : minor argument renaming.
  135. 2006-03-28 Atsushi Enomoto <[email protected]>
  136. * DownloadDataCompletedEventArgs.cs
  137. DownloadDataCompletedEventHandler.cs
  138. DownloadProgressChangedEventArgs.cs
  139. DownloadProgressChangedEventHandler.cs
  140. DownloadStringCompletedEventArgs.cs
  141. OpenReadCompletedEventArgs.cs
  142. OpenReadCompletedEventHandler.cs
  143. OpenWriteCompletedEventArgs.cs
  144. OpenWriteCompletedEventHandler.cs
  145. UploadDataCompletedEventArgs.cs
  146. UploadDataCompletedEventHandler.cs
  147. UploadFileCompletedEventArgs.cs
  148. UploadFileCompletedEventHandler.cs
  149. UploadProgressChangedEventArgs.cs
  150. UploadProgressChangedEventHandler.cs
  151. UploadStringCompletedEventArgs.cs
  152. UploadStringCompletedEventHandler.cs
  153. UploadValuesCompletedEventArgs.cs
  154. UploadValuesCompletedEventHandler.cs : added 2.0 types.
  155. 2006-03-28 Atsushi Enomoto <[email protected]>
  156. * Dns.cs : filled missing NET_2_0 members.
  157. 2006-03-28 Atsushi Enomoto <[email protected]>
  158. * IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
  159. run-test. Those IPv6 properties needed to be reimplemented.
  160. 2006-03-27 Atsushi Enomoto <[email protected]>
  161. * IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.
  162. 2006-03-16 Gonzalo Paniagua Javier <[email protected]>
  163. * WebConnectionStream.cs: avoid Begin/EndWrite when the body length is
  164. zero.
  165. 2006-03-13 Gonzalo Paniagua Javier <[email protected]>
  166. * HttpWebRequest.cs: send the request if ContentLength is set for
  167. POST/PUT, the request stream has that exact amount of bytes in it and
  168. we're trying to get the response stream.
  169. This way, closing the request stream is not needed in order to actually
  170. send the request. Fixes bug #77753.
  171. * WebConnectionStream.cs: throw if the number of bytes written is
  172. greater than the specified request content length.
  173. 2006-03-11 Miguel de Icaza <[email protected]>
  174. * WebClient.cs: Only expose the right methods to avoid warnings.
  175. * FtpDataStream.cs (Dispose): Fix signature.
  176. * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
  177. like we are missing features here).
  178. * IPAddress.cs: Move m_HashCode property to the end, and set
  179. pragmas to disable warnings.
  180. 2006-02-16 Dick Porter <[email protected]>
  181. * IPEndPoint.cs: The SocketAddress AddressFamily takes up the
  182. first two bytes, not just one. Check the size of the
  183. SocketAddress buffer for IPv6 as well.
  184. * Dns.cs: Cope when GetHostByName_internal or
  185. GetHostByAddr_internal returns fewer items in the array than it
  186. intended to (maybe due to conversion errors.)
  187. 2006-02-09 Carlos Alberto Cortez <[email protected]>
  188. * FtpWebResponse.cs: Add UpdateStatus method, to update both
  189. statusCode and statusDescription at the same time.
  190. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  191. * FtpWebRequest.cs: Remove WebExceptionStatus argument
  192. from CreateExceptionFromResponse, since exceptions gotten
  193. from server response always have a WebExceptionStatus.ProtocolError
  194. value.
  195. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  196. * FtpWebRequest.cs: Add renaming support when using
  197. WebRequestMethods.Ftp.Rename method.
  198. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  199. * ChunkedInputStream.cs:
  200. * ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
  201. Sakowski.
  202. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  203. * HttpWebRequest.cs: don't send the expect-100 if if there's no content.
  204. * HttpListenerRequest.cs:
  205. * HttpConnection.cs:
  206. * RequestStream.cs: use the content length header to avoid reading past
  207. the end of the stream.
  208. Patch by Horst Reiterer.
  209. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  210. * FtpWebRequest.cs: Add supportedCommands array with the sorted
  211. methods, to search using Array.BinarySearch. Remove CheckMethod.
  212. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  213. * FtpWebRequest.cs: Fixed some typos and small issues.
  214. 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
  215. * HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
  216. property.
  217. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  218. * FtpRequestCreator.cs:
  219. * FtpAsyncResult.cs:
  220. * FtpDataStream.cs:
  221. * FtpWebRequest.cs:
  222. * FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
  223. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  224. * FtpStatusCode.cs: Fix a typo.
  225. 2006-01-26 Gonzalo Paniagua Javier <[email protected]>
  226. * WebClient.cs: (2.0) UploadString() returns string, not void.
  227. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  228. * HttpWebResponse.cs: ignore non-integer values for max-age and version.
  229. Fixes bug #77199. Thanks to Cyrille Colin.
  230. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  231. * HttpWebResponse.cs: cope with malformed cookies with '=' as value.
  232. Patch by Cyrille Colin. Fixes bug #77179.
  233. 2005-12-25 Carlos Alberto Cortez <[email protected]>
  234. * FtpStatusCode.cs: New 2.0 enum.
  235. 2005-12-09 Gonzalo Paniagua Javier <[email protected]>
  236. * CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
  237. Colin.
  238. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  239. * HttpWebResponse.cs: don't loop forever when no name or value between
  240. semicolons. Fixes bug #76943.
  241. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  242. * HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
  243. without a value. Fixes bug #76922.
  244. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  245. * EndPointListener.cs:
  246. * HttpListenerRequest.cs: don't require the Host header for 1.0. Just
  247. map that to the '*' or '+' host.
  248. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  249. * IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
  250. Fixes bug #76792.
  251. 2005-11-21 Senganal T <[email protected]>
  252. * Dns.cs : corrected a mistake in GetHostEntry ()
  253. 2005-11-21 Senganal T <[email protected]>
  254. * Dns.cs : added GetHostEntry() method for 2.0 api conformance
  255. 2005-11-18 Gonzalo Paniagua Javier <[email protected]>
  256. * HttpRequestHeader.cs: add missing values.
  257. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  258. * HttpListenerPrefixCollection.cs:
  259. * HttpWebResponse.cs:
  260. * Dns.cs:
  261. * HttpListenerRequest.cs:
  262. * HttpWebRequest.cs:
  263. * HttpListenerResponse.cs: a few signature fixes for 2.0.
  264. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  265. * HttpListenerPrefixCollection.cs:
  266. * EndPointListener.cs:
  267. * HttpStreamAsyncResult.cs:
  268. * HttpListenerContext.cs:
  269. * HttpListenerBasicIdentity.cs:
  270. * AuthenticationSchemeSelector.cs:
  271. * HttpListener.cs:
  272. * WebHeaderCollection.cs:
  273. * ListenerPrefix.cs:
  274. * HttpListenerException.cs:
  275. * HttpResponseHeader.cs:
  276. * EndPointManager.cs:
  277. * HttpListenerRequest.cs:
  278. * HttpRequestHeader.cs:
  279. * BindIPEndPoint.cs:
  280. * ResponseStream.cs:
  281. * ChunkedInputStream.cs:
  282. * HttpStatusCode.cs:
  283. * ListenerAsyncResult.cs:
  284. * ChunkStream.cs:
  285. * HttpConnection.cs:
  286. * HttpUtility.cs:
  287. * HttpListenerResponse.cs:
  288. * RequestStream.cs: initial implementation of HttpListener. There are
  289. a few TODOs left (cookies, HTTPS) but almost everything else is in.
  290. 2005-11-15 Sebastien Pouliot <[email protected]>
  291. * IPv6Address.cs: Added on overload to ToString to get a the full
  292. length address returned (as required by System.Uri).
  293. 2005-11-15 Carlos Alberto Cortez <[email protected]>
  294. * WebRequestMethods.cs: New 2.0 class.
  295. 2005-11-05 Atsushi Enomoto <[email protected]>
  296. * WebClient: use POST for DownloadData(). Fixed bug #76631.
  297. 2005-10-26 Atsushi Enomoto <[email protected]>
  298. * AuthenticationSchemes.cs : Fixed enum values and added [Flags].
  299. 2005-10-19 Atsushi Enomoto <[email protected]>
  300. * WebClient.cs : added net_2_0 DownloadString() and DownloadData()
  301. with HTTP method as well.
  302. 2005-10-19 Atsushi Enomoto <[email protected]>
  303. * WebClient.cs : added UploadString() and Encoding (net_2_0). Added
  304. some new overloaded stuff that takes Uri instead of string address.
  305. 2005-10-17 Sebastien Pouliot <[email protected]>
  306. * ICredentialPolicy.cs: New. Interface for 2.0.
  307. 2005-10-05 Atsushi Enomoto <[email protected]>
  308. * AuthenticationSchemes.cs : new 2.0 enum.
  309. 2005-08-27 Gonzalo Paniagua Javier <[email protected]>
  310. * GlobalProxySelection.cs: remove double lock.
  311. * HttpWebRequest.cs: remove double lock in GetServicePoint() and use
  312. a private object when locking.
  313. 2005-07-15 Miguel de Icaza <[email protected]>
  314. * DigestClient.cs: Fix bug #75556, the qop argument must be
  315. quoted, per http://www.faqs.org/rfcs/rfc2617.html section
  316. `quo-options'.
  317. 2005-07-03 Gonzalo Paniagua Javier <[email protected]>
  318. * WebConnectionStream.cs: initiate writing the body before trying to
  319. read. This fixes the performance problems observed in web services.
  320. Closes bug #75455.
  321. 2005-06-27 Lluis Sanchez Gual <[email protected]>
  322. * IPAddress.cs: Changed field names for the sake of serialization
  323. interoperability with MS.NET.
  324. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  325. * WebConnection.cs: if cnc.EndRead throws, mark the asyncresult as done.
  326. * WebConnectionStream.cs: if we're done with the body of a chunk, don't
  327. require the next chunk header to be there, as some servers might close
  328. the connection (while also sending 'Connection: close').
  329. 2005-06-22 Gonzalo Paniagua Javier <[email protected]>
  330. * HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
  331. to me that this is against 10.3.3 in RFC 2616, but may be the user
  332. 'authorization' to do this is implicit in AllowAutoRedirect...
  333. 2005-06-21 Gonzalo Paniagua Javier <[email protected]>
  334. * WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
  335. if there's no record available to read. This is a workaround that makes
  336. the call to BeginRead itself asynchronous. Fixes bug #75342.
  337. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  338. * WebConnection.cs:
  339. * HttpWebRequest.cs:
  340. * WebConnectionStream.cs: initiate the polling for input data after
  341. sending the header so that we detect any response that the server sends
  342. back even if we're still trying to write the request for a POST/PUT.
  343. If we get the response (or an error) before any one calls GetResponse(),
  344. keep it around instead of ignoring it.
  345. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  346. * HttpWebRequest.cs: send the right header/user/password in
  347. PreAuthenticate in presence of a proxy.
  348. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  349. * IPv6Address.cs: fix IsLoopback. Closes bug #75128.
  350. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  351. * IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
  352. address. Fixes bug #75125.
  353. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  354. * ServicePointManager.cs: when going through a proxy, use 2 different
  355. service points depending on the scheme. Fixes bug #75135.
  356. 2005-05-30 Gonzalo Paniagua Javier <[email protected]>
  357. * Dns.cs: don't parse the address when it comes from an IPAddress.
  358. 2005-05-23 Gonzalo Paniagua Javier <[email protected]>
  359. * WebConnection.cs: prevent 2 nullrefs when the aborting during
  360. Connect() and reset the status to Success before starting a new
  361. request.
  362. 2005-05-19 Sebastien Pouliot <[email protected]>
  363. * WebRequest.cs: Throw NotImplementedException (not NotSupported
  364. Exception) for stuff that should have been abstract. No exception
  365. is thrown by the serialization constructor.
  366. 2005-05-04 James Willcox <[email protected]>
  367. * DigestClient.cs: convert to a hex string with "X8" consistently
  368. for nc-value
  369. 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
  370. * WebConnection.cs: don't rethrow errors in Write, as the error will be
  371. received by GetResponse*. The result is that the threadpool thread doing
  372. this will not end up printing the exception. Fixes bug #74817.
  373. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  374. * ServicePoint.cs: HostEntry needs to be thread safe.
  375. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  376. * WebConnection.cs: removed a 'slightly' important line by mistake.
  377. * WebConnectionStream.cs: if the transfer encoding is chunked, ignore
  378. content-length header if present.
  379. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  380. * WebConnection.cs: no need to use an AutoResetEvent.
  381. * WebConnectionStream.cs: don't start any more reads on the socket
  382. after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
  383. test.
  384. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  385. * BasicClient.cs: firefox/IE just send latin1, stripping the high byte
  386. from unicode >= 256 characters.
  387. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  388. * BasicClient.cs: use latin1 when encoding the username/domain/password.
  389. Fixes bug #74745.
  390. 2005-04-17 Gonzalo Paniagua Javier <[email protected]>
  391. * WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
  392. synchronously, no need to create the ManualResetEvent to wait on.
  393. 2005-04-16 Gonzalo Paniagua Javier <[email protected]>
  394. * WebConnectionStream.cs: call SetComplete in EndWrite when we're not
  395. buffering the request body. Fixes bug #74637.
  396. * WebAsyncResult.cs: renamed field.
  397. 2005-04-14 Gonzalo Paniagua Javier <[email protected]>
  398. * WebConnectionStream.cs:
  399. * WebAsyncResult.cs: ensure we only call EndRead once per async. result.
  400. Update total before invoking the callback when present.
  401. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  402. * WebConnection.cs:
  403. * WebConnectionStream.cs: don't start reading until we've sent at least
  404. the headers. This way we ensure that a Write happens before any Read,
  405. which is needed by the SSL code.
  406. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  407. * HttpWebRequest.cs: ensure we read everything before redirecting.
  408. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  409. * WebConnectionStream.cs: provide a default callback when doing async.
  410. read/write and waiting for a timeout so that the callback sets the
  411. event and we don't block forever. Fixes bug #74539 take 3.
  412. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  413. * WebConnection.cs:
  414. * HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.
  415. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  416. * WebConnection.cs: fix some breakage from my last patch.
  417. * WebConnectionStream.cs: invoke the callback when done even in EndRead.
  418. 2005-04-10 Sebastien Pouliot <[email protected]>
  419. * WebConnection.cs: Added support for TrustFailure when throwing a
  420. WebException. Fix bug #74286.
  421. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  422. * HttpWebRequest.cs:
  423. * WebConnectionStream.cs: implemented support for ReadWriteTimeout.
  424. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  425. * WebConnection.cs: if we're reading chunked data and didn't use the
  426. stream to read, we gotta set the async. result as complete and invoke
  427. the callback. Don't call nstream.EndRead with the wrong IAsyncResult.
  428. * WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
  429. cnc.EndRead. Lock on a field instead of 'this'.
  430. 2005-04-09 Gonzalo Paniagua Javier <[email protected]>
  431. * HttpWebRequest.cs: throw the exception if we got an error, as now
  432. it's catched in the redirection handling code.
  433. 2005-04-08 Gonzalo Paniagua Javier <[email protected]>
  434. * HttpWebRequest.cs: moved redirection handling to a proper place.
  435. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  436. * WebHeaderCollection.cs: added if-modified-since to the list of
  437. restricted headers.
  438. * ServicePoint.cs: use a field object when locking.
  439. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  440. * WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
  441. need to wait for a Close/ReadAll when we have no content.
  442. 2005-04-04 Gonzalo Paniagua Javier <[email protected]>
  443. * NtlmClient.cs: fix typo in assembly name.
  444. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  445. * CookieContainer.cs: adding to a CookieCollection might not increment
  446. the number of items if the cookie is replaced. Now Count works properly.
  447. Fixed an array index exception (typo).
  448. * CookieCollection.cs: also compare the version.
  449. * HttpWebResponse.cs: when we have cookies, add them to the request
  450. container.
  451. * HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
  452. 2005-03-30 Miguel de Icaza <[email protected]>
  453. * Cookie.cs: Compare using the InvariantCulture, to match the
  454. behavior of CookieContainer that already did this.
  455. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  456. * WebConnection.cs: we don't need to trigger the next queued request
  457. until the response is closed.
  458. 2005-03-29 Miguel de Icaza <[email protected]>
  459. * HttpWebResponse.cs: Handle quotations in the cookies values, per
  460. the spec http://www.faqs.org/rfcs/rfc2109.html, it is allowed to
  461. have quotations.
  462. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  463. * BasicClient.cs:
  464. * DigestClient.cs: check that GetCredential() does not return null.
  465. 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
  466. * BasicClient.cs: ensure credentials are not null.
  467. 2005-03-10 Gonzalo Paniagua Javier <[email protected]>
  468. * HttpWebResponse.cs: moved cookie parsing into its own class.
  469. * WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
  470. call.
  471. * HttpWebRequest.cs: don't let exception raised in the ctor of
  472. HttpWebResponse vanish.
  473. Fixes bug #73275.
  474. 2005-03-01 Gonzalo Paniagua Javier <[email protected]>
  475. * WebHeaderCollection.cs: handle commas inside quotes when splitting
  476. a multi-value header. Fixes bug #73151.
  477. 2005-02-13 Gonzalo Paniagua Javier <[email protected]>
  478. * DigestClient.cs: fix for digest auth. and URIs containing query. Patch
  479. by James Wilcox. Fixes bug #72571.
  480. 2005-02-12 Gonzalo Paniagua Javier <[email protected]>
  481. * HttpWebResponse.cs:
  482. * WebConnection.cs:
  483. * HttpWebRequest.cs:
  484. * WebConnectionStream.cs: don't read the entire response unless the
  485. user requests it. Fixes bug #72443.
  486. 2005-02-08 Zoltan Varga <[email protected]>
  487. * IPv6Address.cs: Fix endianess problems.
  488. * IPAddress.cs: Fix misleading comments.
  489. 2005-02-04 Gonzalo Paniagua Javier <[email protected]>
  490. * HttpWebRequest.cs: send the headers when we're supposed to write
  491. a POST/PUT but call GetResponse before GetRequestStream.
  492. * WebConnectionStream.cs: new RequestWritten property.
  493. 2005-01-20 Jonathan Pryor <[email protected]>
  494. * EndpointPermission.cs: Fix IsSubsetof(hostname) so that the regression
  495. tests work. In particular, IsSubsetOf ("12.13.*.*", "12.13.14.*") failed
  496. because 14 wasn't a subset of * (which it is). Fix: if part1 is we
  497. continue to the next portion.
  498. 2005-01-20 Jonathan Pryor <[email protected]>
  499. * IPAddress.cs (ParseIPV4): Fix so that the regression tests work. In
  500. particular, " foo" and ".1.1.6" weren't being caught (" foo" because it
  501. started with a space, and ".1.1.6" because the split string accepted a
  502. 0-length portion, which would make 1...6 valid, but isn't valid based on
  503. similar test cases).
  504. 2005-01-20 Jonathan Pryor <[email protected]>
  505. * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
  506. commas if the header is a Multi-Value header. This matches
  507. MonoTests.System.Net.WebHeaderCollectionTest.
  508. 2005-01-19 Sebastien Pouliot <[email protected]>
  509. * WebPermissionAttribute.cs: Fixed NET_1_1 behaviour.
  510. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  511. * WebConnectionStream.cs: remove unneeded check. Write detects and
  512. triggers the exception now.
  513. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  514. * AuthenticationManager.cs: don't lock on a public Type.
  515. * HttpWebRequest.cs: read the error response for auth. errors.
  516. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  517. * HttpWebRequest.cs: set webResponse back to null when redirecting.
  518. Fix the previous patch so that it reads the whole response even if
  519. auto-redirect is not enabled. Closes bug #70484.
  520. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  521. * HttpWebResponse.cs: added ReadAll method.
  522. * WebConnection.cs: in HandleError, set the response error after
  523. closing the socket. Use an async. delegate to finish reading any prior
  524. WebConnectionStream.
  525. * HttpWebRequest.cs: for error responses that allow content, read the
  526. stream immediately. Fixes bug #70483.
  527. 2004-12-11 Gonzalo Paniagua Javier <[email protected]>
  528. * CookieContainer.cs: quote the port number.
  529. 2004-12-10 Gonzalo Paniagua Javier <[email protected]>
  530. * WebConnection.cs:
  531. * WebConnectionStream.cs: removed TryReconnect. It's no longer needed.
  532. 2004-12-05 Gonzalo Paniagua Javier <[email protected]>
  533. * WebConnection.cs: set the event in Close so that if the queue is
  534. empty, we won't block forever on next request. The finalizer was
  535. removed because we're not implementing IDisposable pattern here.
  536. 2004-12-04 Gonzalo Paniagua Javier <[email protected]>
  537. * WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
  538. * ChunkStream.cs: added error checking all over.
  539. * HttpWebRequest.cs: throw the exception received in SetResponseError
  540. if we already have a response.
  541. (SetRequestData): Don't nest the exception if it's a WebException.
  542. 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
  543. * WebConnection.cs: remove prevStream and don't set busy to false in
  544. HandleError. prevStream is not needed any more and setting 'busy' so
  545. early might let a request skip the queue.
  546. * WebConnectionGroup.cs: decrement the indexer when removing a dead
  547. reference from the arraylist.
  548. * WebConnectionStream.cs:
  549. (ReadAll): call NextRead if it has not been called before even when
  550. we have completed the request. Reuse the read buffer when reading a
  551. response of unknown size. Increase the buffer to 8kB.
  552. (BeginRead): increase pendingReads earlier and even when reading from
  553. the internal buffer.
  554. (EndRead): decrease pendingReads later and always.
  555. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  556. * CookieContainer.cs: style, fixed checks for properties, implemented
  557. the MonoTODOs for the method that take an Uri. GetCookies and
  558. GetCookieHeaders now really return only the cookies that are requested
  559. filtering by the Uri parameter.
  560. * Cookie.cs: style, added default values for Comment, Domain and Port.
  561. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  562. * CookieCollection.cs: reformatted, fixed Add by adding a new method to
  563. search across the arraylist, as list.IndexOf is not what we want.
  564. 2004-11-19 Gonzalo Paniagua Javier <[email protected]>
  565. * WebConnection.cs: check for FIN or RST on the socket before reusing.
  566. Fixes bug #69388.
  567. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  568. * ChunkStream.cs: simplified condition for WantMore property.
  569. * WebConnection.cs: in Connect(), finish any pending reads we might
  570. have for chunked data. Ignore possible blank lines at the very
  571. beginning of the server response. Honor user set KeepAlive in
  572. HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
  573. his suggestions and code.
  574. 2004-11-01 Gonzalo Paniagua Javier <[email protected]>
  575. * HttpWebResponse.cs: don't lock up when the cookie received ends with
  576. a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.
  577. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  578. * HttpWebRequest.cs: don't fail if the request has already been sent
  579. when accessing ContentType setter. Fixes bug #68848.
  580. 2004-10-25 Gonzalo Paniagua Javier <[email protected]>
  581. * ChunkStream.cs:
  582. (WantMore): we're not done until we get a 0 chunk size and the trailer.
  583. The 0 can be expressed as more than one character too (ie, 000000).
  584. * HttpWebRequest.cs: new argument in SetResponseError.
  585. * WebConnection.cs: added argument to HandleError as a hint for
  586. debugging.
  587. (Connect): make the chunked stream be in the expected state when
  588. reusing.
  589. * WebConnectionStream.cs: removed unused method (ResetWriteBuffer).
  590. 2004-10-10 David Sheldon <[email protected]>
  591. * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
  592. 2004-10-05 Gonzalo Paniagua Javier <[email protected]>
  593. * HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
  594. * WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
  595. SetInternal.
  596. 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
  597. * HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
  598. tunneling a secure connection.
  599. * ServicePoint.cs: added UseConnect property.
  600. * ServicePointManager.cs: set the UseConnect property when we use a http
  601. proxy for a https connection.
  602. * WebConnection.cs: setup the tunnled connection when using a proxy and
  603. https.
  604. 2004-09-13 Gonzalo Paniagua Javier <[email protected]>
  605. * HttpWebResponse.cs: remove unused SplitValue method.
  606. 2004-09-10 Sebastien Pouliot <[email protected]>
  607. * DnsPermission.cs: Updated to pass new unit tests.
  608. * DnsPermissionAttribute.cs: Cleanup.
  609. * SocketPermission.cs: Updated to pass new unit tests.
  610. * SocketPermissionAttribute.cs: Updated to pass new unit tests.
  611. * WebPermission.cs: Implemented some TODO - not complete yet.
  612. * WebPermissionAttribute.cs: Updated to pass new unit tests.
  613. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  614. * Cookie.cs: don't fail when using default constructor. Fixes bug
  615. #62890.
  616. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  617. * HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
  618. than once and have multiple values. Don't rely on string.split when
  619. parsing cookie values.
  620. * WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
  621. Fixed GetValues (it was splitting values that contained a comma) and
  622. changed SetInternal to handle multi-value headers.
  623. Fixes bug #62744.
  624. 2004-07-26 Gonzalo Paniagua Javier <[email protected]>
  625. * WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
  626. ([email protected]).
  627. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  628. * HttpWebRequest.cs: detect changes in scheme or port when redirecting.
  629. Fixes las take on bug 61218.
  630. 2004-07-14 Gonzalo Paniagua Javier <[email protected]>
  631. * WebConnection.cs: moved loading of the ssl stream Type to its own
  632. method. Don't create a new ssl stream if we're reusing the connection.
  633. * WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
  634. is the expected even if the dta from the server has extra bytes.
  635. 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
  636. * WebConnection.cs:
  637. * WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
  638. "responses MUST NOT include a message-body". We tried to read the
  639. stream even when getting those codes and considered the 0 length
  640. read as a failure.
  641. 2004-07-09 Gonzalo Paniagua Javier <[email protected]>
  642. * HttpWebRequest.cs: removed bogus Monitor.Exit.
  643. * WebConnection.cs: use Address instead of RequestUri when checking for
  644. the scheme in order to select the stream type. Fixes bug #61218.
  645. 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
  646. * ChunkStream.cs: added ChunkLeft property.
  647. * WebConnection.cs:
  648. (EndRead): when using small byte arrays to read from a chunked stream,
  649. ensure we've read the chunk size and try to fulfill the request
  650. completely. fixes bug 59653.
  651. 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
  652. * WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.
  653. 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
  654. * DigestClient.cs: cache the sessions based on address and
  655. credentials, not only address. Added poor men's expiration to
  656. the session cache. Fixes bug #59202.
  657. 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
  658. * IPAddress.cs:
  659. * IPEndPoint.cs:
  660. * IPv6Address.cs: no more warnings about IPAddress.Address.
  661. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  662. * WebException.cs: implemented serialization .ctor and
  663. GetObjectData().
  664. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  665. * WebAsyncResult.cs: don't create the WaitHandle if not needed.
  666. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  667. * HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
  668. used yet.
  669. * NetConfig.cs: added MaxResponseHeadersLength field.
  670. * ServicePoint.cs:
  671. * ServicePointManager.cs: added missing properties for 1.1.
  672. 2004-05-03 Sebastien Pouliot <[email protected]>
  673. * WebConnection.cs: Use assembly name const to load Mono.Security.
  674. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  675. * NtlmClient.cs: Use assembly name const to load Mono.Security.
  676. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  677. * WebConnectionStream.cs: avoid the exception when getting the content
  678. length if possible.
  679. 2004-03-29 Lluis Sanchez Gual <[email protected]>
  680. * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
  681. the lock is released in case of exception (for example, a
  682. ThreadAbortException). This also "fixes" bug #52417.
  683. Beware, this requires a runtime update (due to a bug in Monitor.Exit).
  684. * ServicePoint.cs: Changed method from internal to private, since it
  685. is not called from outside the class.
  686. 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
  687. * HttpWebRequest.cs: added the exception status to the error message.
  688. * WebConnection.cs: add headers using SetInternal instead of Add to
  689. bypass header name validation. Fixes bug #55994.
  690. * WebHeaderCollection.cs: added SetInternal (string header).
  691. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  692. * WebConnection.cs:
  693. * WebConnectionGroup.cs: the requests queue is now shared for all the
  694. connections belonging to the same connection group.
  695. 2004-02-26 Sebastien Pouliot <[email protected]>
  696. * DefaultCertificatePolicy.cs: New. Certificate validation
  697. policy compatible with the documented one present in Fx. It
  698. allows valid certificates and expired certificates to be used
  699. for SSL connections.
  700. * ServicePointManager.cs: Removed the DummyPolicy. Now creates
  701. a DefaultCertificatePolicy to validate certificates.
  702. 2004-02-26 Gonzalo Paniagua Javier <[email protected]>
  703. * ServicePoint.cs: SendContinue is always false for HTTP/1.0
  704. * WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
  705. calling more the ContinueDelegate more than once when we get the
  706. headers in several packets.
  707. * WebConnectionStream.cs: removed call to WaitForContinue.
  708. 2004-02-25 Sebastien Pouliot <[email protected]>
  709. * WebConnection.cs: Update previous patch to use HttpsClientStream
  710. (internal in Mono.Security assembly) in place of SslClientStream.
  711. This will reduce reflection and allow to use ICertificatePolicy.
  712. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  713. * DigestClient.cs: fix quote handling. Reordered attributes in response.
  714. Fixed typo (QOP->CNonce). Now Digest works with apache2.
  715. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  716. * DigestClient.cs: removed Console.
  717. * HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.
  718. 2004-02-24 Sebastien Pouliot <[email protected]>
  719. * DigestClient.cs: Fixed issue with Apache server which do not use "
  720. for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").
  721. 2004-02-20 Gonzalo Paniagua Javier <[email protected]>
  722. * HttpWebRequest.cs: arghhh. I used the server response headers instead
  723. of what the client is supposed to send. Thanks to Helge Hess.
  724. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  725. * AuthenticationManager.cs: implemented PreAuthenticate().
  726. * HttpWebRequest.cs: once we know the version of the server, use it if
  727. below the requested one. Remove 'Expect', 'Content-Length' and /or
  728. 'Transfer-Encoding' if appropiate due to changes in version. Fixed
  729. 'Host' header for non-standard ports. Support preauthentication. Closes
  730. bug #50530.
  731. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  732. * HttpWebRequest.cs: check for missing or wrong URI in Location header
  733. when redirecting.
  734. * WebConnection.cs: if the data read does not contain all the headers,
  735. keep it around and read the rest until we get to the response body.
  736. Allow response code with no description. Fixed bug #54543.
  737. 2004-02-18 Sebastien Pouliot <[email protected]>
  738. * SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
  739. Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
  740. profile (as we need it for SslClientStream).
  741. * ServicePoint.cs: Added internal SetCertificates(client,server).
  742. * ServicePointManager.cs: Added CheckCertificateRevocationList and
  743. CheckCertificateRevocationList static properties (public in 1.1,
  744. internal for 1.0).
  745. * WebConnection.cs: Dynamically creates a SslClientStream (from
  746. Mono.Security assembly) in case of https. Changed NetworkStream to
  747. Stream everywhere.
  748. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  749. * HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
  750. don't know the server version or it's 1.0.
  751. * ServicePoint.cs: added SetVersion.
  752. * WebAsyncResult.cs: remove ChunkAsyncResult.
  753. * WebConnection.cs: set the ServicePoint version when getting a response
  754. from the server.
  755. * WebConnectionStream.cs: when posting chunked content, send the head,
  756. body and trailer of the chunk at once instead of doing 3 separate
  757. writes, which may cause troubles.
  758. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  759. * WebConnection.cs: if we get a 100 when we're not waiting for it, set
  760. that information in the ServicePoint.
  761. * WebConnectionStream.cs: send headers in the right order for
  762. non-chunked POST.
  763. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  764. * WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.
  765. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  766. * HttpWebRequest.cs: on second and sucesive tries when authenticating,
  767. don't use chunked encoding for POST, as we know the content length and
  768. have the body. Nullify bodyBuffer always in CheckFinalStatus.
  769. * WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
  770. IAsyncResult when writing CRLF at the end of a chunk.
  771. * WebConnectionStream.cs: support sending chunked data.
  772. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  773. * HttpWebRequest.cs: When retrying a POST request after an
  774. authentication failure, resend the body. This fixes bug #51841.
  775. * WebConnectionStream.cs: Added properties for getting what's been
  776. written.
  777. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  778. * HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.
  779. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  780. * HttpWebRequest.cs: support proxy authentication.
  781. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  782. * BasicClient.cs:
  783. * DigestClient.cs: use IndexOf instead of StartsWith to deal with
  784. servers that provide several authentication schemas.
  785. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  786. * ChunkStream.cs: use an array of buffers instead of a MemoryStream for
  787. storing the chunks. This way, we won't miss traling data from the
  788. previous chunk when a new one is received before the other is fully
  789. read.
  790. 2004-01-27 Nick Drochak <[email protected]>
  791. * DigestClient.cs:
  792. * HttpWebRequest.cs:
  793. * IPv6Address.cs:
  794. * WebClient.cs:
  795. * WebConnection.cs:
  796. * WebConnectionStream.cs: Remove unused variables thus eliminating some
  797. build warnings.
  798. 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
  799. * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
  800. handling for the case when the same packet also contains the actual
  801. [2-5]xx response.
  802. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  803. * HttpWebRequest.cs: Added missing property.
  804. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  805. * Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
  806. bug #53222.
  807. 2004-01-16 Lluis Sanchez Gual <[email protected]>
  808. * ChunkStream.cs: The "size" parameter of Write is not the number of
  809. bytes to write, but the last offset to be written. Thus, in WriteAndRead
  810. Back, since "read" is not an offset but the number of bytes, it must be
  811. added to the offset. Maybe it would be a good idea to change the name of
  812. the parameter, since it is confusing. This should fix bug #52591.
  813. 2004-01-12 Lluis Sanchez Gual <[email protected]>
  814. * WebConnection.cs: Yet another fix for WebConnection. This fixes
  815. bug #52169.
  816. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  817. * WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
  818. tidied up the end of ReadDone. Disabled relaunching the request if 2
  819. InitRead are called, since now we don't throw everything into
  820. RegisterWaitForSingleObject but one request at a time.
  821. * WebConnectionGroup.cs: when checking available connections, allow them
  822. not to be Connected but allocated to honor the connection limit.
  823. * WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
  824. too. ReadAll don't mess contentLength if it's provided in the headers.
  825. BIG thanks to Lluis. Turns out that we were debugging the same stuff and
  826. his Data.Init discovery was THE thing I was missing.
  827. Fixes bug #51277.
  828. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  829. * ServicePointManager.cs: use GetMaxConnections to get the appropiate
  830. number of connections limit.
  831. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  832. * MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
  833. guilty for bug 52629.
  834. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  835. * CredentialCache.cs: return null instead of throwing NotImplemented.
  836. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  837. * HttpWebRequest.cs: fixed checking if method allows a body. Patch by
  838. Benjamin Jemlich ([email protected]).
  839. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  840. * HttpWebRequest.cs: deal with authentication schemes that have more
  841. than 1 round trip (Ntlm).
  842. 2003-12-11 Gonzalo Paniagua Javier <[email protected]>
  843. * NtlmClient.cs: new class that actually uses one from Mono.Http to do
  844. the authentication.
  845. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  846. * HttpWebRequest.cs: when building the redirect URI, use the previous
  847. one as the base URI, which makes relative URIs work.
  848. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  849. * DigestClient.cs: merged in code from Sebastien Pouliot and Greg
  850. Reinacker that Supports cnonce and preauthentication.
  851. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  852. * DigestClient.cs: initial Digest authentication. Works with apache
  853. mod_digest.
  854. 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
  855. * HttpWebRequest.cs: removed unneeded StringBuilder.
  856. * WebConnection.cs: default to keep the connection open for HTTP/1.1
  857. only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
  858. 2003-11-17 Gonzalo Paniagua Javier <[email protected]>
  859. * WebConnection.cs: turns out that socket.Connected is not useful until
  860. we actually try to send/receive data, even if the other end has already
  861. closed the socket. Added TryReconnect() and Connected.
  862. * WebConnectionData.cs: default value for StatusCode is 0 now.
  863. * WebConnectionGroup.cs: reuse the connection since the beginning,
  864. instead of opening up to ConnectionLimit and then reusing.
  865. * WebConnectionStream.cs: reopen the socket if we're trying to reuse
  866. one which fails on first write.
  867. 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
  868. * WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
  869. wrap it and do our job before calling it. Fixes bug #48497.
  870. 2003-11-12 Andreas Nahr <[email protected]>
  871. * WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
  872. * SecurityProtocolType.cs: Added and implemented
  873. 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
  874. * HttpWebRequest.cs: fixed redirects when they target another host.
  875. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  876. * IPAddress.cs: prevent exceptions when trying to parse the static IPv6
  877. addresses.
  878. 2003-10-17 Pedro Martínez Juliá <[email protected]>
  879. * WebClient.cs: use Path.DirectorySeparator instead of "/" for
  880. windows compatibility. Add some checks for file paths like
  881. "C:/xxx/yyy/..." and like "/home/xxx/...".
  882. 2003-10-16 Pedro Martínez Juliá <[email protected]>
  883. * WebClient.cs: added a slash between directory and file names.
  884. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  885. * HttpWebRequest.cs:
  886. * HttpWebResponse.cs: better abort handling and leave the stream in a
  887. stable status on abort.
  888. 2003-10-12 Pedro Martínez Juliá <[email protected]>
  889. * WebClient.cs: refine reading of local files (like MS.NET).
  890. 2003-10-10 Pedro Martínez Juliá <[email protected]>
  891. * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
  892. but we didn't. Now, when Uri fails with an exception, it adds
  893. "file://" before the URI and tries again.
  894. 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
  895. * ServicePoint.cs: preparing for recycling. Not yet finished.
  896. * ServicePointManager.cs: this is the one that reads config.
  897. * WebConnectionGroup.cs: don't read config here.
  898. * WebConnection.cs: added the queue again. Launch queued requests on
  899. error.
  900. 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
  901. * WebConnection.cs: the queue is now handled by the threadpool.
  902. Initialize the connection data in a place where it does not depend on
  903. the execution order of the requests in threadpool. More error handling.
  904. * WebConnectionGroup.cs: use the limits in the config file and reuse
  905. connections when the limit is reached.
  906. 2003-10-02 Gonzalo Paniagua Javier <[email protected]>
  907. * HttpWebRequest.cs: handle 304 à la MS.
  908. * WebConnection.cs: set the response data when reading 0 bytes.
  909. 2003-09-16 Gonzalo Paniagua Javier <[email protected]>
  910. * WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
  911. invalid state.
  912. 2003-08-14 Nick Drochak <[email protected]>
  913. * WebRequest.cs: Check lower case string since that is what we will add.
  914. 2003-08-04 Jerome Laban <[email protected]>
  915. * IPHostEntry.cs: Default contructor must not initialize members.
  916. (Fixes bug #45575).
  917. 2003-07-27 Andreas Nahr <[email protected]>
  918. * CredentialCache.cs: Removed undefined serializable attribute
  919. 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
  920. * ChunkStream.cs:
  921. (WantMore): true if we've not received the last chunk yet. Fixes
  922. bug #45463. Thanks to Miguel for tracking this down and providing a
  923. test case.
  924. * WebConnection.cs: removed bogus ^M's.
  925. * WebHeaderCollection.cs: provide more info when the header or value is
  926. wrong.
  927. 2003-07-15 Andreas Nahr <[email protected]>
  928. * ChunkStream.cs: Removed unused members
  929. * IPAddress.cs: Removed unused exception variable, fixes compiler
  930. warning.
  931. * WebConnection.cs: Removed unused exception variables, fixes compiler
  932. warnings.
  933. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  934. * NetConfig.cs: If Clone method is not public, then it must use
  935. explicit interface method implementation syntax.
  936. 2003-07-14 Jerome Laban <[email protected]>
  937. * Dns.cs: Reworked indentation.
  938. Added IPv6 support.
  939. Added literal address checking in GetHostByAddress.
  940. Changed Dns.Resolve behavior.
  941. * IPAddress.cs:
  942. * IPEndPoint.cs: Added IPv6 support.
  943. * IPv6Address.cs: Added address compression.
  944. * NetConfig.cs: Added configuration section.
  945. 2003-07-14 Jerome Laban <[email protected]>
  946. * ServicePoint.cs: Removed Connect and GetEndPoint methods.
  947. Removed reverse resolution when uri is literal IP address.
  948. * WebConnection.cs: IPv6 compatibility update: Try to connect
  949. to all addresses returned by IPHostEntry.
  950. * WebConnectionGroup.cs: Removed unused parameter.
  951. 2003-07-13 Andreas Nahr <[email protected]>
  952. * WebProxy.cs: Add serialization/ deserialization support
  953. 2003-07-10 Andreas Nahr <[email protected]>
  954. * ProxyUseType.cs:
  955. * WebStatus.cs: Deleted (do not exist in this assembly)
  956. * IPv6Address.cs: Made internal
  957. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  958. * HttpWebRequest.cs:
  959. * ServicePointManager.cs:
  960. * WebConnection.cs: added support for proxies.
  961. 2003-07-05 Andreas Nahr <[email protected]>
  962. * DnsPermissionAttribute.cs:
  963. * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
  964. 2003-07-05 Andreas Nahr <[email protected]>
  965. * WebPermission.cs: Added and partially implemented
  966. * WebPermissionAttribute.cs: Added and implemented
  967. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  968. * WebClient.cs: fixed bug #45651.
  969. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  970. * WebClient.cs: Small fix by Sebastian <[email protected]>.
  971. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  972. * WebConnection.cs: fixed header writing the reusing a connection and
  973. the server does not send 100-continue response.
  974. 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
  975. * WebConnection.cs: close the socket and connection when disposing.
  976. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
  977. when creating instances.
  978. * HttpWebRequest.cs:
  979. * HttpWebResponse.cs:
  980. * FileWebRequest.cs: support serialization.
  981. * FileWebResponse.cs: support serialization and fixed dispose checks.
  982. * FileWebRequestCreator.cs:
  983. * HttpRequestCreator.cs: added internal .ctor.
  984. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  985. * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
  986. called before asyncWrite.SetCompleted, to make sure that the waiting
  987. thread does not start to send more information before
  988. SendRequestHeaders has finished.
  989. 2003-06-22 Lluis Sanchez Gual <[email protected]>
  990. * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
  991. read is really needed.
  992. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  993. * WebHeaderCollection.cs: prevent duplication headers used niternally.
  994. 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
  995. * HttpWebRequest.cs: if CookieContainer has not been set, make
  996. HttpWebResponse ignore Set-Cookie* headers.
  997. * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
  998. CookieContainer have been provided to the request.
  999. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  1000. * AuthenticationManager.cs: get the list of authentication modules from
  1001. the configuration files. Added Clear and fixed Unregister.
  1002. * BasicClient.cs: fully implemented.
  1003. * HttpWebRequest.cs: added support for Basic authentication when
  1004. credentials are set.
  1005. * NetworkCredential.cs: fixed GetCredential.
  1006. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  1007. * HttpWebRequest.cs: *really* take care of requestSent to prevent
  1008. sending the same request twice.
  1009. * WebAsyncResult.cs: don't close the handle. Just Reset.
  1010. * WebConnectionStream.cs: removed unneeded line.
  1011. 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
  1012. * HttpWebRequest.cs: use InternalClose when we are not going to send the
  1013. rest of the request stream because of an error after sending the
  1014. headers.
  1015. * WebConnection.cs: check for completion after setting the response.
  1016. Enable reading in NextRead.
  1017. * WebConnectionStream.cs: re-fixed the count for partially buffered
  1018. reads. If the network stream returns 0 bytes, we're done.
  1019. 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
  1020. * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
  1021. special headers *after* the others.
  1022. 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
  1023. * WebConnectionStream.cs: when the read is partially filled from the
  1024. initial buffer, add those bytes too. Thanks to Lluis for debugging this.
  1025. 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
  1026. * HttpWebRequest.cs: added ExpectContinue property.
  1027. * WebConnection.cs: allow 100 Continue to be delayed after waiting for
  1028. it.
  1029. 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
  1030. * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
  1031. is known not to respond to that.
  1032. * ServicePoint.cs: added SendContinue property.
  1033. * WebConnection.cs: only wait 2 seconds for a continue reply. If it
  1034. timeouts, set SendContinue to false and proceeed sending data.
  1035. * WebConnectionStream.cs: if 100-continue is not received and instead we
  1036. get a 417 or anything else, don't send the data.
  1037. * WebClient.cs: implemented all missing properties and methods except
  1038. UploadFile.
  1039. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  1040. * FileWebRequestCreator.cs: splitted from WebRequest.
  1041. * HttpRequestCreator.cs: splitted fromWebRequest.
  1042. * WebRequest.cs: added methods that are used by the new configuration
  1043. handler to set prefix/type name requests creators.
  1044. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  1045. * AuthenticationManager.cs:
  1046. * Authorization.cs:
  1047. * BasicClient.cs: new file.
  1048. * ChunkStream.cs: new file.
  1049. * Cookie.cs:
  1050. * CookieContainer.cs:
  1051. * GlobalProxySelection.cs:
  1052. * HttpWebRequest.cs:
  1053. * HttpWebResponse.cs:
  1054. * IAuthenticationModule.cs:
  1055. * ServicePoint.cs:
  1056. * ServicePointManager.cs:
  1057. * WebAsyncResult.cs: new file.
  1058. * WebConnection.cs: new file.
  1059. * WebConnectionData.cs: new file.
  1060. * WebConnectionGroup.cs: new file.
  1061. * WebConnectionStream.cs: new file.
  1062. * WebException.cs:
  1063. * WebHeaderCollection.cs:
  1064. * WebProxy.cs:
  1065. * WebResponse.cs:
  1066. Reworked HttpWebRequest and related classes.
  1067. 2003-05-30 Miguel de Icaza <[email protected]>
  1068. * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
  1069. InternalServerError (500)
  1070. 2003-05-29 Miguel de Icaza <[email protected]>
  1071. * HttpWebRequest.cs (Close): Move the code that accumulates the
  1072. output to Close from Flush. Flush could have been called in the
  1073. middle of the processing, and would have generated invalid results
  1074. (which it did).
  1075. 2003-05-23 Zoltan Varga <[email protected]>
  1076. * Dns.cs (GetHostByAddress): Return the local host when called with
  1077. IF_ANY.
  1078. 2003-04-29 Miguel de Icaza <[email protected]>
  1079. * WebClient.cs (DownloadData): Close the underlyng stream.
  1080. (DownloadFile): Use using, so the file gets closed.
  1081. 2003-04-24 Miguel de Icaza <[email protected]>
  1082. * WebClient.cs (DownloadData): Instead of using a MemoryStream,
  1083. keep track of all the small chunks in an ArrayList. The
  1084. MemoryStream had the property of reallocating itself, and the
  1085. problem was that MemoryStream.GetBuffer would return the buffer
  1086. (correctly), but not something of the right size. So clients of
  1087. DownloadData would get the extra unused bytes as part of the
  1088. result.
  1089. The solution would have been to make another copy at this point,
  1090. instead, we only keep the small allocations around in the
  1091. ArrayList, and we only do one large allocation at the end.
  1092. * HttpWebResponse.cs: If there is a Content-Length header, pass
  1093. this information to our HttpWebResponseStream, so it knows when to
  1094. stop, instead of waiting for the stream to be shut down by the
  1095. other end.
  1096. * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
  1097. the underlying stream if the method will do a content transfer and
  1098. no Content-Length was provided. If not (HEAD and GET or
  1099. Content-Length provided), keep going.
  1100. 2003-04-23 Miguel de Icaza <[email protected]>
  1101. * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
  1102. the ContentLength specified on the request. If that happens, we
  1103. have to accumulate all the data written, and once we accumulate
  1104. the data, we send it off.
  1105. Notice that the documentation in .NET is actually incorrect, they
  1106. state that setting ContentLength is mandatory. It is not.
  1107. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  1108. * HttpWebResponse.cs: fixes bug #41180.
  1109. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  1110. * HttpWebRequest.cs: throw an exception is the response code is >= 300.
  1111. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  1112. * HttpWebRequest.cs: implemented IDisposable, make the request stream
  1113. read only. Changed the way of disposing the socket.
  1114. * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
  1115. handle chunked transfer encoding (no more hangs), added serialization
  1116. stuff, call CheckDisposed at the beginning of methods/properties (not
  1117. in a finally clause).
  1118. 2003-02-17 Nick Drochak <[email protected]>
  1119. * WebClient.cs : Implemented Credentials property.
  1120. 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
  1121. * SocketAddress.cs: byte 1 of the data is the high byte of the family,
  1122. not the size.
  1123. 2003-01-29 Atsushi Enomoto <[email protected]>
  1124. * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
  1125. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  1126. * HttpWebRequest.cs: applied patch from Tim Haynes
  1127. ([email protected]).
  1128. Avoided double-sending of the request to the server when both
  1129. GetRequestStream() and GetResponse() are called.
  1130. System Header attributes survive the Headers attribute set.
  1131. Added handling of Connection: KeepAlive/Close
  1132. 2002-10-03 Dick Porter <[email protected]>
  1133. * Dns.cs: Fixed GetHostName()
  1134. 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
  1135. * HttpWebRequest.cs:
  1136. * HttpWebResponse.cs: applied another patch from Shahms E. King
  1137. ([email protected]).
  1138. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  1139. * HttpWebRequest.cs:
  1140. * HttpWebResponse.cs: applied patch from Shahms E. King
  1141. ([email protected]).
  1142. 2002-05-29 Lawrence Pit <[email protected]>
  1143. * MonoHttpDate.cs: added
  1144. * HttpWebRequest.cs: using MonoHttpDate
  1145. * HttpWebResponse.cs: using MonoHttpDate
  1146. * DnsPermission.cs: correct XML output
  1147. * SocketPermission.cs: correct XML output
  1148. 2002-05-21 Lawrence Pit <[email protected]>
  1149. * WebClient.cs: stubbed
  1150. * WebProxy.cs: fixed bug; had to change internal representation
  1151. of bypasslist to ArrayList, different implementation of checking
  1152. regex's.
  1153. 2002-05-20 Lawrence Pit <[email protected]>
  1154. * WebProxy.cs: added, implemented
  1155. * ServicePoint.cs: implemented most
  1156. * ServicePointManager.cs: implemented
  1157. * HttpWebRequest.cs: started implementation
  1158. * HttpWebResponse.cs: improved disposable routines
  1159. * FileWebRequest.cs: slight improvement of Close method
  1160. 2002-05-19 Lawrence Pit <[email protected]>
  1161. * FileWebRequest.cs: finished implementation of async methods.
  1162. * FileWebResponse.cs: improved disposable routines.
  1163. * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
  1164. byte ordering of address was backwards.
  1165. 2002-05-13 Lawrence Pit <[email protected]>
  1166. * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
  1167. relying on standard asynchronous delegate features. Added checks for
  1168. null strings.
  1169. * HttpWebResponse.cs: implemented properties
  1170. * FileWebResponse.cs: improved the way resources are disposed.
  1171. * FileWebRequest.cs: started implementation of asynchronous methods
  1172. * ServicePointManager.cs: implemented properties
  1173. 2002-05-12 Lawrence Pit <[email protected]>
  1174. * HttpWebRequest.cs: properties implemented
  1175. * HttpWebResponse.cs: added
  1176. * GlobalProxySelection.cs: implemented
  1177. * FileWebResponse.cs: added
  1178. * FileWebRequest.cs: some methods implemented
  1179. 2002-05-11 Lawrence Pit <[email protected]>
  1180. * WebHeaderCollection.cs: implemented
  1181. * WebRequest.cs: implemented
  1182. * FileWebRequest.cs and HttpWebRequest.cs stubs added
  1183. 2002-05-09 Lawrence Pit <[email protected]>
  1184. * Rewrote IPAddress.Parse method, passing all unit tests
  1185. 2002-05-09 Lawrence Pit <[email protected]>
  1186. * fixed bug in IPEndPoint.Equals method
  1187. * fixed bug in IPAddress.Parse method
  1188. * fixed bug in IPAddress.SwapLong method
  1189. * fixed several bugs in Cookie.cs
  1190. 2002-05-06 Lawrence Pit <[email protected]>
  1191. * WebRequest.cs: added
  1192. * WebResponse.cs: implemented
  1193. * WebException.cs: implemented
  1194. * WebHeaderCollection.cs: added
  1195. * HttpVersion.cs: implemented
  1196. * HttpContinueDelegate.cs: added
  1197. * IWebProxy.cs: added
  1198. * IWebRequestCreate.cs: added
  1199. * ICertificatePolicy.cs: added
  1200. * ServicePoint.cs: stubbed
  1201. * ServicePointManager.cs: stubbed
  1202. * CookieContainer.cs: added
  1203. * Authorization.cs: implemented
  1204. 2002-05-05 Lawrence Pit <[email protected]>
  1205. * CredentialCache.cs: implemented
  1206. 2002-05-05 Lawrence Pit <[email protected]>
  1207. * IPAddress.cs: fixed IsLoopback, address was already in host order
  1208. 2002-05-05 Lawrence Pit <[email protected]>
  1209. * IPv6Address.cs: added (note: not part of .net spec)
  1210. 2002-05-01 Lawrence Pit <[email protected]>
  1211. * DnsPermission.cs: implemented
  1212. * DnsPermissionAttribute.cs: implemented
  1213. 2002-04-28 Lawrence Pit <[email protected]>
  1214. * EndpointPermission.cs: implemented
  1215. * SocketPermission.cs: implemented
  1216. * SocketPermissionAttribute.cs: implemented
  1217. * ProtocolViolationException.cs: implemented
  1218. * Dns.c: passing w32 error code when no host found
  1219. 2002-04-27 Lawrence Pit <[email protected]>
  1220. * Cookie.cs: implemented
  1221. * CookieCollection.cs: implemented
  1222. * CookieException.cs: implemented
  1223. 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
  1224. * IPAddress.cs: initialize the read only fields with Parse().
  1225. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  1226. * IPAddress.cs: little changes to behave as MS.
  1227. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  1228. * Dns.cs (Resolve): behave as MS. Agreed with Mads.
  1229. 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
  1230. * IPAddress.cs: the icalls for sockets are endianness-aware. So I
  1231. changed a few things. Also included a workaround for bug #23547.
  1232. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1233. * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
  1234. by Paolo) instead of guessing the endianness.
  1235. * SocketAddress.cs: implemented Equals() and GetHashcode().
  1236. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1237. * IPEndPoint.cs: modifications to constructors according to the
  1238. specifications (suggested by Lawrence Pit).
  1239. 2002-04-15 Patrik Torstensson <[email protected]>
  1240. * IPEndPoint.cs: Fixed build breaker.
  1241. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1242. * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
  1243. complete.
  1244. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1245. * IPAddress.cs: finished all MonoTODO's. Use network order to store
  1246. the address. Check for max and min values in Address:set. IsLoopback()
  1247. returns now true for all 127.x.y.z. Some more checks in Parse ().
  1248. Some changes to behave as MS does.
  1249. 2002-02-24 Duncan Mak <[email protected]>
  1250. * ICredentialLookup.cs: Added the GetCredential method to the
  1251. interface. The interface is named "ICredentials", should this file
  1252. be renamed?
  1253. * NetworkCredential.cs: Added to CVS. Need to investigate on how
  1254. GetCredential() works
  1255. 2002-01-23 Dick Porter <[email protected]>
  1256. * SocketAddress.cs: Implemented.
  1257. * IPEndPoint.cs: Turned 'Address' field into a real property.
  1258. Implemented Create() and Serialize() methods.
  1259. * IPAddress.cs: Fixed class constructor, turned 'Address' field
  1260. into a real property. Removed undocumented "public
  1261. IPAddress(string)" constructor.
  1262. * EndPoint.cs: Implemented. All methods return
  1263. NotSupportedException to enforce subclass overriding.
  1264. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
  1265. P/Invokes with portable internal calls.
  1266. 2002-01-17 Miguel de Icaza <[email protected]>
  1267. * Dns.cs: Updated to API changes.
  1268. * IPAddress.cs: Updated API. Much left to implement.
  1269. * Dns.cs: Remove IPToString method
  1270. 2002-01-06 Ravi Pratap <[email protected]>
  1271. * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
  1272. attribute insertion.
  1273. 2001-11-22 Nick Drochak <[email protected]>
  1274. * IPAddress.cs: Fix constructor bug, properly name Address property,
  1275. and use triple-slash for comments.
  1276. 2001-11-20 Miguel de Icaza <[email protected]>
  1277. * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
  1278. None as suggested by Phillip.
  1279. 2001-09-26 Mads Pultz <[email protected]>
  1280. * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
  1281. 2001-09-24 Mads Pultz <[email protected]>
  1282. * Dns.cs: Minor changes (some print statements removed)
  1283. 2001-09-23 Mads Pultz <[email protected]>
  1284. * Dns.cs: Initial work submitted to repository.
  1285. * IPHostEntry.cs: Initial work submitted to repository.
  1286. 2001-07-12 Sean MacIsaac <[email protected]>
  1287. * Authorization.cs: Fixed compiler error.
  1288. * IAuthenticationModule.cs: Changes for Beta2.
  1289. * IPAddress.cs: Internal storage changed to be uint not int.
  1290. * IPEndPoint.cs: Fixed compiler error.
  1291. * EndPoint.cs: Fixed compiler error.
  1292. * AuthenticationManager.cs: Fixed typo.