- From: Corey Wineman <cwineman@perseus.anserwv.org>
- Date: Mon, 24 Apr 2000 16:13:24 -0400
- To: <www-jigsaw@w3.org>
Yves Lafon, I've downloaded newer versions of HttpBasicServer and some other classes and have not had the deadlock problem since. Thanks, Corey ----- Original Message ----- From: Yves Lafon <ylafon@w3.org> To: Corey Wineman <cwineman@perseus.anserwv.org> Cc: <www-jigsaw@w3.org> Sent: Monday, April 24, 2000 4:51 AM Subject: Re: getConnection() deadlock > On Fri, 21 Apr 2000, Corey Wineman wrote: > > > Hello, > > > > I downloaded Jigsaw the latest version of Jigsaw the other day because I > > want to use some of the Http Client code. I am having a problem getting new > > HttpConnections using the HttpManager/HttpBasicServer classes. > > I am running out of connections and my program just blocks in some kind of > > deadlock. Is there some way to report back to the HttpManager when you are > > done with a connection? I saw the notifyIdle() method in HttpManager, but I > > don't know how get an instance of HttpConnection to pass in. Basically I am > > only using the Request, Reply and HttpManager classes. I didn't see any way > > for Request/Reply to notify HttpManager that they were done. > > > > Am I missing something simple? > > Unless everything has been read, the connection will stay used, also the > number of connection you can use is limited (to 5 by default, but it can > be extended using some property org.w3c.www.protocol.http.connections). > But after one connection has been terminated, the waiting ones will be > serviced. > However there was indeed a problem that has been fixed, you should try > with the latest sources taken from our cvs server. (see > http://dev.w3.org/cgi-bin/cvsweb/ ) > Hope this helps, > > /\ - Yves Lafon - World Wide Web Consortium - > /\ / \ Architecture Domain - Jigsaw Activity Leader > / \ \/\ > / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org > >
Received on Monday, 24 April 2000 16:11:59 UTC