ChangeLog 55 KB

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