Closed (fixed)
Project:
Acquia Connector
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 17:20 UTC
Updated:
22 Feb 2012 at 00:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedFirst untested pass at porting
Comment #2
pwolanin commentedmissed a constant
Comment #3
cpliakas commentedThis looks good. I tested the patch using a page callback with a
sleep()call, and if the value passed to the sleep call is longer than the specified$timeoutthen the appropriate error message is returned. The request completes when the value passed tosleep()is less than the timeout. I tested both the 6.x-1.x and 6.x-2.x branches, as the patch does apply to both cleanly.Comment #4
pwolanin commentedWere you able to test the connect timeout part?
Comment #5
cpliakas commentedNo, that is a little more difficult to test. If you ping a dummy domain then it fails immediately, not sure how to simulate a slow connection. Any advice would be appreciated.
Comment #6
cpliakas commentedAs per the suggestion by @pwolanin, I tested against a valid Solr server with an invalid port, and the connection timeout works as expected.
Comment #7
coltraneIs it correct that this is for 1.x of Connector?
Comment #8
pwolanin commentedIt is for both branches.
Comment #9
pwolanin commentedcommitted to both 6.x branches.