mohankreddy / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

IdleConnectionMonitorThread is never end #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just ran as the example (I run it on eclipse 3.4 with Jdk 1.5.0.17)
2.
3.

What is the expected output? What do you see instead?
I expect the IdleConnectionMonitorThread should be ended when it runs pass this 
line on Controller.java

 controller.start(MyCrawler.class, 10);

but the thread of IdleConnectionMonitorThread  still running

What version of the product are you using? On what operating system?
I'm using the latest code (the same as ) but I am working on Java 1.5 but I 
don't think that is an issue.

Please provide any additional information below.
I have work-around solution by just commenting this line on PageFetcher.java:

line 117:   new Thread(new 
IdleConnectionMonitorThread(connectionManager)).start();

I'm not sure whether or not it is a good solution but it works fine.

Original issue reported on code.google.com by suras...@gmail.com on 9 Nov 2010 at 4:11

GoogleCodeExporter commented 9 years ago
This is fixed in version 2.5

-Yasser

Original comment by ganjisaffar@gmail.com on 11 Mar 2011 at 11:34