ChangeLog 54 KB

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