ChangeLog 99 KB

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