ChangeLog 51 KB

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