ChangeLog 105 KB

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