From: Marc G. <mgu...@ya...> - 2005-08-15 07:16:24
|
Hi, I agree that it may cause a problem. I've added the port in the key for getHttpClientFor(URL) to fix bug http://sourceforge.net/tracker/index.php?func=detail&aid=1195099&group_id=47038&atid=448266 and I hadn't time to look at how the port should be integrated in getStateForUrl(URL). Therefore I've decided to ignore it a first time as all this stuff should disappear when changes have been made to use a single HttpClient. If you can test it and provide a patch I will integrate it asap. Marc. Hani Suleiman wrote: > This might be me missing something, but there's a rather disturbing bug > in CVS in HttpWebConnection... > > In getHttpClientFor(URL), the key for the httpclients is calculated to > be the protocol + host + port. Yet in getStateForUrl(URL), the > condition to check for key matches only takes the host into consideration. > > So I'm rather perplexed how anyone testing on a non-default port with > cookies can get things to work! > > Am I missing something? > > Hani > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |