ChangeLog 35 KB

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