ChangeLog 87 KB

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