svanvliet / Presentable

Presentable by tenseventynine, LLC. Please see the README for instructions on commits and guidelines for posting Issues.
http://www.tenseventynine.com/apps/presentable
1 stars 0 forks source link

Bug: File conversion times out #4

Closed svanvliet closed 13 years ago

svanvliet commented 13 years ago

When converting a large file (which takes some time to upload/convert/download) the HTTP request is timing out. The default timeout of the HTTP request should be extended to a greater value.

The app currently uses ASIFormDataRequest, which derives from [ASIHTTPRequest]. We can set the default timeout by calling the class method below:

[ASIHTTPRequest setDefaultTimeOutSeconds:20]

We should consider getting the actual default timeout value from setting configured for the app (to be configurable by the user from the app's Settings item).

See Commit Comment @ \e7fcbbad208950e160f7a44d8627d75c1a649d2d

svanvliet commented 13 years ago

Fixed in Commit fce8d5c0e4223bc9f4328826c393a2f158349e26.