ChangeLog 87 KB

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