cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@s-und-n.de>
Subject AW: URLConnetion blocks
Date Thu, 24 Jan 2002 15:05:09 GMT
>>
Some thoughts : couldn't this be a bug related to http 1.1 keep-alive 
that can reuse the same socket for several requests ?
<<
Sylvain,

can you elaborate on this? Is there a workaround?

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  mlangham@s-und-n.de - http://www.s-und-n.de
=================================================================
 

-----Ursprungliche Nachricht-----
Von: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
Gesendet: Donnerstag, 24. Januar 2002 15:44
An: cocoon-dev@xml.apache.org
Betreff: Re: URLConnetion blocks


Carsten Ziegeler wrote:

>Hi,
>
>we have a problem with getting external content using http. Sometimes
>a read on the input stream of the urlconnection blocks forever. The
>first read on the input stream gets the whole document from the
>external server, the second read is used to test if the whole document
>is fetched, so this read usually returns with -1. But occasionally,
>this second read hangs forever and blocks the thread.
>
>>From our research we found out that this is due to the timeout setting
>of the underlying socket which has the default value of 0 (= infinite).
>
>Has anyone similar problems? Or better has anyone a good solution to
>integrate into Cocoon? Or a suggestion?
>
Some thoughts : couldn't this be a bug related to http 1.1 keep-alive 
that can reuse the same socket for several requests ?

Sylvain

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message