ChangeLog 72 KB

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