Bug in FaQ according to default timeoutsettings
Status: Beta
Brought to you by:
huni
I see this in the documentation (faq: http://phpcrawl.cuab.de/faq.html):
"$crawler->setStreamTimeout(5); // defaults to 2 seconds
$crawler->setConnectionTimeout(10); // defaults to 5 seconds "
But when I look in "./PHPCrawl_083/libs/PHPCrawlerHTTPRequest.class.php", I see this:
/** * The HTTP protocol version to use. */ public $http_protocol_version = 2; /** * Timeout-value for socket-connection */ public $socketConnectTimeout = 10;
So it looks like that the documentation is not up to date
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Sorry, forgot to copy some more lines from the PHPCrawlerHTTPRequest.class.php: