ChangeLog 89 KB

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