ChangeLog 52 KB

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