richid/services_scribd — Issue #2: Timeout Too Soon On Upload
Author: richid
Created: 2011-12-16 01:33:57+00:00
State: open

Services_Scribd::timeout is set to 10 seconds, which is fine with most requests.

But on upload (Services_Scribd_Docs::upload()), the timeout sometimes is too soon when the file is big & the connection is not as fast as it should be. Upload fails with Exception Message "Request timed out after 10 second(s)"

I'd suggest making the timeout setting configurable (per upload request as parameter, per method or whatever coding style is PEAR-appropriate)

Original report: https://pear.php.net/bugs/bug.php?id=16746