ChangeLog 91 KB

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