ChangeLog 75 KB

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