Re: http timeouts

<[email protected]> Mon, 8 Feb 2010 12:10:35 -0600
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <047619DE22807D4192B0B9EB64E45CC12AA35D46E4@MSGCMSV21024.ent.wfb.bank.corp>
I was just digging through the 1.7 code - I thought I'd try to implement
this myself - but it looks like it is already implemented.
So the FAQ just needs to be updated.
(I haven't tried it yet)

http://sourceforge.net/tracker/index.php?func=detail&aid=1518901&group_id=6550&atid=306550

- Dan


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, January 28, 2010 4:07 PM
> To: [email protected]
> Subject: [Httpunit-develop] http timeouts
> 
> Are there any plans to handle timeouts on HTTP?
> What would this take to implement?
> 
> I could really use this.  I seem to have a test
> with an http request that likes to lockup,
> and so it locks up my entire test suite.
> 
> I did read the FAQ, it says:
> How does HttpUnit handle request timeouts?
> Badly. Unfortunately, through JDK 1.3, HttpURLConnection (used
> by HttpUnit to access web servers) has no support for timeouts.
> Supposedly, this is changed in JDK 1.4, but HttpUnit does not
> support the new feature as yet.
> 
> Seems it was actually implemented in JDK 1.5
> http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLConnection.html#set
> ReadTimeout%28int%29
> 
> so it should be doable.
> 
> Thank you,
> Dan
> 
> -----------------------------------------------------------------------
> -------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term
> contracts
> Personal 24x7 support from experience hosting pros just a phone call
> away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Httpunit-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/httpunit-develop

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com