ChangeLog 106 KB

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