cwninja/geminabox — pull request #85 by rojotek (2012-12-03 00:15:17+00:00)
Title: removed timeouts on http_client when uploading.

As per recommendations at https://github.com/nahi/httpclient, have set the send_timeout and receive_timeout to 0 when uploading large files:

LIMITATION:
timeout occurs certainly when you send very large file and
@send_timeout is default since HTTPClient::Session#query() assumes
that *all* write are finished in @send_timeout sec not each write.

WORKAROUND:
increment @send_timeout and @receive_timeout or set @send_timeout and
@receive_timeout to 0 not to be timeout.