Re: [Rabbit-proxy-users] name lookups and dnsjava
Brought to you by:
ernimril
From: Robert O. <ro...@kh...> - 2004-04-22 21:23:51
|
Robert Olofsson wrote: > Hmm. That depends on the name resolver you have. It may be that the > standard > version is single-threaded. Then only one java thread can do name > lookups at the > same time (meaning that some request may be finished but no new are > started). > > It is probably possible to insert dnsjava or a similar lib to get the > dns lookup to > be more well behaved. Ok, using dnsjava is trivial. I have attached a patch to Proxy.java to enable it if you care to try. For it to work you also need to download dnsjava: http://www.dnsjava.org/download/dnsjava-1.6.2.jar and put it in the classpath: robo@ghoul:~/src/RabbIT2$ more classpath CLASSPATH=.:/tmp/dnsjava-1.6.2.jar robo@ghoul:~/src/RabbIT2$ make code Then restart it either with the jr command or with something else that sets the classpath "java -cp /tmp/dnsjava-1.6.2.jar rabbit.proxy.Proxy" /robo |