ChangeLog 72 KB

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