ChangeLog 48 KB

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