ChangeLog 98 KB

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