ChangeLog 86 KB

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