ChangeLog 53 KB

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