ChangeLog 36 KB

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