ChangeLog 105 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173
  1. 2009-06-28 Gonzalo Paniagua Javier <[email protected]>
  2. * WebConnectionStream.cs: when buffering the response, we have to set
  3. the internal length and regenerate the headers.
  4. 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
  5. * HttpWebRequest.cs: don't send Content-Length header when SendChunked
  6. is enabled.
  7. * WebConnectionStream.cs: send the headers immediately when possible.
  8. When writing the request before a Close(), if there was an exception
  9. it was lost.
  10. 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
  11. * HttpConnection.cs:
  12. * HttpListenerResponse.cs: force closing the socket when the response
  13. is aborted.
  14. 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
  15. * WebAsyncResult.cs: new field that tells us if the request is being
  16. written automatically because we reached the content length.
  17. * WebConnection.cs:
  18. * WebConnectionStream.cs: make sure we only access the NetworkStream
  19. while we own it. Automatically write the request when we reach
  20. ContentLength number of bytes. Kill the write buffer as soon as
  21. possible. Don't use the buffer at all when chunked encoding is
  22. enabled.
  23. Fixes bugs #515931 and #510642.
  24. 2009-06-24 Gonzalo Paniagua Javier <[email protected]>
  25. * WebConnection.cs: 'socket' and 'Data' where being changed by 2
  26. threads at the same time when there were queued requests and the
  27. current one was aborted in Connect().
  28. * HttpWebRequest.cs: 'aborted' is now an int and we use Interlocked to
  29. access it. Added WebConnection field used when aborting the request.
  30. Fixes bug #514591 for good.
  31. 2009-06-21 Gonzalo Paniagua Javier <[email protected]>
  32. * HttpWebRequest.cs: check for an aborted request in Begin* before
  33. proceeding. Fixes bug #511851.
  34. 2009-06-21 Gonzalo Paniagua Javier <[email protected]>
  35. * WebConnectionStream.cs: close the underlying socket if there's an
  36. exception when closing the stream. Fixes bug #514996.
  37. 2009-06-20 Gert Driesen <[email protected]>
  38. * WebConnectionStream.cs: Keep count of all bytes written, and perform
  39. write overflow check in both buffered and non-buffered writing (if
  40. not using chunked transfer encoding). Fixes bug #510642.
  41. 2009-06-20 Gert Driesen <[email protected]>
  42. * WebClient.cs: Use lowercase hex bytes to match MS. Avoid using
  43. zero-length string literal. Fixed exception argument name to match
  44. MS.
  45. * WebConnectionStream.cs: Throw a WebException that wraps an
  46. IOException when closing the stream before all bytes are written.
  47. 2009-06-19 Gonzalo Paniagua Javier <[email protected]>
  48. * WebConnection.cs: make sure we don't open a new socket if the
  49. request is aborted before we establish the connection. Fixes bug
  50. #514591.
  51. * HttpWebRequest.cs: new property to return abort status. Invoke the
  52. abort handler before doing anything else when Abort() is called for
  53. the first time.
  54. 2009-06-17 Gonzalo Paniagua Javier <[email protected]>
  55. * EndPointListener.cs: call CheckIfRemove() after removing a regular
  56. prefix. Fixes bug #513849.
  57. * EndPointManager.cs: make sure we use the right lock when one prefix
  58. of a collection fails to be added and we need to remove all of the
  59. prefixes.
  60. Clear the ip_to_endpoints hashtable if there are no more prefixes
  61. listening on that address.
  62. 2009-06-16 Andrés G. Aragoneses <[email protected]>
  63. * WebConnection.cs: propagate the exception to the request.
  64. * WebException.cs: new internal ctor.
  65. * HttpWebRequest.cs: use new ctor to encapsulate the innerException.
  66. Fixes #323452.
  67. 2009-06-15 Gonzalo Paniagua Javier <[email protected]>
  68. * HttpWebRequest.cs: for unknown methods, always send the request once
  69. we are connected even if there's no writeStream. Fixes bug #513087.
  70. 2009-06-09 Gonzalo Paniagua Javier <[email protected]>
  71. * HttpWebRequest.cs: ProtocolViolationException is not thrown in
  72. certain cases since 2.0. Fixes bug #508027.
  73. 2009-06-09 Gonzalo Paniagua Javier <[email protected]>
  74. * HttpWebRequest.cs: follow MS docs when throwing
  75. ProtocolViolationException at the beginning of an asynchronous
  76. operation. Fixes bug #465613.
  77. 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
  78. * WebConnectionStream.cs: throw a WebException instead of an IOException.
  79. 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
  80. * FtpWebRequest.cs: avoid exception when the reply from the server
  81. contains just response code. Fixes bug #510852.
  82. 2009-06-05 Sebastien Pouliot <[email protected]>
  83. * DownloadStringCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
  84. * OpenReadCompletedEventArgs.cs: Remove Address property since it's
  85. not part of SL2. Call RaiseExceptionIfNecessary
  86. * OpenWriteCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
  87. * UploadStringCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
  88. 2009-06-05 Robert Jordan <[email protected]>
  89. * WebClient.cs (UploadValuesCore): Encode POST arguments with UTF-8.
  90. Fixes bug #484795.
  91. 2009-06-02 Gonzalo Paniagua Javier <[email protected]>
  92. * HttpWebRequest.cs: KeepAlive check not needed.
  93. Fixes bug #465613.
  94. 2009-06-02 Gonzalo Paniagua Javier <[email protected]>
  95. * HttpConnection.cs: unbind the context after every read for keep-alive
  96. connections.
  97. Bug #502274 fixed.
  98. 2009-05-17 Gert Driesen <[email protected]>
  99. * CookieContainer.cs: Provide meaningful information in exception
  100. messages, and improve compatibility with MS. Modified set_Capacity to
  101. no longer change MaxCookieSize when new value is less than
  102. MaxCookieSize.
  103. 2009-05-16 Gonzalo Paniagua Javier <[email protected]>
  104. * HttpWebResponse.cs:
  105. * HttpWebRequest.cs: support automatic decompression of the response.
  106. Fixes bug #504391.
  107. 2009-05-11 Gonzalo Paniagua Javier <[email protected]>
  108. * Dns.cs: made GetHostAddresses and friends internal for 1.x
  109. * EndpointPermission.cs: use GetHostAddresses.
  110. 2009-05-10 Gonzalo Paniagua Javier <[email protected]>
  111. * CookieContainer.cs: matching hosts to domain names like MS does.
  112. Bug #421827 fixed.
  113. 2009-05-02 Atsushi Enomoto <[email protected]>
  114. * CredentialCache.cs : implement all not-implemented methods.
  115. Patch by Mineda Nozomi. Close bug #499556.
  116. 2009-04-21 Sebastien Pouliot <[email protected]>
  117. * EndPoint.cs: Throw NotImplementedException instead of
  118. NotSupportedException
  119. * IPEndPoint.cs: Fix some validations.
  120. 2009-04-21 Gonzalo Paniagua Javier <[email protected]>
  121. * WebConnection.cs:
  122. * HttpWebRequest.cs: provide more information on why the connection
  123. could not be established.
  124. 2009-04-06 Gonzalo Paniagua Javier <[email protected]>
  125. * FtpWebRequest.cs: send REST after PASV to avoid some servers
  126. forgetting aboout it.
  127. Bug #491590 fixed.
  128. 2009-03-24 Gonzalo Paniagua Javier <[email protected]>
  129. * FtpWebRequest.cs: we were sending CWD instead of PWD.
  130. Bug #486703 fixed.
  131. 2009-03-03 Gonzalo Paniagua Javier <[email protected]>
  132. * IPAddress.cs: don't allocate the IPv6 array for IPv4 addresses.
  133. 2009-02-23 Gonzalo Paniagua Javier <[email protected]>
  134. * WebClient.cs: append the QueryString in DownloadData.
  135. Fixes bug #323788.
  136. 2009-02-21 Gonzalo Paniagua Javier <[email protected]>
  137. * FtpWebResponse.cs: return a Null stream when there's no response to
  138. be read.
  139. * FtpWebRequest.cs: provide the error returned by the server in the
  140. exception.
  141. * WebClient.cs: set the correct method when doing a FTP upload.
  142. Fixes bug #478451.
  143. 2009-02-19 Gonzalo Paniagua Javier <[email protected]>
  144. * FtpWebRequest.cs: avoid errors when creating a temporary Uri to get
  145. the local path.
  146. * WebClient.cs: when setting up the request for downloading, use the
  147. default method. Fixes bug #477611.
  148. 2009-02-16 Atsushi Enomoto <[email protected]>
  149. * WebConnectionStream.cs : use request only after it is set.
  150. 2009-02-13 Gonzalo Paniagua Javier <[email protected]>
  151. * WebConnectionStream.cs: implemente (Read|Write)Timeout.
  152. Fixes bug #348159.
  153. 2009-02-10 Gonzalo Paniagua Javier <[email protected]>
  154. * CookieContainer.cs: separate cookies with "; " instead of just ';'.
  155. Fixes bug #386727.
  156. 2009-02-08 Gonzalo Paniagua Javier <[email protected]>
  157. * HttpWebRequest.cs: lock SetResponseError.
  158. 2009-02-08 Gert Driesen <[email protected]>
  159. * Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
  160. reject "any" IP addresses. BeginGetHostEntry - renamed argument
  161. to match MS, reject "any" IP addresses. GetHostEntry - reject
  162. "any" IP addresses. GetHostAddresses - reject "any" IP addresses.
  163. GetHostByName - use "hostName" as paramname in ANE.
  164. 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
  165. * Dns.cs: empty string for host (also 0.0.0.0) is just passed to the
  166. runtime, which will then retrieve the local IP addresses. Fixes bug
  167. #386637 part 2/2.
  168. 2009-02-06 Gonzalo Paniagua Javier <[email protected]>
  169. * FtpWebRequest.cs: some servers have a comment after the directory
  170. name. Fixes bugs #471149 and #471216.
  171. 2009-02-06 Gonzalo Paniagua Javier <[email protected]>
  172. * WebConnectionStream.cs: set the content length to 0 when the
  173. response is not supposed to have any content.
  174. 2009-02-05 Miguel de Icaza <[email protected]>
  175. * WebConnectionStream.cs: Prevent a nullref here. This might
  176. have to be backported to 2.2 and 2.4
  177. 2009-02-03 Gonzalo Paniagua Javier <[email protected]>
  178. * WebConnection.cs:
  179. * HttpWebRequest.cs: calling Abort is safe now if the request has been
  180. read entirely.
  181. 2009-02-03 Gonzalo Paniagua Javier <[email protected]>
  182. * WebProxy.cs: use TryParse when checking for a localhost IP.
  183. 2009-01-26 Gonzalo Paniagua Javier <[email protected]>
  184. * HttpWebResponse.cs: avoid throwing an exception when
  185. Content-Length is not present.
  186. 2009-01-26 Gonzalo Paniagua Javier <[email protected]>
  187. * HttpWebRequest.cs: added locking in SetResponseData for the case
  188. when we get an error response before BeginGetResponse has been
  189. called.
  190. 2009-01-20 Gonzalo Paniagua Javier <[email protected]>
  191. * IPAddress.cs: handle sign extension for the high byte when using the
  192. byte[] ctor for an IPv4 address.
  193. Fixes bug #467472.
  194. 2009-01-19 Marek Habersack <[email protected]>
  195. * HttpWebRequest.cs: implemented the UseDefaultCredentials
  196. property, patch from Florian Maetschke <[email protected]>,
  197. thanks!
  198. 2009-01-16 Gonzalo Paniagua Javier <[email protected]>
  199. * FtpWebRequest.cs: adjust to the correct directory when listing too.
  200. Fixes bug #466530.
  201. 2009-01-15 Gonzalo Paniagua Javier <[email protected]>
  202. * HttpListenerRequest.cs: always initialize 'version'.
  203. * HttpConnection.cs: the socket might already be disconnected when
  204. shutting down.
  205. 2009-01-14 Gonzalo Paniagua Javier <[email protected]>
  206. * WebConnectionStream.cs: if the buffer has been killed, return -1 for
  207. its length. Fixes regression in System.Runtime.Remoting.
  208. 2009-01-14 Gonzalo Paniagua Javier <[email protected]>
  209. * HttpWebRequest.cs: create a result from the response when
  210. *GetResponse() has not been called yet and we have already received
  211. all the data.
  212. Fixes bug #464013.
  213. 2009-01-13 Gonzalo Paniagua Javier <[email protected]>
  214. * HttpWebRequest.cs: keepAlive is of no use here.
  215. Fixes bug #465613.
  216. 2009-01-13 Gonzalo Paniagua Javier <[email protected]>
  217. * HttpConnection.cs: we were not writing the headers for 0-length
  218. responses.
  219. * WebConnectionStream.cs: for 204/304 responses with an explicit
  220. content-length of 0, release the socket only once.
  221. Fixes bug #465638.
  222. 2009-01-12 Gonzalo Paniagua Javier <[email protected]>
  223. * FtpWebRequest.cs: now deleting a file works when we're not in the
  224. root directory.
  225. 2008-12-20 Gonzalo Paniagua Javier <[email protected]>
  226. * IPAddress.cs: avoid throwing when parsing a subnet.
  227. 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
  228. * HttpConnection.cs: remove CWL. When reusing, BeginReadRequest might
  229. throw if the client closes.
  230. * HttpListenerResponse.cs: close the connection for 1.0 clients.
  231. 2008-11-13 Gonzalo Paniagua Javier <[email protected]>
  232. * FtpDataStream.cs: use the socket for reading until the end of a
  233. stream that wasn't read entirely. Remove unused ManualResetEvent.
  234. * FtpWebRequest.cs: set the file_name when downloading. Update the
  235. response status after every SendCommand. Send a "OPTS utf8 on" as MS
  236. does (the control cnc reader should do something with UTF8)
  237. 2008-11-04 Gonzalo Paniagua Javier <[email protected]>
  238. * WebRequest.cs: if the cache level is NoCacheNoStore, don't throw
  239. when setting the CachePolicy.
  240. 2008-11-03 Gonzalo Paniagua Javier <[email protected]>
  241. * FtpWebRequest.cs: take the server current directory into account
  242. when uploading files. Set the data connection type before every
  243. transmission.
  244. Bug 333985 fixed.
  245. 2008-10-31 Gonzalo Paniagua Javier <[email protected]>
  246. * FtpWebRequest.cs: disable keep-alive connections as the current code
  247. does not deal with keep-alive connections.
  248. Workaround for bug #380262.
  249. 2008-10-30 Gonzalo Paniagua Javier <[email protected]>
  250. * WebConnectionStream.cs: when there's a NTLM authentication in
  251. progress, don't let the connection be used by the next request if we
  252. have the entire response in the input buffer.
  253. 2008-10-30 Gonzalo Paniagua Javier <[email protected]>
  254. * HttpListenerResponse.cs: removed obsolete comment.
  255. * ResponseStream.cs: don't read response.SendChunked until after
  256. getting the response headers.
  257. 2008-10-27 Gonzalo Paniagua Javier <[email protected]>
  258. * ServicePointManager.cs: set the default limit of connections from
  259. the configuration file(s) on startup.
  260. Bug #339422 fixed.
  261. 2008-10-23 Gonzalo Paniagua Javier <[email protected]>
  262. * HttpWebRequest.cs: don't call ProxyRequest twice.
  263. * WebConnectionData.cs: remove unused fields.
  264. * WebConnection.cs:
  265. * WebConnectionStream.cs: when setting the input buffer, check to see
  266. if the entire response is already there and free up the request slot.
  267. Fixes bug #423156.
  268. * ResponseStream.cs:
  269. * HttpListenerResponse.cs: buffer the headers so that they are sent
  270. together with the data on the first Write (if any). The fix above
  271. didn't work with our HttpListener without this.
  272. 2008-10-08 Gonzalo Paniagua Javier <[email protected]>
  273. * WebConnection.cs:
  274. * ServicePoint.cs:
  275. * WebConnectionGroup.cs:
  276. * HttpWebRequest.cs:
  277. * WebConnectionStream.cs: reuse the same connection when doing NTLM
  278. authentication. Fixes bug #323375.
  279. Implemented support for UnsafeAuthenticatedConnectionSharing.
  280. 2008-10-08 Gonzalo Paniagua Javier <[email protected]>
  281. * HttpConnection.cs:
  282. * HttpListenerResponse.cs: fix typo that caused the "connection close"
  283. header to be sent. Do not close the socket when the encoding is not
  284. chunked and reuse is possible.
  285. Fixes bug #433371.
  286. 2008-10-08 Gonzalo Paniagua Javier <[email protected]>
  287. * HttpWebRequest.cs: if GetRequestStream has already been called,
  288. return the same stream that we returned in the first call.
  289. Fixes bug #429200.
  290. 2008-10-07 Gonzalo Paniagua Javier <[email protected]>
  291. * ServicePointManager.cs: better handling of possible collisions of the
  292. hash for schema/host/port. Fixes bug #417891.
  293. 2008-10-06 Gonzalo Paniagua Javier <[email protected]>
  294. * ChunkStream.cs: (ReadTrailer) make sure the array access is not out
  295. of bounds. Fixes bug #322715.
  296. 2008-09-19 Gonzalo Paniagua Javier <[email protected]>
  297. * WebConnectionStream.cs: when receiving a 0 content-length, free up
  298. the slot for the next request immediately.
  299. Fixes bug #427974.
  300. 2008-09-16 Miguel de Icaza <[email protected]>
  301. * IPv6Address.cs: On the 2.0 profile, avoid throwing/catching
  302. exceptions inside TryParse.
  303. 2008-09-12 Miguel de Icaza <[email protected]>
  304. * HttpListenerPrefixCollection.cs, EndPointListener.cs,
  305. HttpListener.cs, EndPointManager.cs, HttpConnection.cs: Remove
  306. generics support where necessary to allow this code to be reused
  307. in the 1.0 profile.
  308. 2008-09-08 Miguel de Icaza <[email protected]>
  309. * EndPointListener.cs (SearchListener): Cope with the raw_url not
  310. being merely a path, but potentially a full URI (see the proxy
  311. case).
  312. * HttpListenerRequest.cs: Cope with raw_url not being merely a
  313. path, but potentially a full Uri. Also uses TryCreate, hoping
  314. that one day it will be faster.
  315. 2008-08-23 Zoltan Varga <[email protected]>
  316. * WebConnectionStream.cs (WriteRequest): Fix the copying in the
  317. previous patch, when bytes.Length != length.
  318. 2008-08-22 Zoltan Varga <[email protected]>
  319. * WebConnectionStream.cs (WriteRequest): For small requests,
  320. cluster together the header + body in a single write call, avoids
  321. the latency problems observed in an TLS application that makes
  322. many web service calls.
  323. 2008-08-22 Geoff Norton <[email protected]>
  324. * WebConnection.cs: Set NoDelay
  325. 2008-08-21 Stephane Delcroix <[email protected]>
  326. * OpenReadCompletedEventArgs.cs: new Address property for 2.1
  327. 2008-08-06 Miguel de Icaza <[email protected]>
  328. * IPAddress.cs (ParseIPV6): Use an exception-less parser for ipv6
  329. addresses.
  330. * IPv6Address.cs: Rewrite most of the parsing code to not use that
  331. incredibly fragile, hacky and hacky implementation.
  332. (TryParse): Provide a exception-less parsing path.
  333. 2008-07-25 Gert Driesen <[email protected]
  334. 2008-08-06 Atsushi Enomoto <[email protected]>
  335. * IPAddress.cs : several IPv4 parsing fix exposed by bug #411920.
  336. 2008-08-05 Atsushi Enomoto <[email protected]>
  337. * WebClient.cs : it should not invoke delegate directly, but should
  338. call overridable OnDownloadProgressChanged.
  339. 2008-07-25 Gert Driesen <[email protected]
  340. * HttpWebResponse.cs: Initialize contentLength in ctor, as it must
  341. remain accessible after the response is disposed (and the headers are
  342. no longer available). Adding missing disposed checks in properties
  343. (except for StatusCode) and GetResponseHeader. On the 2.0 profile,
  344. headers must remain accessible after the HttpWebResponse is disposed.
  345. 2008-06-10 Stephane Delcroix <[email protected]>
  346. * IPAddress.cs: allow usage on 2.1 as smcs knows nothing about
  347. string.GetEnumerator : IEnumerable<char>
  348. 2008-06-08 Miguel de Icaza <[email protected]>
  349. * ResponseStream.cs: Do not Close the HttpResponse object here as
  350. it is possible to issue multiple OutputStream.Close calls (they
  351. actually happen implicitly through things like StreamWriter.Close,
  352. and they are in various MSDN samples).
  353. 2008-05-28 Gonzalo Paniagua Javier <[email protected]>
  354. * CookieContainer.cs: apply slightly modified patch from [email protected]
  355. that fixes bug #356537.
  356. 2008-04-30 Miguel de Icaza <[email protected]>
  357. * WebPermission.cs (ToXml): To allow code that uses WebPermission
  358. to be built.
  359. 2008-04-21 Gonzalo Paniagua Javier <[email protected]>
  360. * HttpWebResponse.cs: do not check the disposed status for properties
  361. and methods that return response data other than the stream itself.
  362. Fixes bug #381223.
  363. 2008-04-16 Marek Habersack <[email protected]>
  364. * HttpWebRequest.cs: fix an off-by-one bug - the number of
  365. redirects must not exceed the value of
  366. MaximumAutomaticRedirections. Fixes bug #380131
  367. 2008-04-13 Jb Evain <[email protected]>
  368. * *_2_1.cs: move the specific 2.1 System.Net code to the
  369. assembly System.Net.
  370. 2008-04-13 Jb Evain <[email protected]>
  371. * WebRequest_2_1.cs, WebResponse_2_1.cs: new files
  372. * HttpWebRequest_2_1.cs, HttpWebResponse_2_1, WebHeaderCollection_2_1:
  373. update to Silverlight 2.0b1 API.
  374. Merged from the Moonlight 2 branch.
  375. 2008-04-06 <[email protected]>
  376. * ListenerAsyncContext.cs: Fix Basic authentication support. Patch from
  377. Maciej Paszta <[email protected]>
  378. 2008-02-21 Zoltan Varga <[email protected]>
  379. * HttpConnection.cs (Close): Close the socket even if Shutdown throws an exception.
  380. 2008-02-17 Daniel Nauck <[email protected]>
  381. * HttpWebResponse.cs: refactored cookie expires parsing to
  382. allow all common expires datetime formats.
  383. 2008-02-09 Daniel Nauck <[email protected]>
  384. * HttpWebResponse.cs: convert UTC/GMT Expires DateTime from a cookie
  385. into local time, also set the HttpOnly property if available.
  386. 2008-02-09 Daniel Nauck <[email protected]>
  387. * Cookie.cs: implemented HttpOnly
  388. 2008-01-27 Gert Driesen <[email protected]>
  389. * IPAddress.cs (Parse): Changed argument name to match MS.
  390. (TryParse): Changed argument name to match MS.
  391. (ParseIPV4): Only treat zero-length or " " address as empty on 1.0
  392. profile. On 2.0 profile, only ignore characters after blank if last
  393. part is valid hex string.
  394. * IPv6Address.cs: Removed extra spaces and tabs.
  395. 2008-01-26 Daniel Nauck <[email protected]>
  396. * HttpWebRequest.cs: fixed typo. Use the actual uri for correct
  397. cookie header informations and not the originally one.
  398. 2008-01-26 Daniel Nauck <[email protected]>
  399. * Cookie.cs: set Version to '1' if Port is set,
  400. don't include path and domain informations when version is 0,
  401. match ToString () output with .NET 2.0,
  402. fixes bug #316017
  403. 2008-01-15 Atsushi Enomoto <[email protected]>
  404. * MonoHttpDate.cs : Parse() should return Local time. Fixed bug
  405. #353495.
  406. 2008-01-12 Gert Driesen <[email protected]>
  407. * WebClient.cs: Do not add trailing CRLF in UploadValuesCore. Fixes
  408. standalone test for bug #351049.
  409. 2008-01-07 Sebastien Pouliot <[email protected]>
  410. * CredentialCache.cs: Gendarme's AvoidToStringOnStringsRule in
  411. CredentialCacheKey constructor. UseStringEmptyRule on CredentialCache
  412. static ctor (3 times).
  413. 2007-12-27 Miguel de Icaza <[email protected]>
  414. * WebClient.cs: We catch exceptions that happen on the helper
  415. async threads toa void terminating the application on errors, and
  416. also raise a variant of the OnXXXXCompleted methods that take an
  417. Exception argument.
  418. Note that this differs from the .NET implementation in that
  419. we actually raise a signal on error, and set the exception, and in
  420. their case no error is ever raised.
  421. We now call CompleteAsync in the OnXXXCompleted handlers to ensure
  422. that the WebClient can be reused immediately by the callback.
  423. This fixes #350621.
  424. This also should fix the bug report on IRC where someone
  425. complained that they could not "chain" invocations to XXXAsync
  426. methods from the OnXXXXCompleted handlers due to the WebClient
  427. refusing to work if there was an ongoing operation
  428. 2007-12-24 Miguel de Icaza <[email protected]>
  429. * WebClient.cs: Do not validate method to be null, we do not do
  430. that in OpenWrite, the detection is done later on.
  431. Fixes #350622
  432. 2007-12-16 Miguel de Icaza <[email protected]>
  433. * WebClient.cs: Got the arguments in the wrong order, fix
  434. 2007-12-12 Marek Habersack <[email protected]>
  435. * WebClient.cs: DownloadProgressChanged is available only in the
  436. 2.0+ profiles.
  437. 2007-12-12 Miguel de Icaza <[email protected]>
  438. * WebClient.cs (DownloadFileCore): use longs for the
  439. ContentLength, although the other code (loading into a byte array,
  440. or a string) still uses ints, the DownloadFileCore should not.
  441. 2007-12-11 Miguel de Icaza <[email protected]>
  442. * WebClient.cs:
  443. Lots of fixes to get the *Async methods to work.
  444. * WebClient.cs: async, new boolean flag, used to track whether we
  445. are an async invocation, and if so, we need to invoke some
  446. methods.
  447. Switch to using System.Threading.Thread instead of the ThreadPool
  448. as there is no way with the ThreadPool to abort threads (to
  449. implemente CancelAsync).
  450. (CompleteAsync): Helper method used to clear the state after an
  451. async operation completes, otherwise the WebClient can only be
  452. used once.
  453. (CancelAsync): Use Thread.Interrupt to signal the thread that we
  454. are aborting it (it is a lot milder than Thread.Abort, and we are
  455. in no rush to cancel this anyways); Also the documentation states
  456. that we need to call the WebRequest.Abort method, so we do that in
  457. every Download instance.
  458. (DownloadDataAsync, DownloadFileAsync, DownloadStringAsync,
  459. OpenReadAsync, OpenWriteAsync, UplaodDataAsync, UploadFileAsync,
  460. UploadStringAsync): Make signature parameters match MS; use
  461. threads instead of threadpool (so we can implement CancelAsync),
  462. catch ThreadAbortException here so we can also raise the proper
  463. DownloadDataCompleteEventArgs.
  464. These routines will also call the WebRequest.Abort when
  465. appropriate when ThreadInterrupted is used.
  466. (ReadAll): Raise DownloadProgressChanged events.
  467. 2007-12-03 Gert Driesen <[email protected]>
  468. * WebClient.cs: Modified argument checks to match MS, and wrap
  469. exceptions in a WebException. Fixes bug #343064.
  470. 2007-12-03 Miguel de Icaza <[email protected]>
  471. * FtpWebRequest.cs: Applied patch from Jerome Haltom that fixes
  472. multi-line responses (after my fix).
  473. Closes #333978
  474. 2007-11-16 Marek Habersack <[email protected]>
  475. * HttpWebRequest.cs: when folding a request into a GET one, set
  476. content length to 0 and kill the buffers. Fixes bug #327314. Patch
  477. from Geoff Norton <[email protected]>, thanks!
  478. 2007-11-13 Atsushi Enomoto <[email protected]>
  479. * WebRequest.cs : added missing ImpersonationLevel (NIE).
  480. * SecurityProtocolType.cs : not [Serializable] in 2.0.
  481. * ServicePoint.cs : no GetHashCode() in 2.0.
  482. * WebRequestMethods.cs : fixed wrong STOU.
  483. * FileWebResponse.cs : no Dispose(true) in 2.0 API.
  484. 2007-11-08 Jb Evain <[email protected]>
  485. * WebHeaderCollection_2_1.cs: add a custom WebHeaderCollection
  486. for the 2.1 profile.
  487. 2007-11-07 Geoff Norton <[email protected]>
  488. * ListenerAsyncResult.cs: Only send the 401 header if our authentication
  489. type is Basic or Negotiate (which we default to basic) because that is
  490. all we support. Set the WWW-Authenticate header when we return a 401
  491. result. Send the correct state object in the async result.
  492. 2007-11-06 Geoff Norton <[email protected]>
  493. * ListenerAsyncResult.cs: If the HttpListener has an authentication
  494. scheme, the user should be presented with a 401 without calling the
  495. callback.
  496. 2007-11-04 Miguel de Icaza <[email protected]>
  497. * FtpWebRequest.cs (GetResponseStatus): Fix this routine
  498. propertly, refactor, and make it follow Mono coding conventions.
  499. 2007-10-30 Jerome Haltom ([email protected])
  500. * FtpWebRequest.cs: adds support for ftp multiline results, fixes
  501. #333978
  502. 2007-10-27 Miguel de Icaza <[email protected]>
  503. * HttpListener.cs: Remove more trigger-happy disposed=true from
  504. the code; We should only dispose when the Dispose method is
  505. actually called. Not before.
  506. Fixes #337371
  507. * HttpListener.cs (Close): Closing does not mean dispose the
  508. object. This allows Start/Stop/Start to be called as many times
  509. as desired.
  510. Fixes #337368
  511. 2007-10-15 Gert Driesen <[email protected]>
  512. * FtpWebRequest.cs: Added support for DELETE.
  513. 2007-10-15 Gert Driesen <[email protected]>
  514. * WebRequest.cs: Changed serialization ctor to throw NIE on 1.0
  515. profile. Cache default proxy, but still allow it to be explicitly set
  516. to null. Removed commented code.
  517. 2007-10-14 Gonzalo Paniagua Javier <[email protected]>
  518. * WebRequest.cs: DefaultWebProxy allows a null value. Fixes bug #323668.
  519. 2007-09-30 Gert Driesen <[email protected]>
  520. * HttpListenerRequest.cs: Do not store 'method' in upper case, but
  521. instead use case-insensitive comparison.
  522. 2007-09-30 Gert Driesen <[email protected]>
  523. * HttpListenerRequest.cs: Removed dead code. USe String.Length to
  524. check for zero-length string. Use instance field for is_chunked, and
  525. also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
  526. when Content-Length > 0, or Transfer-Encoding is chunked.
  527. 2007-09-28 Marek Habersack <[email protected]>
  528. * HttpListenerRequest.cs: make sure 'method' is always stored in
  529. upper case.
  530. The DELETE method must not error out on missing Content-Length
  531. header (this is the behavior of the MS.NET version of the
  532. class). Fixes bug #323215.
  533. HasEntityBody should return false when method is GET/HEAD,
  534. content_length is less than or equal to zero or the request is
  535. chunked. Fixes bug #325296
  536. 2007-08-29 Atsushi Enomoto <[email protected]>
  537. * IPAddress.cs, IPv6Address.cs : (ToString) output ScopeId.
  538. 2007-08-09 Atsushi Enomoto <[email protected]>
  539. * HttpWebRequest_2_1.cs, HttpWebResponse_2_1.cs :
  540. added new sources for those classes for 2.1 (in 2.1 they are
  541. almost abstract, while in 2.0 they are concrete).
  542. * HttpRequestCreator.cs, ServicePoint.cs :
  543. #ifdef 2.0 dependencies out.
  544. 2007-06-28 Chris Howie <[email protected]>
  545. * ServicePoint.cs: Implemented BindIPEndPointDelegate.
  546. * FtpWebRequest.cs: Respect ServicePoint.BindIPEndPointDelegate.
  547. * WebConnection.cs: Respect ServicePoint.BindIPEndPointDelegate.
  548. 2007-08-08 Jb Evain <[email protected]>
  549. * HttpWebRequest.cs: .ctor(Uri) is public in 2.1.
  550. 2007-08-03 Jb Evain <[email protected]>
  551. * Dns.cs: remove async methods for the 2.1 profile.
  552. 2007-07-17 Rodrigo Kumpera <[email protected]>
  553. * HttpListenerRequest.cs: Support for Cookie decoding.
  554. * HttpListenerResponse.cs: Support for encoding cookies on the response sent to the client
  555. * Cookie.cs: new internal method to encode the Cookie in a proper form to sent to clients
  556. 2007-07-14 Gonzalo Paniagua Javier <[email protected]>
  557. * WebConnectionStream.cs: implement the CanTimeout for 2.0. Fixes
  558. bug #81504.
  559. 2007-07-12 Geoff Norton <[email protected]>
  560. * HttpListenerContext.cs:
  561. * HttpListener.cs: Handle HttpListener AuthenticationSchemes
  562. Only Basic authentication is included for now.
  563. 2007-06-30 Gert Driesen <[email protected]>
  564. * NetworkAccess.cs: Only mark as flags enum on 2.0.
  565. 2007-06-21 Dick Porter <[email protected]>
  566. * AuthenticationManager.cs:
  567. * FtpWebRequest.cs:
  568. * Cookie.cs:
  569. * ServicePoint.cs:
  570. * WebClient.cs:
  571. * Authorization.cs:
  572. * FileWebRequest.cs:
  573. * HttpWebRequest.cs:
  574. * WebResponse.cs:
  575. * ServicePointManager.cs:
  576. * HttpWebResponse.cs: Throw NotImplementedException indirectly, to
  577. reduce noise in Moma reports.
  578. 2007-06-20 Atsushi Enomoto <[email protected]>
  579. * ServicePointManager.cs : (bootstrap) build fix.
  580. 2007-06-19 Dick Porter <[email protected]>
  581. * AuthenticationManager.cs:
  582. * IWebProxyScript.cs:
  583. * Authorization.cs:
  584. * Cookie.cs:
  585. * CookieException.cs:
  586. * CredentialCache.cs:
  587. * FileWebRequest.cs:
  588. * WebRequest.cs:
  589. * FileWebResponse.cs:
  590. * WebResponse.cs:
  591. * FtpWebRequest.cs:
  592. * HttpWebRequest.cs:
  593. * DecompressionMethods.cs:
  594. * HttpWebResponse.cs:
  595. * ProtocolViolationException.cs:
  596. * ServicePoint.cs:
  597. * ServicePointManager.cs:
  598. * WebClient.cs:
  599. * WebException.cs:
  600. * WebHeaderCollection.cs:
  601. * WebProxy.cs:
  602. * WebExceptionStatus.cs: 2.0 profile updates
  603. 2007-05-18 Gert Driesen <[email protected]>
  604. * WebConnectionStream.cs: On read timeout, throw WebException with
  605. status Timeout instead of IOException.
  606. 2007-05-16 Adar Wesley <[email protected]>
  607. * CookieCollection.cs: added missing method strongly typed CopyTo.
  608. * CredentialCache.cs: added missing methods Add, Remove, GetCredential
  609. * HttpWebRequest.jvm.cs: added missing ClientCertificates getter.
  610. * ServicePoint.cs: added missing method CloseConnectionGroup.
  611. * WebClient.cs: added missing methods OnDownloadProgressChanged,
  612. OnUploadProgressChanged, GetWebRequest, GetWebResponse
  613. * WebHeaderCollection.cs: added missing methods IsRestricted, Add,
  614. Remove, Set.
  615. * WebProxy.cs: added missing method GetObjectData.
  616. 2007-05-15 Marek Habersack <[email protected]>
  617. * HttpWebRequest.cs: fold all methods into GET for
  618. redirect/moves. Fixes bug #81624
  619. 2007-05-07 Miguel de Icaza <[email protected]>
  620. Missing second part of the patch.
  621. * WebHeaderCollection.cs: To be compatible with older versions of
  622. Mono that might have serialized this in a different format, catch
  623. the potential exception, and try the old name.
  624. This should become a practice whenever we fix serialization in the
  625. future.
  626. This is for #81467
  627. 2007-04-23 Marek Habersack <[email protected]>
  628. * EndPointListener.cs: relax prefix matching to succeed in cases
  629. when the prefix ends with / and the request path does not. Fixes
  630. bug #80091.
  631. * CookieCollection.cs: added a SortByPath method to sort the
  632. collection on demand.
  633. * Cookie.cs: do not return "/" for Path if it wasn't set
  634. explicitly.
  635. * CookieContainer.cs: set cookie path only if its version is
  636. "Netscape" and is null or empty. Fixes #81420.
  637. Sort the collection by the path relevance before returning from
  638. the GetCookies method. Fixes bug #81421.
  639. 2007-04-17 Joel Reed <[email protected]>
  640. * WebHeaderCollection.cs: www-authenticate should be multivalue.
  641. This fixes a bug related to RFC 2608 which says in section
  642. "15.2 Offering a Choice of Authentication Schemes"
  643. An HTTP/1.1 server may return multiple challenges with a 401
  644. (Authenticate) response, and each challenge may use a different
  645. scheme. The order of the challenges returned to the user agent is in
  646. the order that the server would prefer they be chosen. The server
  647. should order its challenges with the "most secure" authentication
  648. scheme first. A user agent should choose as the challenge to be made
  649. to the user the first one that the user agent understands.
  650. Before this change, mono was choosing whatever was sent last,
  651. which was the most insecure authentication option.
  652. 2007-04-10 Marek Habersack <[email protected]>
  653. * HttpListenerRequest.cs: do not include the query start marker
  654. ('?') in the first variable name stored in the QueryString
  655. collection. There is no HTTP header 'Accept-Types' in the
  656. standard, there's only the 'Accept' header that specifies the
  657. accepted MIME types. Fixes bug #81317
  658. 2007-03-25 Alan McGovern <[email protected]>
  659. * IPAddress.cs : Further optimisation for the Swap*** methods.
  660. 2007-03-24 Alan McGovern <[email protected]>
  661. * IPAddress.cs : Optimised the SwapInt and SwapLong methods.
  662. 2007-03-09 Miguel de Icaza <[email protected]>
  663. * FtpDataStream.cs: Close must be called on the stream before we
  664. attempt to read a status code from the remote server.
  665. Fixes FTP transfers to complete.
  666. 2007-03-05 Gonzalo Paniagua Javier <[email protected]>
  667. * HttpWebRequest.cs: properly handle OPTIONS, which may or may not
  668. have a request body. Fixes bug #80686.
  669. 2007-03-02 Marek Habersack <[email protected]>
  670. * WebClient.cs: Overwrite existing files on download, as
  671. documented and as tested on MS.NET. Fixes Bug#81005
  672. 2007-02-24 Gert Driesen <[email protected]>
  673. * HttpWebRequest.cs: Allow Proxy to be set to null on 2.0 profile.
  674. 2007-02-18 Geoff Norton <[email protected]>
  675. * AuthenticationManager.cs: Register the modules in the 2.0 profile
  676. when we create the ArrayList.
  677. 2007-02-01 Gert Driesen <[email protected]>
  678. * WebProxy.cs: In IsBypassed, move address check back to satify unit
  679. tests.
  680. 2007-01-30 Ilya Kharmatsky <ilyak -at- mainsoft.com>
  681. * Dns.cs : implemented proper exception handling under TARGET_JVM
  682. when trying to resolve not existing host.
  683. 2007-01-28 Gert Driesen <[email protected]>
  684. * IPAddress.cs: Provide more meaningful exception message on 2.0
  685. profile.
  686. 2007-01-28 Gert Driesen <[email protected]>
  687. * FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
  688. no longer throw NotSupportedException. No longer store ContentLength
  689. in headers. Do not allow null or zero-length method. Allow timeout
  690. to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
  691. Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
  692. file if it already exists. Binary serialization compatibility fixes.
  693. * FileWebResponse.cs: Return application/octet-stream as ContentType.
  694. 2007-01-28 Gert Driesen <[email protected]>
  695. * WebHeaderCollection.cs: Fixed binary serialization compatibility
  696. with MS.
  697. 2007-01-28 Gert Driesen <[email protected]>
  698. * WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
  699. compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
  700. profile, throw ArgumentNullException in IsBypassed if host is null.
  701. 2007-01-22 Miguel de Icaza <[email protected]>
  702. * HttpWebRequest.cs: Remove unused variable.
  703. * FtpWebRequest.cs: Remove unused variable.
  704. * WebHeaderCollection.cs: Remove a handful of NotImplementedException's
  705. 2007-01-11 Miguel de Icaza <[email protected]>
  706. * HttpListenerRequest.cs (SetRequestLine): Add validation for the
  707. verbs.
  708. Allow any verbs to go through, not only
  709. the white list of verbs.
  710. Fixes: 80504
  711. 2007-01-04 Gonzalo Paniagua Javier <[email protected]>
  712. * RequestStream.cs: initialize the stream in both ctors. Fixes a couple
  713. of unit tests.
  714. 2006-12-29 Gert Driesen <[email protected]>
  715. * HttpWebRequest.jvm.cs: Fixed line endings.
  716. * HttpWebResponse.jvm.cs: Same.
  717. * WebException.cs: Same.
  718. * FtpWebRequest.cs: Same.
  719. * VMWHttpProvider.jvm.cs: Same.
  720. 2006-12-29 Gert Driesen <[email protected]>
  721. * DnsPermissionAttribute.cs: Fixed line endings.
  722. * HttpVersion.cs: Same.
  723. * FtpWebResponse.cs: Same.
  724. * HttpContinueDelegate.cs: Same.
  725. * FtpAsyncResult.cs: Same.
  726. * EndpointPermission.cs: Same.
  727. * IPv6Address.cs: Same.
  728. * FtpDataStream.cs: Same.
  729. * SocketPermission.cs: Same.
  730. * FileWebRequest.cs: Same.
  731. * FileWebResponse.cs: Same.
  732. * DnsPermission.cs: Same.
  733. * ProtocolViolationException.cs: Same.
  734. * MonoHttpDate.cs: Same.
  735. * SocketPermissionAttribute.cs: Same.
  736. * CookieException.cs: Same.
  737. * WebResponse.cs: Same.
  738. * DefaultCertificatePolicy.cs: Same.
  739. 2006-12-28 Gert Driesen <[email protected]>
  740. * IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
  741. ctor. Added null checks for the address passed in the ctors.
  742. 2006-12-28 Miguel de Icaza <[email protected]>
  743. * IPAddress.cs: The condition in 1.1 was broken, it only allowed
  744. 16-byte addresses, and never 4-byte addresses (only 2.0 had
  745. them).
  746. Keep a single code path.
  747. Also, remove all the NET_1_1 defines, we realistically only
  748. distinguish between 1.1 and 2.0, we wont likely support 1.0, 1.1
  749. and 2.0, so remove the 1.0 vs 1.1 conditionals.
  750. Fixes 76792
  751. 〓2006-12-24 Gonzalo Paniagua Javier <[email protected]>
  752. * WebConnectionStream.cs: fix error in my last patch. Thanks to Felipe
  753. Almeida.
  754. 2006-12-23 Gonzalo Paniagua Javier <[email protected]>
  755. * WebConnection.cs:
  756. * HttpWebRequest.cs:
  757. * WebConnectionStream.cs: detect errors writing headers earlier and
  758. avoid race that showed up with SSL. Fixes bug #80234.
  759. 2006-12-22 Gonzalo Paniagua Javier <[email protected]>
  760. * EndPointListener.cs:
  761. * ListenerPrefix.cs:
  762. * ResponseStream.cs:
  763. * ChunkedInputStream.cs:
  764. * HttpConnection.cs:
  765. * RequestStream.cs: add initial support for HTTPS.
  766. 2006-12-18 Atsushi Enomoto <[email protected]>
  767. * FtpStatus.cs : The build gets broken when only-2.0 classes/members
  768. are not excluded in 1.x build.
  769. 2006-12-18 David Elkind <[email protected]>
  770. * FtpAsyncResult.cs : FTP request is now working and covers about 100% of .NET API
  771. * FtpDataStream.cs: FTP request is now working and covers about 100% of .NET API
  772. * FtpWebRequest.cs: FTP request is now working and covers about 100% of .NET API
  773. * FtpWebResponse.cs: FTP request is now working and covers about 100% of .NET API
  774. * FtpStatus.cs: added composite status (includes status code and status description)
  775. 2006-12-04 Konstantin Triger <[email protected]>
  776. * WebRequest.cs, WebResponse.cs: TARGET_JVM limitation workaround.
  777. 2006-12-04 Konstantin Triger <[email protected]>
  778. * ServicePointManager.cs: correct assignment typo.
  779. * ServicePoint.cs: Remove unneeded locks for getters, add internal setter.
  780. 2006-11-27 Miguel de Icaza <[email protected]>
  781. * WebRequest.cs: Instead of throwing NotImplemented exceptions,
  782. call GetMustImplement, that way we do not need the whitelist, and
  783. we save a handful of opcodes.
  784. 2006-11-21 Gonzalo Paniagua Javier <[email protected]>
  785. * HttpWebRequest.cs: add 2 more methods that are not supposed to have
  786. a body. Fixes bug #80001.
  787. 2006-11-15 Andrew Skiba <[email protected]>
  788. * WebHeaderCollection.cs: add stubs for new 2.0 properties.
  789. 2006-11-13 Gonzalo Paniagua Javier <[email protected]>
  790. * HttpWebResponse.cs: cookies are actually added to the request
  791. container if any. Fixes bug #79821.
  792. 2006-11-02 Michael Hutchinson <[email protected]>
  793. * WebRequest.cs: more closely follow MS behaviour: use system settings
  794. unless told otherwise, and respect app.config.
  795. 2006-11-01 Michael Hutchinson <[email protected]>
  796. * GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0
  797. profile, and move code to new property WebRequest.DefaultWebProxy.
  798. * WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
  799. Add support for config option UseSystemDefault using simplistic
  800. implementation of new 2.0 method GetSystemWebProxy ().
  801. 2006-10-30 Atsushi Enomoto <[email protected]>
  802. * FtpWebRequest.cs : more build fixes.
  803. 2006-10-30 Gonzalo Paniagua Javier <[email protected]>
  804. * EndPointListener.cs: update comment and avoid exception when the
  805. program is exiting.
  806. 2006-10-30 Miguel de Icaza <[email protected]>
  807. * WebRequestMethods.cs: Another typo fix.
  808. * ServicePointManager.cs: Set the default properly.
  809. * SecurityProtocolType.cs: Remove non-existant defines.
  810. 2006-10-04 Gonzalo Paniagua Javier <[email protected]>
  811. * HttpWebRequest.cs: internally allow buffer if it's not a known
  812. GET-only method instead of enabling that only for POST/PUT. Fixes bug
  813. #79595.
  814. 2006-09-28 Andrew Skiba <[email protected]>
  815. * WebConnection.cs: TARGET_JVM
  816. 2006-09-28 Gonzalo Paniagua Javier <[email protected]>
  817. * WebException.cs: patch by Andrew Skiba that fixes serialization
  818. compatibility with .NET and the default value for status.
  819. 2006-09-28 Andrew Skiba <[email protected]>
  820. * Dns.cs: TARGET_JVM
  821. 2006-09-15 Gonzalo Paniagua Javier <[email protected]>
  822. * CookieContainer.cs: send the cookies from the collection we got for
  823. the given URI, not the whole collection.
  824. * HttpWebResponse.cs: only add the cookies to this instance, not to the
  825. cookie container set in the request.
  826. 2006-09-11 Sebastien Pouliot <[email protected]>
  827. * WebConnection.cs: Patch to remove the hack that was required for
  828. using the older versions of the SSL/TLS classes. This hack is no more
  829. required :-). Patch by Gonzalo Paniagua Javier.
  830. 2006-08-30 Gonzalo Paniagua Javier <[email protected]>
  831. * HttpConnection.cs: when the content length is available, keep it
  832. updated after synchronous read. Renamed 'available' to 'remaining_body'.
  833. * RequestStream.cs: when creating the stream, pass the remaining length
  834. starting from the offset in the buffer.
  835. 2006-08-30 Gonzalo Paniagua Javier <[email protected]>
  836. * RequestStream.cs: make sure we return 0 when no more bytes left.
  837. Paticularly, when we have a content length and the whole response is
  838. buffered.
  839. 2006-08-20 Miguel de Icaza <[email protected]>
  840. * RequestStream.cs (Read): A bug fix for #79112 and what I
  841. consider to be an important change.
  842. The bug fix is that we update the "available" variable as soon as
  843. we consume data from Read, this means that a second call into Read
  844. wont block. Available was only being updated on a secondary code
  845. path, now we alwaysupdate it after using FillFromBuffer.
  846. The second component is what I believe the right behavior should
  847. be. There was a check for "if count > available" that set count
  848. to available in that case. The idea was to limit the data read
  849. from the buffer that belonged to this particular request, to allow
  850. pipelining.
  851. But this test was done after FillFromBuffer, which assumed that
  852. all the data held in the buffer (the one used by FillFromBuffer)
  853. must belong to the this request, and only future data did not.
  854. I think my change is correct, but it assumes that the initialized
  855. RequestStream will be used for other pipelined HTTP requests,
  856. which is not something am 100% sure of, so Gonzalo needs to check
  857. this.
  858. 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
  859. * Cookie.cs: avoid nullref in GetHashCode and Equals.
  860. 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
  861. * CookieCollection.cs:
  862. * CookieContainer.cs: remove expired cookies.
  863. 2006-07-07 Atsushi Enomoto <[email protected]>
  864. * Dns.cs : (GetHostEntry) when passed IP addresses, it does not issue
  865. query to DNS. Patch by Petri Latvala.
  866. 2006-07-03 Gonzalo Paniagua Javier <[email protected]>
  867. * CookieContainer.cs: don't send a secure cookie over an insecure
  868. channel.
  869. 2006-06-02 Gonzalo Paniagua Javier <[email protected]>
  870. * WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
  871. that starts with 127 are special.
  872. 2006-05-24 Gonzalo Paniagua Javier <[email protected]>
  873. * HttpListener.cs: Fixes race condition in BeginGetContext. Patch by
  874. Pawel Sakowski that fixes bug #78365.
  875. 2006-05-09 Atsushi Enomoto <[email protected]>
  876. * ServicePointManager.cs : oops, CONFIGURATION_DEP.
  877. 2006-05-09 Atsushi Enomoto <[email protected]>
  878. * GlobalProxySelection.cs : if corresponding config section is
  879. DefaultProxySection then use it.
  880. 2006-05-09 Atsushi Enomoto <[email protected]>
  881. * WebRequest.cs : if corresponding config section is
  882. WebRequestModulesSection then use it.
  883. 2006-05-09 Atsushi Enomoto <[email protected]>
  884. * ServicePointManager.cs : if corresponding config section is
  885. ConnectionManagementSection then use it.
  886. 2006-05-06 Gonzalo Paniagua Javier <[email protected]>
  887. * ResponseStream.cs:
  888. * HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
  889. Closes bug #78316.
  890. 2006-05-05 Gonzalo Paniagua Javier <[email protected]>
  891. * CredentialCache.cs: added DefaultNetworkCredentials.
  892. 2006-05-05 Gonzalo Paniagua Javier <[email protected]>
  893. * NetworkCredential.cs: implement ICredentialsByHost interface.
  894. 2006-04-27 Gonzalo Paniagua Javier <[email protected]>
  895. * WebConnection.cs: reset the challenge and the status code when
  896. creating the tunnel and sending the proxy auth. headers. Improve error
  897. message when there's an error creating the tunnel.
  898. * HttpWebRequest.cs: don't trigger an early throw for a POST that gets
  899. a 401 or 407 response.
  900. 2006-04-26 Gonzalo Paniagua Javier <[email protected]>
  901. * WebConnectionData.cs:
  902. * WebConnection.cs:
  903. * HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
  904. we were not handling a proxy authentication request. Fixes bug #78150
  905. take 2.
  906. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  907. * WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
  908. This fixes bug #78150. Also fix the bypass check for local requests.
  909. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  910. * WebProxy.cs: removed bogus ^M.
  911. 2006-04-06 Gonzalo Paniagua Javier <[email protected]>
  912. * HttpWebResponse.cs: don't remove the Set-Cookie headers. Fixes bug
  913. #78028.
  914. 2006-04-04 Atsushi Enomoto <[email protected]>
  915. * WebClient.cs : added a bunch of async method support.
  916. 2006-04-03 Chris Toshok <[email protected]>
  917. * HttpWebResponse.cs (ContentEncoding): return "" if the header
  918. isn't present.
  919. 2006-03-30 Atsushi Enomoto <[email protected]>
  920. * DownloadStringCompletedEventHandler.cs : missing delegate.
  921. 2006-03-30 Atsushi Enomoto <[email protected]>
  922. * Dns.cs : minor argument renaming.
  923. 2006-03-28 Atsushi Enomoto <[email protected]>
  924. * DownloadDataCompletedEventArgs.cs
  925. DownloadDataCompletedEventHandler.cs
  926. DownloadProgressChangedEventArgs.cs
  927. DownloadProgressChangedEventHandler.cs
  928. DownloadStringCompletedEventArgs.cs
  929. OpenReadCompletedEventArgs.cs
  930. OpenReadCompletedEventHandler.cs
  931. OpenWriteCompletedEventArgs.cs
  932. OpenWriteCompletedEventHandler.cs
  933. UploadDataCompletedEventArgs.cs
  934. UploadDataCompletedEventHandler.cs
  935. UploadFileCompletedEventArgs.cs
  936. UploadFileCompletedEventHandler.cs
  937. UploadProgressChangedEventArgs.cs
  938. UploadProgressChangedEventHandler.cs
  939. UploadStringCompletedEventArgs.cs
  940. UploadStringCompletedEventHandler.cs
  941. UploadValuesCompletedEventArgs.cs
  942. UploadValuesCompletedEventHandler.cs : added 2.0 types.
  943. 2006-03-28 Atsushi Enomoto <[email protected]>
  944. * Dns.cs : filled missing NET_2_0 members.
  945. 2006-03-28 Atsushi Enomoto <[email protected]>
  946. * IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
  947. run-test. Those IPv6 properties needed to be reimplemented.
  948. 2006-03-27 Atsushi Enomoto <[email protected]>
  949. * IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.
  950. 2006-03-16 Gonzalo Paniagua Javier <[email protected]>
  951. * WebConnectionStream.cs: avoid Begin/EndWrite when the body length is
  952. zero.
  953. 2006-03-13 Gonzalo Paniagua Javier <[email protected]>
  954. * HttpWebRequest.cs: send the request if ContentLength is set for
  955. POST/PUT, the request stream has that exact amount of bytes in it and
  956. we're trying to get the response stream.
  957. This way, closing the request stream is not needed in order to actually
  958. send the request. Fixes bug #77753.
  959. * WebConnectionStream.cs: throw if the number of bytes written is
  960. greater than the specified request content length.
  961. 2006-03-11 Miguel de Icaza <[email protected]>
  962. * WebClient.cs: Only expose the right methods to avoid warnings.
  963. * FtpDataStream.cs (Dispose): Fix signature.
  964. * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
  965. like we are missing features here).
  966. * IPAddress.cs: Move m_HashCode property to the end, and set
  967. pragmas to disable warnings.
  968. 2006-02-16 Dick Porter <[email protected]>
  969. * IPEndPoint.cs: The SocketAddress AddressFamily takes up the
  970. first two bytes, not just one. Check the size of the
  971. SocketAddress buffer for IPv6 as well.
  972. * Dns.cs: Cope when GetHostByName_internal or
  973. GetHostByAddr_internal returns fewer items in the array than it
  974. intended to (maybe due to conversion errors.)
  975. 2006-02-09 Carlos Alberto Cortez <[email protected]>
  976. * FtpWebResponse.cs: Add UpdateStatus method, to update both
  977. statusCode and statusDescription at the same time.
  978. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  979. * FtpWebRequest.cs: Remove WebExceptionStatus argument
  980. from CreateExceptionFromResponse, since exceptions gotten
  981. from server response always have a WebExceptionStatus.ProtocolError
  982. value.
  983. 2006-02-08 Carlos Alberto Cortez <[email protected]>
  984. * FtpWebRequest.cs: Add renaming support when using
  985. WebRequestMethods.Ftp.Rename method.
  986. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  987. * ChunkedInputStream.cs:
  988. * ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
  989. Sakowski.
  990. 2006-02-07 Gonzalo Paniagua Javier <[email protected]>
  991. * HttpWebRequest.cs: don't send the expect-100 if if there's no content.
  992. * HttpListenerRequest.cs:
  993. * HttpConnection.cs:
  994. * RequestStream.cs: use the content length header to avoid reading past
  995. the end of the stream.
  996. Patch by Horst Reiterer.
  997. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  998. * FtpWebRequest.cs: Add supportedCommands array with the sorted
  999. methods, to search using Array.BinarySearch. Remove CheckMethod.
  1000. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  1001. * FtpWebRequest.cs: Fixed some typos and small issues.
  1002. 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
  1003. * HttpWebRequest.cs: dummy implementation of UnsafeAuthenticationBlah
  1004. property.
  1005. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  1006. * FtpRequestCreator.cs:
  1007. * FtpAsyncResult.cs:
  1008. * FtpDataStream.cs:
  1009. * FtpWebRequest.cs:
  1010. * FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
  1011. 2006-02-01 Carlos Alberto Cortez <[email protected]>
  1012. * FtpStatusCode.cs: Fix a typo.
  1013. 2006-01-26 Gonzalo Paniagua Javier <[email protected]>
  1014. * WebClient.cs: (2.0) UploadString() returns string, not void.
  1015. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  1016. * HttpWebResponse.cs: ignore non-integer values for max-age and version.
  1017. Fixes bug #77199. Thanks to Cyrille Colin.
  1018. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  1019. * HttpWebResponse.cs: cope with malformed cookies with '=' as value.
  1020. Patch by Cyrille Colin. Fixes bug #77179.
  1021. 2005-12-25 Carlos Alberto Cortez <[email protected]>
  1022. * FtpStatusCode.cs: New 2.0 enum.
  1023. 2005-12-09 Gonzalo Paniagua Javier <[email protected]>
  1024. * CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
  1025. Colin.
  1026. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  1027. * HttpWebResponse.cs: don't loop forever when no name or value between
  1028. semicolons. Fixes bug #76943.
  1029. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  1030. * HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
  1031. without a value. Fixes bug #76922.
  1032. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  1033. * EndPointListener.cs:
  1034. * HttpListenerRequest.cs: don't require the Host header for 1.0. Just
  1035. map that to the '*' or '+' host.
  1036. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  1037. * IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
  1038. Fixes bug #76792.
  1039. 2005-11-21 Senganal T <[email protected]>
  1040. * Dns.cs : corrected a mistake in GetHostEntry ()
  1041. 2005-11-21 Senganal T <[email protected]>
  1042. * Dns.cs : added GetHostEntry() method for 2.0 api conformance
  1043. 2005-11-18 Gonzalo Paniagua Javier <[email protected]>
  1044. * HttpRequestHeader.cs: add missing values.
  1045. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  1046. * HttpListenerPrefixCollection.cs:
  1047. * HttpWebResponse.cs:
  1048. * Dns.cs:
  1049. * HttpListenerRequest.cs:
  1050. * HttpWebRequest.cs:
  1051. * HttpListenerResponse.cs: a few signature fixes for 2.0.
  1052. 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
  1053. * HttpListenerPrefixCollection.cs:
  1054. * EndPointListener.cs:
  1055. * HttpStreamAsyncResult.cs:
  1056. * HttpListenerContext.cs:
  1057. * HttpListenerBasicIdentity.cs:
  1058. * AuthenticationSchemeSelector.cs:
  1059. * HttpListener.cs:
  1060. * WebHeaderCollection.cs:
  1061. * ListenerPrefix.cs:
  1062. * HttpListenerException.cs:
  1063. * HttpResponseHeader.cs:
  1064. * EndPointManager.cs:
  1065. * HttpListenerRequest.cs:
  1066. * HttpRequestHeader.cs:
  1067. * BindIPEndPoint.cs:
  1068. * ResponseStream.cs:
  1069. * ChunkedInputStream.cs:
  1070. * HttpStatusCode.cs:
  1071. * ListenerAsyncResult.cs:
  1072. * ChunkStream.cs:
  1073. * HttpConnection.cs:
  1074. * HttpUtility.cs:
  1075. * HttpListenerResponse.cs:
  1076. * RequestStream.cs: initial implementation of HttpListener. There are
  1077. a few TODOs left (cookies, HTTPS) but almost everything else is in.
  1078. 2005-11-15 Sebastien Pouliot <[email protected]>
  1079. * IPv6Address.cs: Added on overload to ToString to get a the full
  1080. length address returned (as required by System.Uri).
  1081. 2005-11-15 Carlos Alberto Cortez <[email protected]>
  1082. * WebRequestMethods.cs: New 2.0 class.
  1083. 2005-11-05 Atsushi Enomoto <[email protected]>
  1084. * WebClient: use POST for DownloadData(). Fixed bug #76631.
  1085. 2005-10-26 Atsushi Enomoto <[email protected]>
  1086. * AuthenticationSchemes.cs : Fixed enum values and added [Flags].
  1087. 2005-10-19 Atsushi Enomoto <[email protected]>
  1088. * WebClient.cs : added net_2_0 DownloadString() and DownloadData()
  1089. with HTTP method as well.
  1090. 2005-10-19 Atsushi Enomoto <[email protected]>
  1091. * WebClient.cs : added UploadString() and Encoding (net_2_0). Added
  1092. some new overloaded stuff that takes Uri instead of string address.
  1093. 2005-10-17 Sebastien Pouliot <[email protected]>
  1094. * ICredentialPolicy.cs: New. Interface for 2.0.
  1095. 2005-10-05 Atsushi Enomoto <[email protected]>
  1096. * AuthenticationSchemes.cs : new 2.0 enum.
  1097. 2005-08-27 Gonzalo Paniagua Javier <[email protected]>
  1098. * GlobalProxySelection.cs: remove double lock.
  1099. * HttpWebRequest.cs: remove double lock in GetServicePoint() and use
  1100. a private object when locking.
  1101. 2005-07-15 Miguel de Icaza <[email protected]>
  1102. * DigestClient.cs: Fix bug #75556, the qop argument must be
  1103. quoted, per http://www.faqs.org/rfcs/rfc2617.html section
  1104. `quo-options'.
  1105. 2005-07-03 Gonzalo Paniagua Javier <[email protected]>
  1106. * WebConnectionStream.cs: initiate writing the body before trying to
  1107. read. This fixes the performance problems observed in web services.
  1108. Closes bug #75455.
  1109. 2005-06-27 Lluis Sanchez Gual <[email protected]>
  1110. * IPAddress.cs: Changed field names for the sake of serialization
  1111. interoperability with MS.NET.
  1112. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  1113. * WebConnection.cs: if cnc.EndRead throws, mark the asyncresult as done.
  1114. * WebConnectionStream.cs: if we're done with the body of a chunk, don't
  1115. require the next chunk header to be there, as some servers might close
  1116. the connection (while also sending 'Connection: close').
  1117. 2005-06-22 Gonzalo Paniagua Javier <[email protected]>
  1118. * HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
  1119. to me that this is against 10.3.3 in RFC 2616, but may be the user
  1120. 'authorization' to do this is implicit in AllowAutoRedirect...
  1121. 2005-06-21 Gonzalo Paniagua Javier <[email protected]>
  1122. * WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
  1123. if there's no record available to read. This is a workaround that makes
  1124. the call to BeginRead itself asynchronous. Fixes bug #75342.
  1125. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  1126. * WebConnection.cs:
  1127. * HttpWebRequest.cs:
  1128. * WebConnectionStream.cs: initiate the polling for input data after
  1129. sending the header so that we detect any response that the server sends
  1130. back even if we're still trying to write the request for a POST/PUT.
  1131. If we get the response (or an error) before any one calls GetResponse(),
  1132. keep it around instead of ignoring it.
  1133. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  1134. * HttpWebRequest.cs: send the right header/user/password in
  1135. PreAuthenticate in presence of a proxy.
  1136. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  1137. * IPv6Address.cs: fix IsLoopback. Closes bug #75128.
  1138. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  1139. * IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
  1140. address. Fixes bug #75125.
  1141. 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
  1142. * ServicePointManager.cs: when going through a proxy, use 2 different
  1143. service points depending on the scheme. Fixes bug #75135.
  1144. 2005-05-30 Gonzalo Paniagua Javier <[email protected]>
  1145. * Dns.cs: don't parse the address when it comes from an IPAddress.
  1146. 2005-05-23 Gonzalo Paniagua Javier <[email protected]>
  1147. * WebConnection.cs: prevent 2 nullrefs when the aborting during
  1148. Connect() and reset the status to Success before starting a new
  1149. request.
  1150. 2005-05-19 Sebastien Pouliot <[email protected]>
  1151. * WebRequest.cs: Throw NotImplementedException (not NotSupported
  1152. Exception) for stuff that should have been abstract. No exception
  1153. is thrown by the serialization constructor.
  1154. 2005-05-04 James Willcox <[email protected]>
  1155. * DigestClient.cs: convert to a hex string with "X8" consistently
  1156. for nc-value
  1157. 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
  1158. * WebConnection.cs: don't rethrow errors in Write, as the error will be
  1159. received by GetResponse*. The result is that the threadpool thread doing
  1160. this will not end up printing the exception. Fixes bug #74817.
  1161. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  1162. * ServicePoint.cs: HostEntry needs to be thread safe.
  1163. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  1164. * WebConnection.cs: removed a 'slightly' important line by mistake.
  1165. * WebConnectionStream.cs: if the transfer encoding is chunked, ignore
  1166. content-length header if present.
  1167. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  1168. * WebConnection.cs: no need to use an AutoResetEvent.
  1169. * WebConnectionStream.cs: don't start any more reads on the socket
  1170. after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
  1171. test.
  1172. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  1173. * BasicClient.cs: firefox/IE just send latin1, stripping the high byte
  1174. from unicode >= 256 characters.
  1175. 2005-04-29 Gonzalo Paniagua Javier <[email protected]>
  1176. * BasicClient.cs: use latin1 when encoding the username/domain/password.
  1177. Fixes bug #74745.
  1178. 2005-04-17 Gonzalo Paniagua Javier <[email protected]>
  1179. * WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
  1180. synchronously, no need to create the ManualResetEvent to wait on.
  1181. 2005-04-16 Gonzalo Paniagua Javier <[email protected]>
  1182. * WebConnectionStream.cs: call SetComplete in EndWrite when we're not
  1183. buffering the request body. Fixes bug #74637.
  1184. * WebAsyncResult.cs: renamed field.
  1185. 2005-04-14 Gonzalo Paniagua Javier <[email protected]>
  1186. * WebConnectionStream.cs:
  1187. * WebAsyncResult.cs: ensure we only call EndRead once per async. result.
  1188. Update total before invoking the callback when present.
  1189. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  1190. * WebConnection.cs:
  1191. * WebConnectionStream.cs: don't start reading until we've sent at least
  1192. the headers. This way we ensure that a Write happens before any Read,
  1193. which is needed by the SSL code.
  1194. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  1195. * HttpWebRequest.cs: ensure we read everything before redirecting.
  1196. 2005-04-11 Gonzalo Paniagua Javier <[email protected]>
  1197. * WebConnectionStream.cs: provide a default callback when doing async.
  1198. read/write and waiting for a timeout so that the callback sets the
  1199. event and we don't block forever. Fixes bug #74539 take 3.
  1200. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  1201. * WebConnection.cs:
  1202. * HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.
  1203. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  1204. * WebConnection.cs: fix some breakage from my last patch.
  1205. * WebConnectionStream.cs: invoke the callback when done even in EndRead.
  1206. 2005-04-10 Sebastien Pouliot <[email protected]>
  1207. * WebConnection.cs: Added support for TrustFailure when throwing a
  1208. WebException. Fix bug #74286.
  1209. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  1210. * HttpWebRequest.cs:
  1211. * WebConnectionStream.cs: implemented support for ReadWriteTimeout.
  1212. 2005-04-10 Gonzalo Paniagua Javier <[email protected]>
  1213. * WebConnection.cs: if we're reading chunked data and didn't use the
  1214. stream to read, we gotta set the async. result as complete and invoke
  1215. the callback. Don't call nstream.EndRead with the wrong IAsyncResult.
  1216. * WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
  1217. cnc.EndRead. Lock on a field instead of 'this'.
  1218. 2005-04-09 Gonzalo Paniagua Javier <[email protected]>
  1219. * HttpWebRequest.cs: throw the exception if we got an error, as now
  1220. it's catched in the redirection handling code.
  1221. 2005-04-08 Gonzalo Paniagua Javier <[email protected]>
  1222. * HttpWebRequest.cs: moved redirection handling to a proper place.
  1223. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  1224. * WebHeaderCollection.cs: added if-modified-since to the list of
  1225. restricted headers.
  1226. * ServicePoint.cs: use a field object when locking.
  1227. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  1228. * WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
  1229. need to wait for a Close/ReadAll when we have no content.
  1230. 2005-04-04 Gonzalo Paniagua Javier <[email protected]>
  1231. * NtlmClient.cs: fix typo in assembly name.
  1232. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  1233. * CookieContainer.cs: adding to a CookieCollection might not increment
  1234. the number of items if the cookie is replaced. Now Count works properly.
  1235. Fixed an array index exception (typo).
  1236. * CookieCollection.cs: also compare the version.
  1237. * HttpWebResponse.cs: when we have cookies, add them to the request
  1238. container.
  1239. * HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
  1240. 2005-03-30 Miguel de Icaza <[email protected]>
  1241. * Cookie.cs: Compare using the InvariantCulture, to match the
  1242. behavior of CookieContainer that already did this.
  1243. 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
  1244. * WebConnection.cs: we don't need to trigger the next queued request
  1245. until the response is closed.
  1246. 2005-03-29 Miguel de Icaza <[email protected]>
  1247. * HttpWebResponse.cs: Handle quotations in the cookies values, per
  1248. the spec http://www.faqs.org/rfcs/rfc2109.html, it is allowed to
  1249. have quotations.
  1250. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  1251. * BasicClient.cs:
  1252. * DigestClient.cs: check that GetCredential() does not return null.
  1253. 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
  1254. * BasicClient.cs: ensure credentials are not null.
  1255. 2005-03-10 Gonzalo Paniagua Javier <[email protected]>
  1256. * HttpWebResponse.cs: moved cookie parsing into its own class.
  1257. * WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
  1258. call.
  1259. * HttpWebRequest.cs: don't let exception raised in the ctor of
  1260. HttpWebResponse vanish.
  1261. Fixes bug #73275.
  1262. 2005-03-01 Gonzalo Paniagua Javier <[email protected]>
  1263. * WebHeaderCollection.cs: handle commas inside quotes when splitting
  1264. a multi-value header. Fixes bug #73151.
  1265. 2005-02-13 Gonzalo Paniagua Javier <[email protected]>
  1266. * DigestClient.cs: fix for digest auth. and URIs containing query. Patch
  1267. by James Wilcox. Fixes bug #72571.
  1268. 2005-02-12 Gonzalo Paniagua Javier <[email protected]>
  1269. * HttpWebResponse.cs:
  1270. * WebConnection.cs:
  1271. * HttpWebRequest.cs:
  1272. * WebConnectionStream.cs: don't read the entire response unless the
  1273. user requests it. Fixes bug #72443.
  1274. 2005-02-08 Zoltan Varga <[email protected]>
  1275. * IPv6Address.cs: Fix endianess problems.
  1276. * IPAddress.cs: Fix misleading comments.
  1277. 2005-02-04 Gonzalo Paniagua Javier <[email protected]>
  1278. * HttpWebRequest.cs: send the headers when we're supposed to write
  1279. a POST/PUT but call GetResponse before GetRequestStream.
  1280. * WebConnectionStream.cs: new RequestWritten property.
  1281. 2005-01-20 Jonathan Pryor <[email protected]>
  1282. * EndpointPermission.cs: Fix IsSubsetof(hostname) so that the regression
  1283. tests work. In particular, IsSubsetOf ("12.13.*.*", "12.13.14.*") failed
  1284. because 14 wasn't a subset of * (which it is). Fix: if part1 is we
  1285. continue to the next portion.
  1286. 2005-01-20 Jonathan Pryor <[email protected]>
  1287. * IPAddress.cs (ParseIPV4): Fix so that the regression tests work. In
  1288. particular, " foo" and ".1.1.6" weren't being caught (" foo" because it
  1289. started with a space, and ".1.1.6" because the split string accepted a
  1290. 0-length portion, which would make 1...6 valid, but isn't valid based on
  1291. similar test cases).
  1292. 2005-01-20 Jonathan Pryor <[email protected]>
  1293. * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
  1294. commas if the header is a Multi-Value header. This matches
  1295. MonoTests.System.Net.WebHeaderCollectionTest.
  1296. 2005-01-19 Sebastien Pouliot <[email protected]>
  1297. * WebPermissionAttribute.cs: Fixed NET_1_1 behaviour.
  1298. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  1299. * WebConnectionStream.cs: remove unneeded check. Write detects and
  1300. triggers the exception now.
  1301. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  1302. * AuthenticationManager.cs: don't lock on a public Type.
  1303. * HttpWebRequest.cs: read the error response for auth. errors.
  1304. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  1305. * HttpWebRequest.cs: set webResponse back to null when redirecting.
  1306. Fix the previous patch so that it reads the whole response even if
  1307. auto-redirect is not enabled. Closes bug #70484.
  1308. 2004-12-12 Gonzalo Paniagua Javier <[email protected]>
  1309. * HttpWebResponse.cs: added ReadAll method.
  1310. * WebConnection.cs: in HandleError, set the response error after
  1311. closing the socket. Use an async. delegate to finish reading any prior
  1312. WebConnectionStream.
  1313. * HttpWebRequest.cs: for error responses that allow content, read the
  1314. stream immediately. Fixes bug #70483.
  1315. 2004-12-11 Gonzalo Paniagua Javier <[email protected]>
  1316. * CookieContainer.cs: quote the port number.
  1317. 2004-12-10 Gonzalo Paniagua Javier <[email protected]>
  1318. * WebConnection.cs:
  1319. * WebConnectionStream.cs: removed TryReconnect. It's no longer needed.
  1320. 2004-12-05 Gonzalo Paniagua Javier <[email protected]>
  1321. * WebConnection.cs: set the event in Close so that if the queue is
  1322. empty, we won't block forever on next request. The finalizer was
  1323. removed because we're not implementing IDisposable pattern here.
  1324. 2004-12-04 Gonzalo Paniagua Javier <[email protected]>
  1325. * WebConnection.cs: handle errors on chunked streams. Fixes bug #66858.
  1326. * ChunkStream.cs: added error checking all over.
  1327. * HttpWebRequest.cs: throw the exception received in SetResponseError
  1328. if we already have a response.
  1329. (SetRequestData): Don't nest the exception if it's a WebException.
  1330. 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
  1331. * WebConnection.cs: remove prevStream and don't set busy to false in
  1332. HandleError. prevStream is not needed any more and setting 'busy' so
  1333. early might let a request skip the queue.
  1334. * WebConnectionGroup.cs: decrement the indexer when removing a dead
  1335. reference from the arraylist.
  1336. * WebConnectionStream.cs:
  1337. (ReadAll): call NextRead if it has not been called before even when
  1338. we have completed the request. Reuse the read buffer when reading a
  1339. response of unknown size. Increase the buffer to 8kB.
  1340. (BeginRead): increase pendingReads earlier and even when reading from
  1341. the internal buffer.
  1342. (EndRead): decrease pendingReads later and always.
  1343. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  1344. * CookieContainer.cs: style, fixed checks for properties, implemented
  1345. the MonoTODOs for the method that take an Uri. GetCookies and
  1346. GetCookieHeaders now really return only the cookies that are requested
  1347. filtering by the Uri parameter.
  1348. * Cookie.cs: style, added default values for Comment, Domain and Port.
  1349. 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
  1350. * CookieCollection.cs: reformatted, fixed Add by adding a new method to
  1351. search across the arraylist, as list.IndexOf is not what we want.
  1352. 2004-11-19 Gonzalo Paniagua Javier <[email protected]>
  1353. * WebConnection.cs: check for FIN or RST on the socket before reusing.
  1354. Fixes bug #69388.
  1355. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  1356. * ChunkStream.cs: simplified condition for WantMore property.
  1357. * WebConnection.cs: in Connect(), finish any pending reads we might
  1358. have for chunked data. Ignore possible blank lines at the very
  1359. beginning of the server response. Honor user set KeepAlive in
  1360. HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
  1361. his suggestions and code.
  1362. 2004-11-01 Gonzalo Paniagua Javier <[email protected]>
  1363. * HttpWebResponse.cs: don't lock up when the cookie received ends with
  1364. a semicolon. Patch by Darryl VanDorp. Fixes bug #68956.
  1365. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  1366. * HttpWebRequest.cs: don't fail if the request has already been sent
  1367. when accessing ContentType setter. Fixes bug #68848.
  1368. 2004-10-25 Gonzalo Paniagua Javier <[email protected]>
  1369. * ChunkStream.cs:
  1370. (WantMore): we're not done until we get a 0 chunk size and the trailer.
  1371. The 0 can be expressed as more than one character too (ie, 000000).
  1372. * HttpWebRequest.cs: new argument in SetResponseError.
  1373. * WebConnection.cs: added argument to HandleError as a hint for
  1374. debugging.
  1375. (Connect): make the chunked stream be in the expected state when
  1376. reusing.
  1377. * WebConnectionStream.cs: removed unused method (ResetWriteBuffer).
  1378. 2004-10-10 David Sheldon <[email protected]>
  1379. * HttpWebRequest.cs: Use RemoveAndAdd for AddRange. Fixes unittest.
  1380. 2004-10-05 Gonzalo Paniagua Javier <[email protected]>
  1381. * HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
  1382. * WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
  1383. SetInternal.
  1384. 2004-10-04 Gonzalo Paniagua Javier <[email protected]>
  1385. * HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
  1386. tunneling a secure connection.
  1387. * ServicePoint.cs: added UseConnect property.
  1388. * ServicePointManager.cs: set the UseConnect property when we use a http
  1389. proxy for a https connection.
  1390. * WebConnection.cs: setup the tunnled connection when using a proxy and
  1391. https.
  1392. 2004-09-13 Gonzalo Paniagua Javier <[email protected]>
  1393. * HttpWebResponse.cs: remove unused SplitValue method.
  1394. 2004-09-10 Sebastien Pouliot <[email protected]>
  1395. * DnsPermission.cs: Updated to pass new unit tests.
  1396. * DnsPermissionAttribute.cs: Cleanup.
  1397. * SocketPermission.cs: Updated to pass new unit tests.
  1398. * SocketPermissionAttribute.cs: Updated to pass new unit tests.
  1399. * WebPermission.cs: Implemented some TODO - not complete yet.
  1400. * WebPermissionAttribute.cs: Updated to pass new unit tests.
  1401. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  1402. * Cookie.cs: don't fail when using default constructor. Fixes bug
  1403. #62890.
  1404. 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
  1405. * HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
  1406. than once and have multiple values. Don't rely on string.split when
  1407. parsing cookie values.
  1408. * WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
  1409. Fixed GetValues (it was splitting values that contained a comma) and
  1410. changed SetInternal to handle multi-value headers.
  1411. Fixes bug #62744.
  1412. 2004-07-26 Gonzalo Paniagua Javier <[email protected]>
  1413. * WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
  1414. ([email protected]).
  1415. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  1416. * HttpWebRequest.cs: detect changes in scheme or port when redirecting.
  1417. Fixes las take on bug 61218.
  1418. 2004-07-14 Gonzalo Paniagua Javier <[email protected]>
  1419. * WebConnection.cs: moved loading of the ssl stream Type to its own
  1420. method. Don't create a new ssl stream if we're reusing the connection.
  1421. * WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
  1422. is the expected even if the dta from the server has extra bytes.
  1423. 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
  1424. * WebConnection.cs:
  1425. * WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
  1426. "responses MUST NOT include a message-body". We tried to read the
  1427. stream even when getting those codes and considered the 0 length
  1428. read as a failure.
  1429. 2004-07-09 Gonzalo Paniagua Javier <[email protected]>
  1430. * HttpWebRequest.cs: removed bogus Monitor.Exit.
  1431. * WebConnection.cs: use Address instead of RequestUri when checking for
  1432. the scheme in order to select the stream type. Fixes bug #61218.
  1433. 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
  1434. * ChunkStream.cs: added ChunkLeft property.
  1435. * WebConnection.cs:
  1436. (EndRead): when using small byte arrays to read from a chunked stream,
  1437. ensure we've read the chunk size and try to fulfill the request
  1438. completely. fixes bug 59653.
  1439. 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
  1440. * WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.
  1441. 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
  1442. * DigestClient.cs: cache the sessions based on address and
  1443. credentials, not only address. Added poor men's expiration to
  1444. the session cache. Fixes bug #59202.
  1445. 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
  1446. * IPAddress.cs:
  1447. * IPEndPoint.cs:
  1448. * IPv6Address.cs: no more warnings about IPAddress.Address.
  1449. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  1450. * WebException.cs: implemented serialization .ctor and
  1451. GetObjectData().
  1452. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  1453. * WebAsyncResult.cs: don't create the WaitHandle if not needed.
  1454. 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
  1455. * HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
  1456. used yet.
  1457. * NetConfig.cs: added MaxResponseHeadersLength field.
  1458. * ServicePoint.cs:
  1459. * ServicePointManager.cs: added missing properties for 1.1.
  1460. 2004-05-03 Sebastien Pouliot <[email protected]>
  1461. * WebConnection.cs: Use assembly name const to load Mono.Security.
  1462. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  1463. * NtlmClient.cs: Use assembly name const to load Mono.Security.
  1464. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  1465. * WebConnectionStream.cs: avoid the exception when getting the content
  1466. length if possible.
  1467. 2004-03-29 Lluis Sanchez Gual <[email protected]>
  1468. * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
  1469. the lock is released in case of exception (for example, a
  1470. ThreadAbortException). This also "fixes" bug #52417.
  1471. Beware, this requires a runtime update (due to a bug in Monitor.Exit).
  1472. * ServicePoint.cs: Changed method from internal to private, since it
  1473. is not called from outside the class.
  1474. 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
  1475. * HttpWebRequest.cs: added the exception status to the error message.
  1476. * WebConnection.cs: add headers using SetInternal instead of Add to
  1477. bypass header name validation. Fixes bug #55994.
  1478. * WebHeaderCollection.cs: added SetInternal (string header).
  1479. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  1480. * WebConnection.cs:
  1481. * WebConnectionGroup.cs: the requests queue is now shared for all the
  1482. connections belonging to the same connection group.
  1483. 2004-02-26 Sebastien Pouliot <[email protected]>
  1484. * DefaultCertificatePolicy.cs: New. Certificate validation
  1485. policy compatible with the documented one present in Fx. It
  1486. allows valid certificates and expired certificates to be used
  1487. for SSL connections.
  1488. * ServicePointManager.cs: Removed the DummyPolicy. Now creates
  1489. a DefaultCertificatePolicy to validate certificates.
  1490. 2004-02-26 Gonzalo Paniagua Javier <[email protected]>
  1491. * ServicePoint.cs: SendContinue is always false for HTTP/1.0
  1492. * WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
  1493. calling more the ContinueDelegate more than once when we get the
  1494. headers in several packets.
  1495. * WebConnectionStream.cs: removed call to WaitForContinue.
  1496. 2004-02-25 Sebastien Pouliot <[email protected]>
  1497. * WebConnection.cs: Update previous patch to use HttpsClientStream
  1498. (internal in Mono.Security assembly) in place of SslClientStream.
  1499. This will reduce reflection and allow to use ICertificatePolicy.
  1500. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  1501. * DigestClient.cs: fix quote handling. Reordered attributes in response.
  1502. Fixed typo (QOP->CNonce). Now Digest works with apache2.
  1503. 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
  1504. * DigestClient.cs: removed Console.
  1505. * HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.
  1506. 2004-02-24 Sebastien Pouliot <[email protected]>
  1507. * DigestClient.cs: Fixed issue with Apache server which do not use "
  1508. for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").
  1509. 2004-02-20 Gonzalo Paniagua Javier <[email protected]>
  1510. * HttpWebRequest.cs: arghhh. I used the server response headers instead
  1511. of what the client is supposed to send. Thanks to Helge Hess.
  1512. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  1513. * AuthenticationManager.cs: implemented PreAuthenticate().
  1514. * HttpWebRequest.cs: once we know the version of the server, use it if
  1515. below the requested one. Remove 'Expect', 'Content-Length' and /or
  1516. 'Transfer-Encoding' if appropiate due to changes in version. Fixed
  1517. 'Host' header for non-standard ports. Support preauthentication. Closes
  1518. bug #50530.
  1519. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  1520. * HttpWebRequest.cs: check for missing or wrong URI in Location header
  1521. when redirecting.
  1522. * WebConnection.cs: if the data read does not contain all the headers,
  1523. keep it around and read the rest until we get to the response body.
  1524. Allow response code with no description. Fixed bug #54543.
  1525. 2004-02-18 Sebastien Pouliot <[email protected]>
  1526. * SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
  1527. Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
  1528. profile (as we need it for SslClientStream).
  1529. * ServicePoint.cs: Added internal SetCertificates(client,server).
  1530. * ServicePointManager.cs: Added CheckCertificateRevocationList and
  1531. CheckCertificateRevocationList static properties (public in 1.1,
  1532. internal for 1.0).
  1533. * WebConnection.cs: Dynamically creates a SslClientStream (from
  1534. Mono.Security assembly) in case of https. Changed NetworkStream to
  1535. Stream everywhere.
  1536. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  1537. * HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
  1538. don't know the server version or it's 1.0.
  1539. * ServicePoint.cs: added SetVersion.
  1540. * WebAsyncResult.cs: remove ChunkAsyncResult.
  1541. * WebConnection.cs: set the ServicePoint version when getting a response
  1542. from the server.
  1543. * WebConnectionStream.cs: when posting chunked content, send the head,
  1544. body and trailer of the chunk at once instead of doing 3 separate
  1545. writes, which may cause troubles.
  1546. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  1547. * WebConnection.cs: if we get a 100 when we're not waiting for it, set
  1548. that information in the ServicePoint.
  1549. * WebConnectionStream.cs: send headers in the right order for
  1550. non-chunked POST.
  1551. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  1552. * WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.
  1553. 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
  1554. * HttpWebRequest.cs: on second and sucesive tries when authenticating,
  1555. don't use chunked encoding for POST, as we know the content length and
  1556. have the body. Nullify bodyBuffer always in CheckFinalStatus.
  1557. * WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
  1558. IAsyncResult when writing CRLF at the end of a chunk.
  1559. * WebConnectionStream.cs: support sending chunked data.
  1560. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  1561. * HttpWebRequest.cs: When retrying a POST request after an
  1562. authentication failure, resend the body. This fixes bug #51841.
  1563. * WebConnectionStream.cs: Added properties for getting what's been
  1564. written.
  1565. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  1566. * HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.
  1567. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  1568. * HttpWebRequest.cs: support proxy authentication.
  1569. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  1570. * BasicClient.cs:
  1571. * DigestClient.cs: use IndexOf instead of StartsWith to deal with
  1572. servers that provide several authentication schemas.
  1573. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  1574. * ChunkStream.cs: use an array of buffers instead of a MemoryStream for
  1575. storing the chunks. This way, we won't miss traling data from the
  1576. previous chunk when a new one is received before the other is fully
  1577. read.
  1578. 2004-01-27 Nick Drochak <[email protected]>
  1579. * DigestClient.cs:
  1580. * HttpWebRequest.cs:
  1581. * IPv6Address.cs:
  1582. * WebClient.cs:
  1583. * WebConnection.cs:
  1584. * WebConnectionStream.cs: Remove unused variables thus eliminating some
  1585. build warnings.
  1586. 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
  1587. * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
  1588. handling for the case when the same packet also contains the actual
  1589. [2-5]xx response.
  1590. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  1591. * HttpWebRequest.cs: Added missing property.
  1592. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  1593. * Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
  1594. bug #53222.
  1595. 2004-01-16 Lluis Sanchez Gual <[email protected]>
  1596. * ChunkStream.cs: The "size" parameter of Write is not the number of
  1597. bytes to write, but the last offset to be written. Thus, in WriteAndRead
  1598. Back, since "read" is not an offset but the number of bytes, it must be
  1599. added to the offset. Maybe it would be a good idea to change the name of
  1600. the parameter, since it is confusing. This should fix bug #52591.
  1601. 2004-01-12 Lluis Sanchez Gual <[email protected]>
  1602. * WebConnection.cs: Yet another fix for WebConnection. This fixes
  1603. bug #52169.
  1604. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  1605. * WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
  1606. tidied up the end of ReadDone. Disabled relaunching the request if 2
  1607. InitRead are called, since now we don't throw everything into
  1608. RegisterWaitForSingleObject but one request at a time.
  1609. * WebConnectionGroup.cs: when checking available connections, allow them
  1610. not to be Connected but allocated to honor the connection limit.
  1611. * WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
  1612. too. ReadAll don't mess contentLength if it's provided in the headers.
  1613. BIG thanks to Lluis. Turns out that we were debugging the same stuff and
  1614. his Data.Init discovery was THE thing I was missing.
  1615. Fixes bug #51277.
  1616. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  1617. * ServicePointManager.cs: use GetMaxConnections to get the appropiate
  1618. number of connections limit.
  1619. 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
  1620. * MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
  1621. guilty for bug 52629.
  1622. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  1623. * CredentialCache.cs: return null instead of throwing NotImplemented.
  1624. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  1625. * HttpWebRequest.cs: fixed checking if method allows a body. Patch by
  1626. Benjamin Jemlich ([email protected]).
  1627. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  1628. * HttpWebRequest.cs: deal with authentication schemes that have more
  1629. than 1 round trip (Ntlm).
  1630. 2003-12-11 Gonzalo Paniagua Javier <[email protected]>
  1631. * NtlmClient.cs: new class that actually uses one from Mono.Http to do
  1632. the authentication.
  1633. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1634. * HttpWebRequest.cs: when building the redirect URI, use the previous
  1635. one as the base URI, which makes relative URIs work.
  1636. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1637. * DigestClient.cs: merged in code from Sebastien Pouliot and Greg
  1638. Reinacker that Supports cnonce and preauthentication.
  1639. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1640. * DigestClient.cs: initial Digest authentication. Works with apache
  1641. mod_digest.
  1642. 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
  1643. * HttpWebRequest.cs: removed unneeded StringBuilder.
  1644. * WebConnection.cs: default to keep the connection open for HTTP/1.1
  1645. only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
  1646. 2003-11-17 Gonzalo Paniagua Javier <[email protected]>
  1647. * WebConnection.cs: turns out that socket.Connected is not useful until
  1648. we actually try to send/receive data, even if the other end has already
  1649. closed the socket. Added TryReconnect() and Connected.
  1650. * WebConnectionData.cs: default value for StatusCode is 0 now.
  1651. * WebConnectionGroup.cs: reuse the connection since the beginning,
  1652. instead of opening up to ConnectionLimit and then reusing.
  1653. * WebConnectionStream.cs: reopen the socket if we're trying to reuse
  1654. one which fails on first write.
  1655. 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
  1656. * WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
  1657. wrap it and do our job before calling it. Fixes bug #48497.
  1658. 2003-11-12 Andreas Nahr <[email protected]>
  1659. * WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
  1660. * SecurityProtocolType.cs: Added and implemented
  1661. 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
  1662. * HttpWebRequest.cs: fixed redirects when they target another host.
  1663. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  1664. * IPAddress.cs: prevent exceptions when trying to parse the static IPv6
  1665. addresses.
  1666. 2003-10-17 Pedro Martinez Julia <[email protected]>
  1667. * WebClient.cs: use Path.DirectorySeparator instead of "/" for
  1668. windows compatibility. Add some checks for file paths like
  1669. "C:/xxx/yyy/..." and like "/home/xxx/...".
  1670. 2003-10-16 Pedro Martinez Julia <[email protected]>
  1671. * WebClient.cs: added a slash between directory and file names.
  1672. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1673. * HttpWebRequest.cs:
  1674. * HttpWebResponse.cs: better abort handling and leave the stream in a
  1675. stable status on abort.
  1676. 2003-10-12 Pedro Martinez Julia <[email protected]>
  1677. * WebClient.cs: refine reading of local files (like MS.NET).
  1678. 2003-10-10 Pedro Martinez Julia <[email protected]>
  1679. * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
  1680. but we didn't. Now, when Uri fails with an exception, it adds
  1681. "file://" before the URI and tries again.
  1682. 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
  1683. * ServicePoint.cs: preparing for recycling. Not yet finished.
  1684. * ServicePointManager.cs: this is the one that reads config.
  1685. * WebConnectionGroup.cs: don't read config here.
  1686. * WebConnection.cs: added the queue again. Launch queued requests on
  1687. error.
  1688. 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
  1689. * WebConnection.cs: the queue is now handled by the threadpool.
  1690. Initialize the connection data in a place where it does not depend on
  1691. the execution order of the requests in threadpool. More error handling.
  1692. * WebConnectionGroup.cs: use the limits in the config file and reuse
  1693. connections when the limit is reached.
  1694. 2003-10-02 Gonzalo Paniagua Javier <[email protected]>
  1695. * HttpWebRequest.cs: handle 304 a la MS.
  1696. * WebConnection.cs: set the response data when reading 0 bytes.
  1697. 2003-09-16 Gonzalo Paniagua Javier <[email protected]>
  1698. * WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
  1699. invalid state.
  1700. 2003-08-14 Nick Drochak <[email protected]>
  1701. * WebRequest.cs: Check lower case string since that is what we will add.
  1702. 2003-08-04 Jerome Laban <[email protected]>
  1703. * IPHostEntry.cs: Default contructor must not initialize members.
  1704. (Fixes bug #45575).
  1705. 2003-07-27 Andreas Nahr <[email protected]>
  1706. * CredentialCache.cs: Removed undefined serializable attribute
  1707. 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
  1708. * ChunkStream.cs:
  1709. (WantMore): true if we've not received the last chunk yet. Fixes
  1710. bug #45463. Thanks to Miguel for tracking this down and providing a
  1711. test case.
  1712. * WebConnection.cs: removed bogus ^M's.
  1713. * WebHeaderCollection.cs: provide more info when the header or value is
  1714. wrong.
  1715. 2003-07-15 Andreas Nahr <[email protected]>
  1716. * ChunkStream.cs: Removed unused members
  1717. * IPAddress.cs: Removed unused exception variable, fixes compiler
  1718. warning.
  1719. * WebConnection.cs: Removed unused exception variables, fixes compiler
  1720. warnings.
  1721. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  1722. * NetConfig.cs: If Clone method is not public, then it must use
  1723. explicit interface method implementation syntax.
  1724. 2003-07-14 Jerome Laban <[email protected]>
  1725. * Dns.cs: Reworked indentation.
  1726. Added IPv6 support.
  1727. Added literal address checking in GetHostByAddress.
  1728. Changed Dns.Resolve behavior.
  1729. * IPAddress.cs:
  1730. * IPEndPoint.cs: Added IPv6 support.
  1731. * IPv6Address.cs: Added address compression.
  1732. * NetConfig.cs: Added configuration section.
  1733. 2003-07-14 Jerome Laban <[email protected]>
  1734. * ServicePoint.cs: Removed Connect and GetEndPoint methods.
  1735. Removed reverse resolution when uri is literal IP address.
  1736. * WebConnection.cs: IPv6 compatibility update: Try to connect
  1737. to all addresses returned by IPHostEntry.
  1738. * WebConnectionGroup.cs: Removed unused parameter.
  1739. 2003-07-13 Andreas Nahr <[email protected]>
  1740. * WebProxy.cs: Add serialization/ deserialization support
  1741. 2003-07-10 Andreas Nahr <[email protected]>
  1742. * ProxyUseType.cs:
  1743. * WebStatus.cs: Deleted (do not exist in this assembly)
  1744. * IPv6Address.cs: Made internal
  1745. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  1746. * HttpWebRequest.cs:
  1747. * ServicePointManager.cs:
  1748. * WebConnection.cs: added support for proxies.
  1749. 2003-07-05 Andreas Nahr <[email protected]>
  1750. * DnsPermissionAttribute.cs:
  1751. * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
  1752. 2003-07-05 Andreas Nahr <[email protected]>
  1753. * WebPermission.cs: Added and partially implemented
  1754. * WebPermissionAttribute.cs: Added and implemented
  1755. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  1756. * WebClient.cs: fixed bug #45651.
  1757. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  1758. * WebClient.cs: Small fix by Sebastian <[email protected]>.
  1759. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  1760. * WebConnection.cs: fixed header writing the reusing a connection and
  1761. the server does not send 100-continue response.
  1762. 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
  1763. * WebConnection.cs: close the socket and connection when disposing.
  1764. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
  1765. when creating instances.
  1766. * HttpWebRequest.cs:
  1767. * HttpWebResponse.cs:
  1768. * FileWebRequest.cs: support serialization.
  1769. * FileWebResponse.cs: support serialization and fixed dispose checks.
  1770. * FileWebRequestCreator.cs:
  1771. * HttpRequestCreator.cs: added internal .ctor.
  1772. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  1773. * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
  1774. called before asyncWrite.SetCompleted, to make sure that the waiting
  1775. thread does not start to send more information before
  1776. SendRequestHeaders has finished.
  1777. 2003-06-22 Lluis Sanchez Gual <[email protected]>
  1778. * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
  1779. read is really needed.
  1780. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  1781. * WebHeaderCollection.cs: prevent duplication headers used niternally.
  1782. 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
  1783. * HttpWebRequest.cs: if CookieContainer has not been set, make
  1784. HttpWebResponse ignore Set-Cookie* headers.
  1785. * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
  1786. CookieContainer have been provided to the request.
  1787. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  1788. * AuthenticationManager.cs: get the list of authentication modules from
  1789. the configuration files. Added Clear and fixed Unregister.
  1790. * BasicClient.cs: fully implemented.
  1791. * HttpWebRequest.cs: added support for Basic authentication when
  1792. credentials are set.
  1793. * NetworkCredential.cs: fixed GetCredential.
  1794. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  1795. * HttpWebRequest.cs: *really* take care of requestSent to prevent
  1796. sending the same request twice.
  1797. * WebAsyncResult.cs: don't close the handle. Just Reset.
  1798. * WebConnectionStream.cs: removed unneeded line.
  1799. 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
  1800. * HttpWebRequest.cs: use InternalClose when we are not going to send the
  1801. rest of the request stream because of an error after sending the
  1802. headers.
  1803. * WebConnection.cs: check for completion after setting the response.
  1804. Enable reading in NextRead.
  1805. * WebConnectionStream.cs: re-fixed the count for partially buffered
  1806. reads. If the network stream returns 0 bytes, we're done.
  1807. 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
  1808. * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
  1809. special headers *after* the others.
  1810. 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
  1811. * WebConnectionStream.cs: when the read is partially filled from the
  1812. initial buffer, add those bytes too. Thanks to Lluis for debugging this.
  1813. 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
  1814. * HttpWebRequest.cs: added ExpectContinue property.
  1815. * WebConnection.cs: allow 100 Continue to be delayed after waiting for
  1816. it.
  1817. 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
  1818. * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
  1819. is known not to respond to that.
  1820. * ServicePoint.cs: added SendContinue property.
  1821. * WebConnection.cs: only wait 2 seconds for a continue reply. If it
  1822. timeouts, set SendContinue to false and proceeed sending data.
  1823. * WebConnectionStream.cs: if 100-continue is not received and instead we
  1824. get a 417 or anything else, don't send the data.
  1825. * WebClient.cs: implemented all missing properties and methods except
  1826. UploadFile.
  1827. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  1828. * FileWebRequestCreator.cs: splitted from WebRequest.
  1829. * HttpRequestCreator.cs: splitted fromWebRequest.
  1830. * WebRequest.cs: added methods that are used by the new configuration
  1831. handler to set prefix/type name requests creators.
  1832. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  1833. * AuthenticationManager.cs:
  1834. * Authorization.cs:
  1835. * BasicClient.cs: new file.
  1836. * ChunkStream.cs: new file.
  1837. * Cookie.cs:
  1838. * CookieContainer.cs:
  1839. * GlobalProxySelection.cs:
  1840. * HttpWebRequest.cs:
  1841. * HttpWebResponse.cs:
  1842. * IAuthenticationModule.cs:
  1843. * ServicePoint.cs:
  1844. * ServicePointManager.cs:
  1845. * WebAsyncResult.cs: new file.
  1846. * WebConnection.cs: new file.
  1847. * WebConnectionData.cs: new file.
  1848. * WebConnectionGroup.cs: new file.
  1849. * WebConnectionStream.cs: new file.
  1850. * WebException.cs:
  1851. * WebHeaderCollection.cs:
  1852. * WebProxy.cs:
  1853. * WebResponse.cs:
  1854. Reworked HttpWebRequest and related classes.
  1855. 2003-05-30 Miguel de Icaza <[email protected]>
  1856. * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
  1857. InternalServerError (500)
  1858. 2003-05-29 Miguel de Icaza <[email protected]>
  1859. * HttpWebRequest.cs (Close): Move the code that accumulates the
  1860. output to Close from Flush. Flush could have been called in the
  1861. middle of the processing, and would have generated invalid results
  1862. (which it did).
  1863. 2003-05-23 Zoltan Varga <[email protected]>
  1864. * Dns.cs (GetHostByAddress): Return the local host when called with
  1865. IF_ANY.
  1866. 2003-04-29 Miguel de Icaza <[email protected]>
  1867. * WebClient.cs (DownloadData): Close the underlyng stream.
  1868. (DownloadFile): Use using, so the file gets closed.
  1869. 2003-04-24 Miguel de Icaza <[email protected]>
  1870. * WebClient.cs (DownloadData): Instead of using a MemoryStream,
  1871. keep track of all the small chunks in an ArrayList. The
  1872. MemoryStream had the property of reallocating itself, and the
  1873. problem was that MemoryStream.GetBuffer would return the buffer
  1874. (correctly), but not something of the right size. So clients of
  1875. DownloadData would get the extra unused bytes as part of the
  1876. result.
  1877. The solution would have been to make another copy at this point,
  1878. instead, we only keep the small allocations around in the
  1879. ArrayList, and we only do one large allocation at the end.
  1880. * HttpWebResponse.cs: If there is a Content-Length header, pass
  1881. this information to our HttpWebResponseStream, so it knows when to
  1882. stop, instead of waiting for the stream to be shut down by the
  1883. other end.
  1884. * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
  1885. the underlying stream if the method will do a content transfer and
  1886. no Content-Length was provided. If not (HEAD and GET or
  1887. Content-Length provided), keep going.
  1888. 2003-04-23 Miguel de Icaza <[email protected]>
  1889. * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
  1890. the ContentLength specified on the request. If that happens, we
  1891. have to accumulate all the data written, and once we accumulate
  1892. the data, we send it off.
  1893. Notice that the documentation in .NET is actually incorrect, they
  1894. state that setting ContentLength is mandatory. It is not.
  1895. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  1896. * HttpWebResponse.cs: fixes bug #41180.
  1897. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  1898. * HttpWebRequest.cs: throw an exception is the response code is >= 300.
  1899. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  1900. * HttpWebRequest.cs: implemented IDisposable, make the request stream
  1901. read only. Changed the way of disposing the socket.
  1902. * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
  1903. handle chunked transfer encoding (no more hangs), added serialization
  1904. stuff, call CheckDisposed at the beginning of methods/properties (not
  1905. in a finally clause).
  1906. 2003-02-17 Nick Drochak <[email protected]>
  1907. * WebClient.cs : Implemented Credentials property.
  1908. 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
  1909. * SocketAddress.cs: byte 1 of the data is the high byte of the family,
  1910. not the size.
  1911. 2003-01-29 Atsushi Enomoto <[email protected]>
  1912. * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
  1913. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  1914. * HttpWebRequest.cs: applied patch from Tim Haynes
  1915. ([email protected]).
  1916. Avoided double-sending of the request to the server when both
  1917. GetRequestStream() and GetResponse() are called.
  1918. System Header attributes survive the Headers attribute set.
  1919. Added handling of Connection: KeepAlive/Close
  1920. 2002-10-03 Dick Porter <[email protected]>
  1921. * Dns.cs: Fixed GetHostName()
  1922. 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
  1923. * HttpWebRequest.cs:
  1924. * HttpWebResponse.cs: applied another patch from Shahms E. King
  1925. ([email protected]).
  1926. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  1927. * HttpWebRequest.cs:
  1928. * HttpWebResponse.cs: applied patch from Shahms E. King
  1929. ([email protected]).
  1930. 2002-05-29 Lawrence Pit <[email protected]>
  1931. * MonoHttpDate.cs: added
  1932. * HttpWebRequest.cs: using MonoHttpDate
  1933. * HttpWebResponse.cs: using MonoHttpDate
  1934. * DnsPermission.cs: correct XML output
  1935. * SocketPermission.cs: correct XML output
  1936. 2002-05-21 Lawrence Pit <[email protected]>
  1937. * WebClient.cs: stubbed
  1938. * WebProxy.cs: fixed bug; had to change internal representation
  1939. of bypasslist to ArrayList, different implementation of checking
  1940. regex's.
  1941. 2002-05-20 Lawrence Pit <[email protected]>
  1942. * WebProxy.cs: added, implemented
  1943. * ServicePoint.cs: implemented most
  1944. * ServicePointManager.cs: implemented
  1945. * HttpWebRequest.cs: started implementation
  1946. * HttpWebResponse.cs: improved disposable routines
  1947. * FileWebRequest.cs: slight improvement of Close method
  1948. 2002-05-19 Lawrence Pit <[email protected]>
  1949. * FileWebRequest.cs: finished implementation of async methods.
  1950. * FileWebResponse.cs: improved disposable routines.
  1951. * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
  1952. byte ordering of address was backwards.
  1953. 2002-05-13 Lawrence Pit <[email protected]>
  1954. * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
  1955. relying on standard asynchronous delegate features. Added checks for
  1956. null strings.
  1957. * HttpWebResponse.cs: implemented properties
  1958. * FileWebResponse.cs: improved the way resources are disposed.
  1959. * FileWebRequest.cs: started implementation of asynchronous methods
  1960. * ServicePointManager.cs: implemented properties
  1961. 2002-05-12 Lawrence Pit <[email protected]>
  1962. * HttpWebRequest.cs: properties implemented
  1963. * HttpWebResponse.cs: added
  1964. * GlobalProxySelection.cs: implemented
  1965. * FileWebResponse.cs: added
  1966. * FileWebRequest.cs: some methods implemented
  1967. 2002-05-11 Lawrence Pit <[email protected]>
  1968. * WebHeaderCollection.cs: implemented
  1969. * WebRequest.cs: implemented
  1970. * FileWebRequest.cs and HttpWebRequest.cs stubs added
  1971. 2002-05-09 Lawrence Pit <[email protected]>
  1972. * Rewrote IPAddress.Parse method, passing all unit tests
  1973. 2002-05-09 Lawrence Pit <[email protected]>
  1974. * fixed bug in IPEndPoint.Equals method
  1975. * fixed bug in IPAddress.Parse method
  1976. * fixed bug in IPAddress.SwapLong method
  1977. * fixed several bugs in Cookie.cs
  1978. 2002-05-06 Lawrence Pit <[email protected]>
  1979. * WebRequest.cs: added
  1980. * WebResponse.cs: implemented
  1981. * WebException.cs: implemented
  1982. * WebHeaderCollection.cs: added
  1983. * HttpVersion.cs: implemented
  1984. * HttpContinueDelegate.cs: added
  1985. * IWebProxy.cs: added
  1986. * IWebRequestCreate.cs: added
  1987. * ICertificatePolicy.cs: added
  1988. * ServicePoint.cs: stubbed
  1989. * ServicePointManager.cs: stubbed
  1990. * CookieContainer.cs: added
  1991. * Authorization.cs: implemented
  1992. 2002-05-05 Lawrence Pit <[email protected]>
  1993. * CredentialCache.cs: implemented
  1994. 2002-05-05 Lawrence Pit <[email protected]>
  1995. * IPAddress.cs: fixed IsLoopback, address was already in host order
  1996. 2002-05-05 Lawrence Pit <[email protected]>
  1997. * IPv6Address.cs: added (note: not part of .net spec)
  1998. 2002-05-01 Lawrence Pit <[email protected]>
  1999. * DnsPermission.cs: implemented
  2000. * DnsPermissionAttribute.cs: implemented
  2001. 2002-04-28 Lawrence Pit <[email protected]>
  2002. * EndpointPermission.cs: implemented
  2003. * SocketPermission.cs: implemented
  2004. * SocketPermissionAttribute.cs: implemented
  2005. * ProtocolViolationException.cs: implemented
  2006. * Dns.c: passing w32 error code when no host found
  2007. 2002-04-27 Lawrence Pit <[email protected]>
  2008. * Cookie.cs: implemented
  2009. * CookieCollection.cs: implemented
  2010. * CookieException.cs: implemented
  2011. 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
  2012. * IPAddress.cs: initialize the read only fields with Parse().
  2013. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  2014. * IPAddress.cs: little changes to behave as MS.
  2015. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  2016. * Dns.cs (Resolve): behave as MS. Agreed with Mads.
  2017. 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
  2018. * IPAddress.cs: the icalls for sockets are endianness-aware. So I
  2019. changed a few things. Also included a workaround for bug #23547.
  2020. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  2021. * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
  2022. by Paolo) instead of guessing the endianness.
  2023. * SocketAddress.cs: implemented Equals() and GetHashcode().
  2024. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  2025. * IPEndPoint.cs: modifications to constructors according to the
  2026. specifications (suggested by Lawrence Pit).
  2027. 2002-04-15 Patrik Torstensson <[email protected]>
  2028. * IPEndPoint.cs: Fixed build breaker.
  2029. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  2030. * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
  2031. complete.
  2032. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  2033. * IPAddress.cs: finished all MonoTODO's. Use network order to store
  2034. the address. Check for max and min values in Address:set. IsLoopback()
  2035. returns now true for all 127.x.y.z. Some more checks in Parse ().
  2036. Some changes to behave as MS does.
  2037. 2002-02-24 Duncan Mak <[email protected]>
  2038. * ICredentialLookup.cs: Added the GetCredential method to the
  2039. interface. The interface is named "ICredentials", should this file
  2040. be renamed?
  2041. * NetworkCredential.cs: Added to CVS. Need to investigate on how
  2042. GetCredential() works
  2043. 2002-01-23 Dick Porter <[email protected]>
  2044. * SocketAddress.cs: Implemented.
  2045. * IPEndPoint.cs: Turned 'Address' field into a real property.
  2046. Implemented Create() and Serialize() methods.
  2047. * IPAddress.cs: Fixed class constructor, turned 'Address' field
  2048. into a real property. Removed undocumented "public
  2049. IPAddress(string)" constructor.
  2050. * EndPoint.cs: Implemented. All methods return
  2051. NotSupportedException to enforce subclass overriding.
  2052. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
  2053. P/Invokes with portable internal calls.
  2054. 2002-01-17 Miguel de Icaza <[email protected]>
  2055. * Dns.cs: Updated to API changes.
  2056. * IPAddress.cs: Updated API. Much left to implement.
  2057. * Dns.cs: Remove IPToString method
  2058. 2002-01-06 Ravi Pratap <[email protected]>
  2059. * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
  2060. attribute insertion.
  2061. 2001-11-22 Nick Drochak <[email protected]>
  2062. * IPAddress.cs: Fix constructor bug, properly name Address property,
  2063. and use triple-slash for comments.
  2064. 2001-11-20 Miguel de Icaza <[email protected]>
  2065. * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
  2066. None as suggested by Phillip.
  2067. 2001-09-26 Mads Pultz <[email protected]>
  2068. * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
  2069. 2001-09-24 Mads Pultz <[email protected]>
  2070. * Dns.cs: Minor changes (some print statements removed)
  2071. 2001-09-23 Mads Pultz <[email protected]>
  2072. * Dns.cs: Initial work submitted to repository.
  2073. * IPHostEntry.cs: Initial work submitted to repository.
  2074. 2001-07-12 Sean MacIsaac <[email protected]>
  2075. * Authorization.cs: Fixed compiler error.
  2076. * IAuthenticationModule.cs: Changes for Beta2.
  2077. * IPAddress.cs: Internal storage changed to be uint not int.
  2078. * IPEndPoint.cs: Fixed compiler error.
  2079. * EndPoint.cs: Fixed compiler error.
  2080. * AuthenticationManager.cs: Fixed typo.