- From: Paul Pazandak <pazandak@OBJS.com>
- Date: Wed, 10 Dec 1997 09:47:10 -0600
- To: www-jigsaw@w3.org
Yves Lafon wrote: > On Tue, 9 Dec 1997, Paul Pazandak wrote: > > > > > > > ... > > > > Fine. Now I have two questions, one on proxies and one on these filters. > > > > 1) Say that an ingoing filter sets up some threaded processing, or > > modifies some state > > that requires some additional work by the outgoing filter. If the > > request is cancelled > > before the outgoing filter is called, how can we ensure that at > > least some clean up routines > > are called? > > The only possibility to exit before calling the outgoing filter is if the > request fail. In that case, the exception filter is called (see > ProxyDispatcher), then you can set the cleaning here. > Or, with this exception filter you can do things to avoid future > exceptions, and ask for a retry. (this is the do { ... } while (rtry) in > the perform method of w3c.www.protocol.http.HttpManager) Perfect! That's some slick code there... what more could a filter want? > > > > 2) Any time I have tried to configure Jigsaw as a proxy Jigsaw chokes at the point of > > saving the properties...this doesn't occur in NT, only in Win95. The basic sets are: > > 1) create a proxy resource, e.g. called proxy, in the root > > 2) configure it so it's local-root is root > > 3) change the general props so that w3c.jigsaw.root.name is now proxy > > 4) save the properties. (chokes) > > ...I noticed the via: attribute is growing in size. I've included a recent dump > below. > > > > Paul. > > Hum... the server name is objs-mn-2.visi.com, and you try to access > 206.11.252.26. As it doesn't match the server name, it is forwarded to... > 206.11.252.26. Then... same process... -> loop... > It eats up all your threads and all your clients, then wait for one which > is here due to the first read timeout, and so on... > You should access the proxy with its own name, or change it to be the IP > address (quite ugly as a name!) > Hey, I thought the name was kind of catchy! Oh well. I had been accessingthe server via it's IP, when I used the "ugly" name it worked just fine. Finally! Thanks, Paul. > /\ - Yves Lafon - World Wide Web Consortium - > /\ / \ Architecture Domain - Jigsaw > / \ \/\ > / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org -- ******************************************************************** Paul Pazandak pazandak@objs.com Object Services and Consulting, Inc. http://www.objs.com Minneapolis, Minnesota 55420-5409 612-881-6498 ********************************************************************
Received on Wednesday, 10 December 1997 10:47:10 UTC