ChangeLog 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724
  1. 2006-03-11 Miguel de Icaza <[email protected]>
  2. * WebClient.cs: Only expose the right methods to avoid warnings.
  3. * FtpDataStream.cs (Dispose): Fix signature.
  4. * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
  5. like we are missing features here).
  6. * IPAddress.cs: Move m_HashCode property to the end, and set
  7. pragmas to disable warnings.
  8. 2006-02-16 Dick Porter <[email protected]>
  9. * IPEndPoint.cs: The SocketAddress AddressFamily takes up the
  10. first two bytes, not just one. Check the size of the
  11. SocketAddress buffer for IPv6 as well.
  12. * Dns.cs: Cope when GetHostByName_internal or
  13. GetHostByAddr_internal returns fewer items in the array than it
  14. intended to (maybe due to conversion errors.)
  15. 2006-02-09 Carlos Alberto Cortez <[email protected]>
  16. * FtpWebResponse.cs: Add UpdateStatus method, to update both
  17. statusCode and statusDescription at the same time.
  18. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  19. * FtpWebRequest.cs: Remove WebExceptionStatus argument
  20. from CreateExceptionFromResponse, since exceptions gotten
  21. from server response always have a WebExceptionStatus.ProtocolError
  22. value.
  23. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  24. * FtpWebRequest.cs: Add renaming support when using
  25. WebRequestMethods.Ftp.Rename method.
  26. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  27. * ChunkedInputStream.cs:
  28. * ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
  29. Sakowski.
  30. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  31. * HttpWebRequest.cs: don't send the expect-100 if if there's no content.
  32. * HttpListenerRequest.cs:
  33. * HttpConnection.cs:
  34. * RequestStream.cs: use the content length header to avoid reading past
  35. the end of the stream.
  36. Patch by Horst Reiterer.
  37. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  38. * FtpWebRequest.cs: Add supportedCommands array with the sorted
  39. methods, to search using Array.BinarySearch. Remove CheckMethod.
  40. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  41. * FtpWebRequest.cs: Fixed some typos and small issues.
  42. 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
  43. * HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
  44. property.
  45. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  46. * FtpRequestCreator.cs:
  47. * FtpAsyncResult.cs:
  48. * FtpDataStream.cs:
  49. * FtpWebRequest.cs:
  50. * FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
  51. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  52. * FtpStatusCode.cs: Fix a typo.
  53. 2006-01-26 Gonzalo Paniagua Javier <[email protected]>
  54. * WebClient.cs: (2.0) UploadString() returns string, not void.
  55. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  56. * HttpWebResponse.cs: ignore non-integer values for max-age and version.
  57. Fixes bug #77199. Thanks to Cyrille Colin.
  58. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  59. * HttpWebResponse.cs: cope with malformed cookies with '=' as value.
  60. Patch by Cyrille Colin. Fixes bug #77179.
  61. 2005-12-25 Carlos Alberto Cortez <[email protected]>
  62. * FtpStatusCode.cs: New 2.0 enum.
  63. 2005-12-09 Gonzalo Paniagua Javier <[email protected]>
  64. * CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
  65. Colin.
  66. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  67. * HttpWebResponse.cs: don't loop forever when no name or value between
  68. semicolons. Fixes bug #76943.
  69. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  70. * HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
  71. without a value. Fixes bug #76922.
  72. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  73. * EndPointListener.cs:
  74. * HttpListenerRequest.cs: don't require the Host header for 1.0. Just
  75. map that to the '*' or '+' host.
  76. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  77. * IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
  78. Fixes bug #76792.
  79. 2005-11-21 Senganal T <[email protected]>
  80. * Dns.cs : corrected a mistake in GetHostEntry ()
  81. 2005-11-21 Senganal T <[email protected]>
  82. * Dns.cs : added GetHostEntry() method for 2.0 api conformance
  83. 2005-11-18 Gonzalo Paniagua Javier <[email protected]>
  84. * HttpRequestHeader.cs: add missing values.
  85. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  86. * HttpListenerPrefixCollection.cs:
  87. * HttpWebResponse.cs:
  88. * Dns.cs:
  89. * HttpListenerRequest.cs:
  90. * HttpWebRequest.cs:
  91. * HttpListenerResponse.cs: a few signature fixes for 2.0.
  92. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  93. * HttpListenerPrefixCollection.cs:
  94. * EndPointListener.cs:
  95. * HttpStreamAsyncResult.cs:
  96. * HttpListenerContext.cs:
  97. * HttpListenerBasicIdentity.cs:
  98. * AuthenticationSchemeSelector.cs:
  99. * HttpListener.cs:
  100. * WebHeaderCollection.cs:
  101. * ListenerPrefix.cs:
  102. * HttpListenerException.cs:
  103. * HttpResponseHeader.cs:
  104. * EndPointManager.cs:
  105. * HttpListenerRequest.cs:
  106. * HttpRequestHeader.cs:
  107. * BindIPEndPoint.cs:
  108. * ResponseStream.cs:
  109. * ChunkedInputStream.cs:
  110. * HttpStatusCode.cs:
  111. * ListenerAsyncResult.cs:
  112. * ChunkStream.cs:
  113. * HttpConnection.cs:
  114. * HttpUtility.cs:
  115. * HttpListenerResponse.cs:
  116. * RequestStream.cs: initial implementation of HttpListener. There are
  117. a few TODOs left (cookies, HTTPS) but almost everything else is in.
  118. 2005-11-15 Sebastien Pouliot <[email protected]>
  119. * IPv6Address.cs: Added on overload to ToString to get a the full
  120. length address returned (as required by System.Uri).
  121. 2005-11-15 Carlos Alberto Cortez <[email protected]>
  122. * WebRequestMethods.cs: New 2.0 class.
  123. 2005-11-05 Atsushi Enomoto <[email protected]>
  124. * WebClient: use POST for DownloadData(). Fixed bug #76631.
  125. 2005-10-26 Atsushi Enomoto <[email protected]>
  126. * AuthenticationSchemes.cs : Fixed enum values and added [Flags].
  127. 2005-10-19 Atsushi Enomoto <[email protected]>
  128. * WebClient.cs : added net_2_0 DownloadString() and DownloadData()
  129. with HTTP method as well.
  130. 2005-10-19 Atsushi Enomoto <[email protected]>
  131. * WebClient.cs : added UploadString() and Encoding (net_2_0). Added
  132. some new overloaded stuff that takes Uri instead of string address.
  133. 2005-10-17 Sebastien Pouliot <[email protected]>
  134. * ICredentialPolicy.cs: New. Interface for 2.0.
  135. 2005-10-05 Atsushi Enomoto <[email protected]>
  136. * AuthenticationSchemes.cs : new 2.0 enum.
  137. 2005-08-27 Gonzalo Paniagua Javier <[email protected]>
  138. * GlobalProxySelection.cs: remove double lock.
  139. * HttpWebRequest.cs: remove double lock in GetServicePoint() and use
  140. a private object when locking.
  141. 2005-07-15 Miguel de Icaza <[email protected]>
  142. * DigestClient.cs: Fix bug #75556, the qop argument must be
  143. quoted, per http://www.faqs.org/rfcs/rfc2617.html section
  144. `quo-options'.
  145. 2005-07-03 Gonzalo Paniagua Javier <[email protected]>
  146. * WebConnectionStream.cs: initiate writing the body before trying to
  147. read. This fixes the performance problems observed in web services.
  148. Closes bug #75455.
  149. 2005-06-27 Lluis Sanchez Gual <[email protected]>
  150. * IPAddress.cs: Changed field names for the sake of serialization
  151. interoperability with MS.NET.
  152. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  153. * WebConnection.cs: if cnc.EndRead throws, mark the asyncresult as done.
  154. * WebConnectionStream.cs: if we're done with the body of a chunk, don't
  155. require the next chunk header to be there, as some servers might close
  156. the connection (while also sending 'Connection: close').
  157. 2005-06-22 Gonzalo Paniagua Javier <[email protected]>
  158. * HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
  159. to me that this is against 10.3.3 in RFC 2616, but may be the user
  160. 'authorization' to do this is implicit in AllowAutoRedirect...
  161. 2005-06-21 Gonzalo Paniagua Javier <[email protected]>
  162. * WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
  163. if there's no record available to read. This is a workaround that makes
  164. the call to BeginRead itself asynchronous. Fixes bug #75342.
  165. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  166. * WebConnection.cs:
  167. * HttpWebRequest.cs:
  168. * WebConnectionStream.cs: initiate the polling for input data after
  169. sending the header so that we detect any response that the server sends
  170. back even if we're still trying to write the request for a POST/PUT.
  171. If we get the response (or an error) before any one calls GetResponse(),
  172. keep it around instead of ignoring it.
  173. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  174. * HttpWebRequest.cs: send the right header/user/password in
  175. PreAuthenticate in presence of a proxy.
  176. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  177. * IPv6Address.cs: fix IsLoopback. Closes bug #75128.
  178. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  179. * IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
  180. address. Fixes bug #75125.
  181. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  182. * ServicePointManager.cs: when going through a proxy, use 2 different
  183. service points depending on the scheme. Fixes bug #75135.
  184. 2005-05-30 Gonzalo Paniagua Javier <[email protected]>
  185. * Dns.cs: don't parse the address when it comes from an IPAddress.
  186. 2005-05-23 Gonzalo Paniagua Javier <[email protected]>
  187. * WebConnection.cs: prevent 2 nullrefs when the aborting during
  188. Connect() and reset the status to Success before starting a new
  189. request.
  190. 2005-05-19 Sebastien Pouliot <[email protected]>
  191. * WebRequest.cs: Throw NotImplementedException (not NotSupported
  192. Exception) for stuff that should have been abstract. No exception
  193. is thrown by the serialization constructor.
  194. 2005-05-04 James Willcox <[email protected]>
  195. * DigestClient.cs: convert to a hex string with "X8" consistently
  196. for nc-value
  197. 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
  198. * WebConnection.cs: don't rethrow errors in Write, as the error will be
  199. received by GetResponse*. The result is that the threadpool thread doing
  200. this will not end up printing the exception. Fixes bug #74817.
  201. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  202. * ServicePoint.cs: HostEntry needs to be thread safe.
  203. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  204. * WebConnection.cs: removed a 'slightly' important line by mistake.
  205. * WebConnectionStream.cs: if the transfer encoding is chunked, ignore
  206. content-length header if present.
  207. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  208. * WebConnection.cs: no need to use an AutoResetEvent.
  209. * WebConnectionStream.cs: don't start any more reads on the socket
  210. after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
  211. test.
  212. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  213. * BasicClient.cs: firefox/IE just send latin1, stripping the high byte
  214. from unicode >= 256 characters.
  215. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  216. * BasicClient.cs: use latin1 when encoding the username/domain/password.
  217. Fixes bug #74745.
  218. 2005-04-17 Gonzalo Paniagua Javier <[email protected]>
  219. * WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
  220. synchronously, no need to create the ManualResetEvent to wait on.
  221. 2005-04-16 Gonzalo Paniagua Javier <[email protected]>
  222. * WebConnectionStream.cs: call SetComplete in EndWrite when we're not
  223. buffering the request body. Fixes bug #74637.
  224. * WebAsyncResult.cs: renamed field.
  225. 2005-04-14 Gonzalo Paniagua Javier <[email protected]>
  226. * WebConnectionStream.cs:
  227. * WebAsyncResult.cs: ensure we only call EndRead once per async. result.
  228. Update total before invoking the callback when present.
  229. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  230. * WebConnection.cs:
  231. * WebConnectionStream.cs: don't start reading until we've sent at least
  232. the headers. This way we ensure that a Write happens before any Read,
  233. which is needed by the SSL code.
  234. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  235. * HttpWebRequest.cs: ensure we read everything before redirecting.
  236. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  237. * WebConnectionStream.cs: provide a default callback when doing async.
  238. read/write and waiting for a timeout so that the callback sets the
  239. event and we don't block forever. Fixes bug #74539 take 3.
  240. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  241. * WebConnection.cs:
  242. * HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.
  243. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  244. * WebConnection.cs: fix some breakage from my last patch.
  245. * WebConnectionStream.cs: invoke the callback when done even in EndRead.
  246. 2005-04-10 Sebastien Pouliot <[email protected]>
  247. * WebConnection.cs: Added support for TrustFailure when throwing a
  248. WebException. Fix bug #74286.
  249. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  250. * HttpWebRequest.cs:
  251. * WebConnectionStream.cs: implemented support for ReadWriteTimeout.
  252. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  253. * WebConnection.cs: if we're reading chunked data and didn't use the
  254. stream to read, we gotta set the async. result as complete and invoke
  255. the callback. Don't call nstream.EndRead with the wrong IAsyncResult.
  256. * WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
  257. cnc.EndRead. Lock on a field instead of 'this'.
  258. 2005-04-09 Gonzalo Paniagua Javier <[email protected]>
  259. * HttpWebRequest.cs: throw the exception if we got an error, as now
  260. it's catched in the redirection handling code.
  261. 2005-04-08 Gonzalo Paniagua Javier <[email protected]>
  262. * HttpWebRequest.cs: moved redirection handling to a proper place.
  263. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  264. * WebHeaderCollection.cs: added if-modified-since to the list of
  265. restricted headers.
  266. * ServicePoint.cs: use a field object when locking.
  267. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  268. * WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
  269. need to wait for a Close/ReadAll when we have no content.
  270. 2005-04-04 Gonzalo Paniagua Javier <[email protected]>
  271. * NtlmClient.cs: fix typo in assembly name.
  272. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  273. * CookieContainer.cs: adding to a CookieCollection might not increment
  274. the number of items if the cookie is replaced. Now Count works properly.
  275. Fixed an array index exception (typo).
  276. * CookieCollection.cs: also compare the version.
  277. * HttpWebResponse.cs: when we have cookies, add them to the request
  278. container.
  279. * HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
  280. 2005-03-30 Miguel de Icaza <[email protected]>
  281. * Cookie.cs: Compare using the InvariantCulture, to match the
  282. behavior of CookieContainer that already did this.
  283. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  284. * WebConnection.cs: we don't need to trigger the next queued request
  285. until the response is closed.
  286. 2005-03-29 Miguel de Icaza <[email protected]>
  287. * HttpWebResponse.cs: Handle quotations in the cookies values, per
  288. the spec http://www.faqs.org/rfcs/rfc2109.html, it is allowed to
  289. have quotations.
  290. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  291. * BasicClient.cs:
  292. * DigestClient.cs: check that GetCredential() does not return null.
  293. 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
  294. * BasicClient.cs: ensure credentials are not null.
  295. 2005-03-10 Gonzalo Paniagua Javier <[email protected]>
  296. * HttpWebResponse.cs: moved cookie parsing into its own class.
  297. * WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
  298. call.
  299. * HttpWebRequest.cs: don't let exception raised in the ctor of
  300. HttpWebResponse vanish.
  301. Fixes bug #73275.
  302. 2005-03-01 Gonzalo Paniagua Javier <[email protected]>
  303. * WebHeaderCollection.cs: handle commas inside quotes when splitting
  304. a multi-value header. Fixes bug #73151.
  305. 2005-02-13 Gonzalo Paniagua Javier <[email protected]>
  306. * DigestClient.cs: fix for digest auth. and URIs containing query. Patch
  307. by James Wilcox. Fixes bug #72571.
  308. 2005-02-12 Gonzalo Paniagua Javier <[email protected]>
  309. * HttpWebResponse.cs:
  310. * WebConnection.cs:
  311. * HttpWebRequest.cs:
  312. * WebConnectionStream.cs: don't read the entire response unless the
  313. user requests it. Fixes bug #72443.
  314. 2005-02-08 Zoltan Varga <[email protected]>
  315. * IPv6Address.cs: Fix endianess problems.
  316. * IPAddress.cs: Fix misleading comments.
  317. 2005-02-04 Gonzalo Paniagua Javier <[email protected]>
  318. * HttpWebRequest.cs: send the headers when we're supposed to write
  319. a POST/PUT but call GetResponse before GetRequestStream.
  320. * WebConnectionStream.cs: new RequestWritten property.
  321. 2005-01-20 Jonathan Pryor <[email protected]>
  322. * EndpointPermission.cs: Fix IsSubsetof(hostname) so that the regression
  323. tests work. In particular, IsSubsetOf ("12.13.*.*", "12.13.14.*") failed
  324. because 14 wasn't a subset of * (which it is). Fix: if part1 is we
  325. continue to the next portion.
  326. 2005-01-20 Jonathan Pryor <[email protected]>
  327. * IPAddress.cs (ParseIPV4): Fix so that the regression tests work. In
  328. particular, " foo" and ".1.1.6" weren't being caught (" foo" because it
  329. started with a space, and ".1.1.6" because the split string accepted a
  330. 0-length portion, which would make 1...6 valid, but isn't valid based on
  331. similar test cases).
  332. 2005-01-20 Jonathan Pryor <[email protected]>
  333. * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
  334. commas if the header is a Multi-Value header. This matches
  335. MonoTests.System.Net.WebHeaderCollectionTest.
  336. 2005-01-19 Sebastien Pouliot <[email protected]>
  337. * WebPermissionAttribute.cs: Fixed NET_1_1 behaviour.
  338. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  339. * WebConnectionStream.cs: remove unneeded check. Write detects and
  340. triggers the exception now.
  341. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  342. * AuthenticationManager.cs: don't lock on a public Type.
  343. * HttpWebRequest.cs: read the error response for auth. errors.
  344. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  345. * HttpWebRequest.cs: set webResponse back to null when redirecting.
  346. Fix the previous patch so that it reads the whole response even if
  347. auto-redirect is not enabled. Closes bug #70484.
  348. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  349. * HttpWebResponse.cs: added ReadAll method.
  350. * WebConnection.cs: in HandleError, set the response error after
  351. closing the socket. Use an async. delegate to finish reading any prior
  352. WebConnectionStream.
  353. * HttpWebRequest.cs: for error responses that allow content, read the
  354. stream immediately. Fixes bug #70483.
  355. 2004-12-11 Gonzalo Paniagua Javier <[email protected]>
  356. * CookieContainer.cs: quote the port number.
  357. 2004-12-10 Gonzalo Paniagua Javier <[email protected]>
  358. * WebConnection.cs:
  359. * WebConnectionStream.cs: removed TryReconnect. It's no longer needed.
  360. 2004-12-05 Gonzalo Paniagua Javier <[email protected]>
  361. * WebConnection.cs: set the event in Close so that if the queue is
  362. empty, we won't block forever on next request. The finalizer was
  363. removed because we're not implementing IDisposable pattern here.
  364. 2004-12-04 Gonzalo Paniagua Javier <[email protected]>
  365. * WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
  366. * ChunkStream.cs: added error checking all over.
  367. * HttpWebRequest.cs: throw the exception received in SetResponseError
  368. if we already have a response.
  369. (SetRequestData): Don't nest the exception if it's a WebException.
  370. 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
  371. * WebConnection.cs: remove prevStream and don't set busy to false in
  372. HandleError. prevStream is not needed any more and setting 'busy' so
  373. early might let a request skip the queue.
  374. * WebConnectionGroup.cs: decrement the indexer when removing a dead
  375. reference from the arraylist.
  376. * WebConnectionStream.cs:
  377. (ReadAll): call NextRead if it has not been called before even when
  378. we have completed the request. Reuse the read buffer when reading a
  379. response of unknown size. Increase the buffer to 8kB.
  380. (BeginRead): increase pendingReads earlier and even when reading from
  381. the internal buffer.
  382. (EndRead): decrease pendingReads later and always.
  383. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  384. * CookieContainer.cs: style, fixed checks for properties, implemented
  385. the MonoTODOs for the method that take an Uri. GetCookies and
  386. GetCookieHeaders now really return only the cookies that are requested
  387. filtering by the Uri parameter.
  388. * Cookie.cs: style, added default values for Comment, Domain and Port.
  389. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  390. * CookieCollection.cs: reformatted, fixed Add by adding a new method to
  391. search across the arraylist, as list.IndexOf is not what we want.
  392. 2004-11-19 Gonzalo Paniagua Javier <[email protected]>
  393. * WebConnection.cs: check for FIN or RST on the socket before reusing.
  394. Fixes bug #69388.
  395. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  396. * ChunkStream.cs: simplified condition for WantMore property.
  397. * WebConnection.cs: in Connect(), finish any pending reads we might
  398. have for chunked data. Ignore possible blank lines at the very
  399. beginning of the server response. Honor user set KeepAlive in
  400. HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
  401. his suggestions and code.
  402. 2004-11-01 Gonzalo Paniagua Javier <[email protected]>
  403. * HttpWebResponse.cs: don't lock up when the cookie received ends with
  404. a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.
  405. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  406. * HttpWebRequest.cs: don't fail if the request has already been sent
  407. when accessing ContentType setter. Fixes bug #68848.
  408. 2004-10-25 Gonzalo Paniagua Javier <[email protected]>
  409. * ChunkStream.cs:
  410. (WantMore): we're not done until we get a 0 chunk size and the trailer.
  411. The 0 can be expressed as more than one character too (ie, 000000).
  412. * HttpWebRequest.cs: new argument in SetResponseError.
  413. * WebConnection.cs: added argument to HandleError as a hint for
  414. debugging.
  415. (Connect): make the chunked stream be in the expected state when
  416. reusing.
  417. * WebConnectionStream.cs: removed unused method (ResetWriteBuffer).
  418. 2004-10-10 David Sheldon <[email protected]>
  419. * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
  420. 2004-10-05 Gonzalo Paniagua Javier <[email protected]>
  421. * HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
  422. * WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
  423. SetInternal.
  424. 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
  425. * HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
  426. tunneling a secure connection.
  427. * ServicePoint.cs: added UseConnect property.
  428. * ServicePointManager.cs: set the UseConnect property when we use a http
  429. proxy for a https connection.
  430. * WebConnection.cs: setup the tunnled connection when using a proxy and
  431. https.
  432. 2004-09-13 Gonzalo Paniagua Javier <[email protected]>
  433. * HttpWebResponse.cs: remove unused SplitValue method.
  434. 2004-09-10 Sebastien Pouliot <[email protected]>
  435. * DnsPermission.cs: Updated to pass new unit tests.
  436. * DnsPermissionAttribute.cs: Cleanup.
  437. * SocketPermission.cs: Updated to pass new unit tests.
  438. * SocketPermissionAttribute.cs: Updated to pass new unit tests.
  439. * WebPermission.cs: Implemented some TODO - not complete yet.
  440. * WebPermissionAttribute.cs: Updated to pass new unit tests.
  441. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  442. * Cookie.cs: don't fail when using default constructor. Fixes bug
  443. #62890.
  444. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  445. * HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
  446. than once and have multiple values. Don't rely on string.split when
  447. parsing cookie values.
  448. * WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
  449. Fixed GetValues (it was splitting values that contained a comma) and
  450. changed SetInternal to handle multi-value headers.
  451. Fixes bug #62744.
  452. 2004-07-26 Gonzalo Paniagua Javier <[email protected]>
  453. * WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
  454. ([email protected]).
  455. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  456. * HttpWebRequest.cs: detect changes in scheme or port when redirecting.
  457. Fixes las take on bug 61218.
  458. 2004-07-14 Gonzalo Paniagua Javier <[email protected]>
  459. * WebConnection.cs: moved loading of the ssl stream Type to its own
  460. method. Don't create a new ssl stream if we're reusing the connection.
  461. * WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
  462. is the expected even if the dta from the server has extra bytes.
  463. 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
  464. * WebConnection.cs:
  465. * WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
  466. "responses MUST NOT include a message-body". We tried to read the
  467. stream even when getting those codes and considered the 0 length
  468. read as a failure.
  469. 2004-07-09 Gonzalo Paniagua Javier <[email protected]>
  470. * HttpWebRequest.cs: removed bogus Monitor.Exit.
  471. * WebConnection.cs: use Address instead of RequestUri when checking for
  472. the scheme in order to select the stream type. Fixes bug #61218.
  473. 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
  474. * ChunkStream.cs: added ChunkLeft property.
  475. * WebConnection.cs:
  476. (EndRead): when using small byte arrays to read from a chunked stream,
  477. ensure we've read the chunk size and try to fulfill the request
  478. completely. fixes bug 59653.
  479. 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
  480. * WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.
  481. 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
  482. * DigestClient.cs: cache the sessions based on address and
  483. credentials, not only address. Added poor men's expiration to
  484. the session cache. Fixes bug #59202.
  485. 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
  486. * IPAddress.cs:
  487. * IPEndPoint.cs:
  488. * IPv6Address.cs: no more warnings about IPAddress.Address.
  489. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  490. * WebException.cs: implemented serialization .ctor and
  491. GetObjectData().
  492. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  493. * WebAsyncResult.cs: don't create the WaitHandle if not needed.
  494. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  495. * HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
  496. used yet.
  497. * NetConfig.cs: added MaxResponseHeadersLength field.
  498. * ServicePoint.cs:
  499. * ServicePointManager.cs: added missing properties for 1.1.
  500. 2004-05-03 Sebastien Pouliot <[email protected]>
  501. * WebConnection.cs: Use assembly name const to load Mono.Security.
  502. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  503. * NtlmClient.cs: Use assembly name const to load Mono.Security.
  504. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  505. * WebConnectionStream.cs: avoid the exception when getting the content
  506. length if possible.
  507. 2004-03-29 Lluis Sanchez Gual <[email protected]>
  508. * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
  509. the lock is released in case of exception (for example, a
  510. ThreadAbortException). This also "fixes" bug #52417.
  511. Beware, this requires a runtime update (due to a bug in Monitor.Exit).
  512. * ServicePoint.cs: Changed method from internal to private, since it
  513. is not called from outside the class.
  514. 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
  515. * HttpWebRequest.cs: added the exception status to the error message.
  516. * WebConnection.cs: add headers using SetInternal instead of Add to
  517. bypass header name validation. Fixes bug #55994.
  518. * WebHeaderCollection.cs: added SetInternal (string header).
  519. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  520. * WebConnection.cs:
  521. * WebConnectionGroup.cs: the requests queue is now shared for all the
  522. connections belonging to the same connection group.
  523. 2004-02-26 Sebastien Pouliot <[email protected]>
  524. * DefaultCertificatePolicy.cs: New. Certificate validation
  525. policy compatible with the documented one present in Fx. It
  526. allows valid certificates and expired certificates to be used
  527. for SSL connections.
  528. * ServicePointManager.cs: Removed the DummyPolicy. Now creates
  529. a DefaultCertificatePolicy to validate certificates.
  530. 2004-02-26 Gonzalo Paniagua Javier <[email protected]>
  531. * ServicePoint.cs: SendContinue is always false for HTTP/1.0
  532. * WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
  533. calling more the ContinueDelegate more than once when we get the
  534. headers in several packets.
  535. * WebConnectionStream.cs: removed call to WaitForContinue.
  536. 2004-02-25 Sebastien Pouliot <[email protected]>
  537. * WebConnection.cs: Update previous patch to use HttpsClientStream
  538. (internal in Mono.Security assembly) in place of SslClientStream.
  539. This will reduce reflection and allow to use ICertificatePolicy.
  540. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  541. * DigestClient.cs: fix quote handling. Reordered attributes in response.
  542. Fixed typo (QOP->CNonce). Now Digest works with apache2.
  543. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  544. * DigestClient.cs: removed Console.
  545. * HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.
  546. 2004-02-24 Sebastien Pouliot <[email protected]>
  547. * DigestClient.cs: Fixed issue with Apache server which do not use "
  548. for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").
  549. 2004-02-20 Gonzalo Paniagua Javier <[email protected]>
  550. * HttpWebRequest.cs: arghhh. I used the server response headers instead
  551. of what the client is supposed to send. Thanks to Helge Hess.
  552. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  553. * AuthenticationManager.cs: implemented PreAuthenticate().
  554. * HttpWebRequest.cs: once we know the version of the server, use it if
  555. below the requested one. Remove 'Expect', 'Content-Length' and /or
  556. 'Transfer-Encoding' if appropiate due to changes in version. Fixed
  557. 'Host' header for non-standard ports. Support preauthentication. Closes
  558. bug #50530.
  559. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  560. * HttpWebRequest.cs: check for missing or wrong URI in Location header
  561. when redirecting.
  562. * WebConnection.cs: if the data read does not contain all the headers,
  563. keep it around and read the rest until we get to the response body.
  564. Allow response code with no description. Fixed bug #54543.
  565. 2004-02-18 Sebastien Pouliot <[email protected]>
  566. * SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
  567. Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
  568. profile (as we need it for SslClientStream).
  569. * ServicePoint.cs: Added internal SetCertificates(client,server).
  570. * ServicePointManager.cs: Added CheckCertificateRevocationList and
  571. CheckCertificateRevocationList static properties (public in 1.1,
  572. internal for 1.0).
  573. * WebConnection.cs: Dynamically creates a SslClientStream (from
  574. Mono.Security assembly) in case of https. Changed NetworkStream to
  575. Stream everywhere.
  576. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  577. * HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
  578. don't know the server version or it's 1.0.
  579. * ServicePoint.cs: added SetVersion.
  580. * WebAsyncResult.cs: remove ChunkAsyncResult.
  581. * WebConnection.cs: set the ServicePoint version when getting a response
  582. from the server.
  583. * WebConnectionStream.cs: when posting chunked content, send the head,
  584. body and trailer of the chunk at once instead of doing 3 separate
  585. writes, which may cause troubles.
  586. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  587. * WebConnection.cs: if we get a 100 when we're not waiting for it, set
  588. that information in the ServicePoint.
  589. * WebConnectionStream.cs: send headers in the right order for
  590. non-chunked POST.
  591. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  592. * WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.
  593. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  594. * HttpWebRequest.cs: on second and sucesive tries when authenticating,
  595. don't use chunked encoding for POST, as we know the content length and
  596. have the body. Nullify bodyBuffer always in CheckFinalStatus.
  597. * WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
  598. IAsyncResult when writing CRLF at the end of a chunk.
  599. * WebConnectionStream.cs: support sending chunked data.
  600. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  601. * HttpWebRequest.cs: When retrying a POST request after an
  602. authentication failure, resend the body. This fixes bug #51841.
  603. * WebConnectionStream.cs: Added properties for getting what's been
  604. written.
  605. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  606. * HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.
  607. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  608. * HttpWebRequest.cs: support proxy authentication.
  609. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  610. * BasicClient.cs:
  611. * DigestClient.cs: use IndexOf instead of StartsWith to deal with
  612. servers that provide several authentication schemas.
  613. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  614. * ChunkStream.cs: use an array of buffers instead of a MemoryStream for
  615. storing the chunks. This way, we won't miss traling data from the
  616. previous chunk when a new one is received before the other is fully
  617. read.
  618. 2004-01-27 Nick Drochak <[email protected]>
  619. * DigestClient.cs:
  620. * HttpWebRequest.cs:
  621. * IPv6Address.cs:
  622. * WebClient.cs:
  623. * WebConnection.cs:
  624. * WebConnectionStream.cs: Remove unused variables thus eliminating some
  625. build warnings.
  626. 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
  627. * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
  628. handling for the case when the same packet also contains the actual
  629. [2-5]xx response.
  630. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  631. * HttpWebRequest.cs: Added missing property.
  632. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  633. * Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
  634. bug #53222.
  635. 2004-01-16 Lluis Sanchez Gual <[email protected]>
  636. * ChunkStream.cs: The "size" parameter of Write is not the number of
  637. bytes to write, but the last offset to be written. Thus, in WriteAndRead
  638. Back, since "read" is not an offset but the number of bytes, it must be
  639. added to the offset. Maybe it would be a good idea to change the name of
  640. the parameter, since it is confusing. This should fix bug #52591.
  641. 2004-01-12 Lluis Sanchez Gual <[email protected]>
  642. * WebConnection.cs: Yet another fix for WebConnection. This fixes
  643. bug #52169.
  644. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  645. * WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
  646. tidied up the end of ReadDone. Disabled relaunching the request if 2
  647. InitRead are called, since now we don't throw everything into
  648. RegisterWaitForSingleObject but one request at a time.
  649. * WebConnectionGroup.cs: when checking available connections, allow them
  650. not to be Connected but allocated to honor the connection limit.
  651. * WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
  652. too. ReadAll don't mess contentLength if it's provided in the headers.
  653. BIG thanks to Lluis. Turns out that we were debugging the same stuff and
  654. his Data.Init discovery was THE thing I was missing.
  655. Fixes bug #51277.
  656. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  657. * ServicePointManager.cs: use GetMaxConnections to get the appropiate
  658. number of connections limit.
  659. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  660. * MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
  661. guilty for bug 52629.
  662. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  663. * CredentialCache.cs: return null instead of throwing NotImplemented.
  664. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  665. * HttpWebRequest.cs: fixed checking if method allows a body. Patch by
  666. Benjamin Jemlich ([email protected]).
  667. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  668. * HttpWebRequest.cs: deal with authentication schemes that have more
  669. than 1 round trip (Ntlm).
  670. 2003-12-11 Gonzalo Paniagua Javier <[email protected]>
  671. * NtlmClient.cs: new class that actually uses one from Mono.Http to do
  672. the authentication.
  673. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  674. * HttpWebRequest.cs: when building the redirect URI, use the previous
  675. one as the base URI, which makes relative URIs work.
  676. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  677. * DigestClient.cs: merged in code from Sebastien Pouliot and Greg
  678. Reinacker that Supports cnonce and preauthentication.
  679. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  680. * DigestClient.cs: initial Digest authentication. Works with apache
  681. mod_digest.
  682. 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
  683. * HttpWebRequest.cs: removed unneeded StringBuilder.
  684. * WebConnection.cs: default to keep the connection open for HTTP/1.1
  685. only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
  686. 2003-11-17 Gonzalo Paniagua Javier <[email protected]>
  687. * WebConnection.cs: turns out that socket.Connected is not useful until
  688. we actually try to send/receive data, even if the other end has already
  689. closed the socket. Added TryReconnect() and Connected.
  690. * WebConnectionData.cs: default value for StatusCode is 0 now.
  691. * WebConnectionGroup.cs: reuse the connection since the beginning,
  692. instead of opening up to ConnectionLimit and then reusing.
  693. * WebConnectionStream.cs: reopen the socket if we're trying to reuse
  694. one which fails on first write.
  695. 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
  696. * WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
  697. wrap it and do our job before calling it. Fixes bug #48497.
  698. 2003-11-12 Andreas Nahr <[email protected]>
  699. * WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
  700. * SecurityProtocolType.cs: Added and implemented
  701. 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
  702. * HttpWebRequest.cs: fixed redirects when they target another host.
  703. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  704. * IPAddress.cs: prevent exceptions when trying to parse the static IPv6
  705. addresses.
  706. 2003-10-17 Pedro Martínez Juliá <[email protected]>
  707. * WebClient.cs: use Path.DirectorySeparator instead of "/" for
  708. windows compatibility. Add some checks for file paths like
  709. "C:/xxx/yyy/..." and like "/home/xxx/...".
  710. 2003-10-16 Pedro Martínez Juliá <[email protected]>
  711. * WebClient.cs: added a slash between directory and file names.
  712. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  713. * HttpWebRequest.cs:
  714. * HttpWebResponse.cs: better abort handling and leave the stream in a
  715. stable status on abort.
  716. 2003-10-12 Pedro Martínez Juliá <[email protected]>
  717. * WebClient.cs: refine reading of local files (like MS.NET).
  718. 2003-10-10 Pedro Martínez Juliá <[email protected]>
  719. * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
  720. but we didn't. Now, when Uri fails with an exception, it adds
  721. "file://" before the URI and tries again.
  722. 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
  723. * ServicePoint.cs: preparing for recycling. Not yet finished.
  724. * ServicePointManager.cs: this is the one that reads config.
  725. * WebConnectionGroup.cs: don't read config here.
  726. * WebConnection.cs: added the queue again. Launch queued requests on
  727. error.
  728. 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
  729. * WebConnection.cs: the queue is now handled by the threadpool.
  730. Initialize the connection data in a place where it does not depend on
  731. the execution order of the requests in threadpool. More error handling.
  732. * WebConnectionGroup.cs: use the limits in the config file and reuse
  733. connections when the limit is reached.
  734. 2003-10-02 Gonzalo Paniagua Javier <[email protected]>
  735. * HttpWebRequest.cs: handle 304 à la MS.
  736. * WebConnection.cs: set the response data when reading 0 bytes.
  737. 2003-09-16 Gonzalo Paniagua Javier <[email protected]>
  738. * WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
  739. invalid state.
  740. 2003-08-14 Nick Drochak <[email protected]>
  741. * WebRequest.cs: Check lower case string since that is what we will add.
  742. 2003-08-04 Jerome Laban <[email protected]>
  743. * IPHostEntry.cs: Default contructor must not initialize members.
  744. (Fixes bug #45575).
  745. 2003-07-27 Andreas Nahr <[email protected]>
  746. * CredentialCache.cs: Removed undefined serializable attribute
  747. 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
  748. * ChunkStream.cs:
  749. (WantMore): true if we've not received the last chunk yet. Fixes
  750. bug #45463. Thanks to Miguel for tracking this down and providing a
  751. test case.
  752. * WebConnection.cs: removed bogus ^M's.
  753. * WebHeaderCollection.cs: provide more info when the header or value is
  754. wrong.
  755. 2003-07-15 Andreas Nahr <[email protected]>
  756. * ChunkStream.cs: Removed unused members
  757. * IPAddress.cs: Removed unused exception variable, fixes compiler
  758. warning.
  759. * WebConnection.cs: Removed unused exception variables, fixes compiler
  760. warnings.
  761. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  762. * NetConfig.cs: If Clone method is not public, then it must use
  763. explicit interface method implementation syntax.
  764. 2003-07-14 Jerome Laban <[email protected]>
  765. * Dns.cs: Reworked indentation.
  766. Added IPv6 support.
  767. Added literal address checking in GetHostByAddress.
  768. Changed Dns.Resolve behavior.
  769. * IPAddress.cs:
  770. * IPEndPoint.cs: Added IPv6 support.
  771. * IPv6Address.cs: Added address compression.
  772. * NetConfig.cs: Added configuration section.
  773. 2003-07-14 Jerome Laban <[email protected]>
  774. * ServicePoint.cs: Removed Connect and GetEndPoint methods.
  775. Removed reverse resolution when uri is literal IP address.
  776. * WebConnection.cs: IPv6 compatibility update: Try to connect
  777. to all addresses returned by IPHostEntry.
  778. * WebConnectionGroup.cs: Removed unused parameter.
  779. 2003-07-13 Andreas Nahr <[email protected]>
  780. * WebProxy.cs: Add serialization/ deserialization support
  781. 2003-07-10 Andreas Nahr <[email protected]>
  782. * ProxyUseType.cs:
  783. * WebStatus.cs: Deleted (do not exist in this assembly)
  784. * IPv6Address.cs: Made internal
  785. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  786. * HttpWebRequest.cs:
  787. * ServicePointManager.cs:
  788. * WebConnection.cs: added support for proxies.
  789. 2003-07-05 Andreas Nahr <[email protected]>
  790. * DnsPermissionAttribute.cs:
  791. * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
  792. 2003-07-05 Andreas Nahr <[email protected]>
  793. * WebPermission.cs: Added and partially implemented
  794. * WebPermissionAttribute.cs: Added and implemented
  795. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  796. * WebClient.cs: fixed bug #45651.
  797. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  798. * WebClient.cs: Small fix by Sebastian <[email protected]>.
  799. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  800. * WebConnection.cs: fixed header writing the reusing a connection and
  801. the server does not send 100-continue response.
  802. 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
  803. * WebConnection.cs: close the socket and connection when disposing.
  804. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
  805. when creating instances.
  806. * HttpWebRequest.cs:
  807. * HttpWebResponse.cs:
  808. * FileWebRequest.cs: support serialization.
  809. * FileWebResponse.cs: support serialization and fixed dispose checks.
  810. * FileWebRequestCreator.cs:
  811. * HttpRequestCreator.cs: added internal .ctor.
  812. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  813. * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
  814. called before asyncWrite.SetCompleted, to make sure that the waiting
  815. thread does not start to send more information before
  816. SendRequestHeaders has finished.
  817. 2003-06-22 Lluis Sanchez Gual <[email protected]>
  818. * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
  819. read is really needed.
  820. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  821. * WebHeaderCollection.cs: prevent duplication headers used niternally.
  822. 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
  823. * HttpWebRequest.cs: if CookieContainer has not been set, make
  824. HttpWebResponse ignore Set-Cookie* headers.
  825. * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
  826. CookieContainer have been provided to the request.
  827. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  828. * AuthenticationManager.cs: get the list of authentication modules from
  829. the configuration files. Added Clear and fixed Unregister.
  830. * BasicClient.cs: fully implemented.
  831. * HttpWebRequest.cs: added support for Basic authentication when
  832. credentials are set.
  833. * NetworkCredential.cs: fixed GetCredential.
  834. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  835. * HttpWebRequest.cs: *really* take care of requestSent to prevent
  836. sending the same request twice.
  837. * WebAsyncResult.cs: don't close the handle. Just Reset.
  838. * WebConnectionStream.cs: removed unneeded line.
  839. 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
  840. * HttpWebRequest.cs: use InternalClose when we are not going to send the
  841. rest of the request stream because of an error after sending the
  842. headers.
  843. * WebConnection.cs: check for completion after setting the response.
  844. Enable reading in NextRead.
  845. * WebConnectionStream.cs: re-fixed the count for partially buffered
  846. reads. If the network stream returns 0 bytes, we're done.
  847. 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
  848. * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
  849. special headers *after* the others.
  850. 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
  851. * WebConnectionStream.cs: when the read is partially filled from the
  852. initial buffer, add those bytes too. Thanks to Lluis for debugging this.
  853. 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
  854. * HttpWebRequest.cs: added ExpectContinue property.
  855. * WebConnection.cs: allow 100 Continue to be delayed after waiting for
  856. it.
  857. 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
  858. * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
  859. is known not to respond to that.
  860. * ServicePoint.cs: added SendContinue property.
  861. * WebConnection.cs: only wait 2 seconds for a continue reply. If it
  862. timeouts, set SendContinue to false and proceeed sending data.
  863. * WebConnectionStream.cs: if 100-continue is not received and instead we
  864. get a 417 or anything else, don't send the data.
  865. * WebClient.cs: implemented all missing properties and methods except
  866. UploadFile.
  867. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  868. * FileWebRequestCreator.cs: splitted from WebRequest.
  869. * HttpRequestCreator.cs: splitted fromWebRequest.
  870. * WebRequest.cs: added methods that are used by the new configuration
  871. handler to set prefix/type name requests creators.
  872. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  873. * AuthenticationManager.cs:
  874. * Authorization.cs:
  875. * BasicClient.cs: new file.
  876. * ChunkStream.cs: new file.
  877. * Cookie.cs:
  878. * CookieContainer.cs:
  879. * GlobalProxySelection.cs:
  880. * HttpWebRequest.cs:
  881. * HttpWebResponse.cs:
  882. * IAuthenticationModule.cs:
  883. * ServicePoint.cs:
  884. * ServicePointManager.cs:
  885. * WebAsyncResult.cs: new file.
  886. * WebConnection.cs: new file.
  887. * WebConnectionData.cs: new file.
  888. * WebConnectionGroup.cs: new file.
  889. * WebConnectionStream.cs: new file.
  890. * WebException.cs:
  891. * WebHeaderCollection.cs:
  892. * WebProxy.cs:
  893. * WebResponse.cs:
  894. Reworked HttpWebRequest and related classes.
  895. 2003-05-30 Miguel de Icaza <[email protected]>
  896. * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
  897. InternalServerError (500)
  898. 2003-05-29 Miguel de Icaza <[email protected]>
  899. * HttpWebRequest.cs (Close): Move the code that accumulates the
  900. output to Close from Flush. Flush could have been called in the
  901. middle of the processing, and would have generated invalid results
  902. (which it did).
  903. 2003-05-23 Zoltan Varga <[email protected]>
  904. * Dns.cs (GetHostByAddress): Return the local host when called with
  905. IF_ANY.
  906. 2003-04-29 Miguel de Icaza <[email protected]>
  907. * WebClient.cs (DownloadData): Close the underlyng stream.
  908. (DownloadFile): Use using, so the file gets closed.
  909. 2003-04-24 Miguel de Icaza <[email protected]>
  910. * WebClient.cs (DownloadData): Instead of using a MemoryStream,
  911. keep track of all the small chunks in an ArrayList. The
  912. MemoryStream had the property of reallocating itself, and the
  913. problem was that MemoryStream.GetBuffer would return the buffer
  914. (correctly), but not something of the right size. So clients of
  915. DownloadData would get the extra unused bytes as part of the
  916. result.
  917. The solution would have been to make another copy at this point,
  918. instead, we only keep the small allocations around in the
  919. ArrayList, and we only do one large allocation at the end.
  920. * HttpWebResponse.cs: If there is a Content-Length header, pass
  921. this information to our HttpWebResponseStream, so it knows when to
  922. stop, instead of waiting for the stream to be shut down by the
  923. other end.
  924. * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
  925. the underlying stream if the method will do a content transfer and
  926. no Content-Length was provided. If not (HEAD and GET or
  927. Content-Length provided), keep going.
  928. 2003-04-23 Miguel de Icaza <[email protected]>
  929. * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
  930. the ContentLength specified on the request. If that happens, we
  931. have to accumulate all the data written, and once we accumulate
  932. the data, we send it off.
  933. Notice that the documentation in .NET is actually incorrect, they
  934. state that setting ContentLength is mandatory. It is not.
  935. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  936. * HttpWebResponse.cs: fixes bug #41180.
  937. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  938. * HttpWebRequest.cs: throw an exception is the response code is >= 300.
  939. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  940. * HttpWebRequest.cs: implemented IDisposable, make the request stream
  941. read only. Changed the way of disposing the socket.
  942. * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
  943. handle chunked transfer encoding (no more hangs), added serialization
  944. stuff, call CheckDisposed at the beginning of methods/properties (not
  945. in a finally clause).
  946. 2003-02-17 Nick Drochak <[email protected]>
  947. * WebClient.cs : Implemented Credentials property.
  948. 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
  949. * SocketAddress.cs: byte 1 of the data is the high byte of the family,
  950. not the size.
  951. 2003-01-29 Atsushi Enomoto <[email protected]>
  952. * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
  953. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  954. * HttpWebRequest.cs: applied patch from Tim Haynes
  955. ([email protected]).
  956. Avoided double-sending of the request to the server when both
  957. GetRequestStream() and GetResponse() are called.
  958. System Header attributes survive the Headers attribute set.
  959. Added handling of Connection: KeepAlive/Close
  960. 2002-10-03 Dick Porter <[email protected]>
  961. * Dns.cs: Fixed GetHostName()
  962. 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
  963. * HttpWebRequest.cs:
  964. * HttpWebResponse.cs: applied another patch from Shahms E. King
  965. ([email protected]).
  966. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  967. * HttpWebRequest.cs:
  968. * HttpWebResponse.cs: applied patch from Shahms E. King
  969. ([email protected]).
  970. 2002-05-29 Lawrence Pit <[email protected]>
  971. * MonoHttpDate.cs: added
  972. * HttpWebRequest.cs: using MonoHttpDate
  973. * HttpWebResponse.cs: using MonoHttpDate
  974. * DnsPermission.cs: correct XML output
  975. * SocketPermission.cs: correct XML output
  976. 2002-05-21 Lawrence Pit <[email protected]>
  977. * WebClient.cs: stubbed
  978. * WebProxy.cs: fixed bug; had to change internal representation
  979. of bypasslist to ArrayList, different implementation of checking
  980. regex's.
  981. 2002-05-20 Lawrence Pit <[email protected]>
  982. * WebProxy.cs: added, implemented
  983. * ServicePoint.cs: implemented most
  984. * ServicePointManager.cs: implemented
  985. * HttpWebRequest.cs: started implementation
  986. * HttpWebResponse.cs: improved disposable routines
  987. * FileWebRequest.cs: slight improvement of Close method
  988. 2002-05-19 Lawrence Pit <[email protected]>
  989. * FileWebRequest.cs: finished implementation of async methods.
  990. * FileWebResponse.cs: improved disposable routines.
  991. * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
  992. byte ordering of address was backwards.
  993. 2002-05-13 Lawrence Pit <[email protected]>
  994. * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
  995. relying on standard asynchronous delegate features. Added checks for
  996. null strings.
  997. * HttpWebResponse.cs: implemented properties
  998. * FileWebResponse.cs: improved the way resources are disposed.
  999. * FileWebRequest.cs: started implementation of asynchronous methods
  1000. * ServicePointManager.cs: implemented properties
  1001. 2002-05-12 Lawrence Pit <[email protected]>
  1002. * HttpWebRequest.cs: properties implemented
  1003. * HttpWebResponse.cs: added
  1004. * GlobalProxySelection.cs: implemented
  1005. * FileWebResponse.cs: added
  1006. * FileWebRequest.cs: some methods implemented
  1007. 2002-05-11 Lawrence Pit <[email protected]>
  1008. * WebHeaderCollection.cs: implemented
  1009. * WebRequest.cs: implemented
  1010. * FileWebRequest.cs and HttpWebRequest.cs stubs added
  1011. 2002-05-09 Lawrence Pit <[email protected]>
  1012. * Rewrote IPAddress.Parse method, passing all unit tests
  1013. 2002-05-09 Lawrence Pit <[email protected]>
  1014. * fixed bug in IPEndPoint.Equals method
  1015. * fixed bug in IPAddress.Parse method
  1016. * fixed bug in IPAddress.SwapLong method
  1017. * fixed several bugs in Cookie.cs
  1018. 2002-05-06 Lawrence Pit <[email protected]>
  1019. * WebRequest.cs: added
  1020. * WebResponse.cs: implemented
  1021. * WebException.cs: implemented
  1022. * WebHeaderCollection.cs: added
  1023. * HttpVersion.cs: implemented
  1024. * HttpContinueDelegate.cs: added
  1025. * IWebProxy.cs: added
  1026. * IWebRequestCreate.cs: added
  1027. * ICertificatePolicy.cs: added
  1028. * ServicePoint.cs: stubbed
  1029. * ServicePointManager.cs: stubbed
  1030. * CookieContainer.cs: added
  1031. * Authorization.cs: implemented
  1032. 2002-05-05 Lawrence Pit <[email protected]>
  1033. * CredentialCache.cs: implemented
  1034. 2002-05-05 Lawrence Pit <[email protected]>
  1035. * IPAddress.cs: fixed IsLoopback, address was already in host order
  1036. 2002-05-05 Lawrence Pit <[email protected]>
  1037. * IPv6Address.cs: added (note: not part of .net spec)
  1038. 2002-05-01 Lawrence Pit <[email protected]>
  1039. * DnsPermission.cs: implemented
  1040. * DnsPermissionAttribute.cs: implemented
  1041. 2002-04-28 Lawrence Pit <[email protected]>
  1042. * EndpointPermission.cs: implemented
  1043. * SocketPermission.cs: implemented
  1044. * SocketPermissionAttribute.cs: implemented
  1045. * ProtocolViolationException.cs: implemented
  1046. * Dns.c: passing w32 error code when no host found
  1047. 2002-04-27 Lawrence Pit <[email protected]>
  1048. * Cookie.cs: implemented
  1049. * CookieCollection.cs: implemented
  1050. * CookieException.cs: implemented
  1051. 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
  1052. * IPAddress.cs: initialize the read only fields with Parse().
  1053. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  1054. * IPAddress.cs: little changes to behave as MS.
  1055. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  1056. * Dns.cs (Resolve): behave as MS. Agreed with Mads.
  1057. 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
  1058. * IPAddress.cs: the icalls for sockets are endianness-aware. So I
  1059. changed a few things. Also included a workaround for bug #23547.
  1060. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1061. * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
  1062. by Paolo) instead of guessing the endianness.
  1063. * SocketAddress.cs: implemented Equals() and GetHashcode().
  1064. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1065. * IPEndPoint.cs: modifications to constructors according to the
  1066. specifications (suggested by Lawrence Pit).
  1067. 2002-04-15 Patrik Torstensson <[email protected]>
  1068. * IPEndPoint.cs: Fixed build breaker.
  1069. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1070. * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
  1071. complete.
  1072. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  1073. * IPAddress.cs: finished all MonoTODO's. Use network order to store
  1074. the address. Check for max and min values in Address:set. IsLoopback()
  1075. returns now true for all 127.x.y.z. Some more checks in Parse ().
  1076. Some changes to behave as MS does.
  1077. 2002-02-24 Duncan Mak <[email protected]>
  1078. * ICredentialLookup.cs: Added the GetCredential method to the
  1079. interface. The interface is named "ICredentials", should this file
  1080. be renamed?
  1081. * NetworkCredential.cs: Added to CVS. Need to investigate on how
  1082. GetCredential() works
  1083. 2002-01-23 Dick Porter <[email protected]>
  1084. * SocketAddress.cs: Implemented.
  1085. * IPEndPoint.cs: Turned 'Address' field into a real property.
  1086. Implemented Create() and Serialize() methods.
  1087. * IPAddress.cs: Fixed class constructor, turned 'Address' field
  1088. into a real property. Removed undocumented "public
  1089. IPAddress(string)" constructor.
  1090. * EndPoint.cs: Implemented. All methods return
  1091. NotSupportedException to enforce subclass overriding.
  1092. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
  1093. P/Invokes with portable internal calls.
  1094. 2002-01-17 Miguel de Icaza <[email protected]>
  1095. * Dns.cs: Updated to API changes.
  1096. * IPAddress.cs: Updated API. Much left to implement.
  1097. * Dns.cs: Remove IPToString method
  1098. 2002-01-06 Ravi Pratap <[email protected]>
  1099. * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
  1100. attribute insertion.
  1101. 2001-11-22 Nick Drochak <[email protected]>
  1102. * IPAddress.cs: Fix constructor bug, properly name Address property,
  1103. and use triple-slash for comments.
  1104. 2001-11-20 Miguel de Icaza <[email protected]>
  1105. * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
  1106. None as suggested by Phillip.
  1107. 2001-09-26 Mads Pultz <[email protected]>
  1108. * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
  1109. 2001-09-24 Mads Pultz <[email protected]>
  1110. * Dns.cs: Minor changes (some print statements removed)
  1111. 2001-09-23 Mads Pultz <[email protected]>
  1112. * Dns.cs: Initial work submitted to repository.
  1113. * IPHostEntry.cs: Initial work submitted to repository.
  1114. 2001-07-12 Sean MacIsaac <[email protected]>
  1115. * Authorization.cs: Fixed compiler error.
  1116. * IAuthenticationModule.cs: Changes for Beta2.
  1117. * IPAddress.cs: Internal storage changed to be uint not int.
  1118. * IPEndPoint.cs: Fixed compiler error.
  1119. * EndPoint.cs: Fixed compiler error.
  1120. * AuthenticationManager.cs: Fixed typo.