lib/vmc/client.rb in af-0.3.16.2 vs lib/vmc/client.rb in af-0.3.16.3

- old
+ new

@@ -379,10 +379,11 @@ headers['Accept'] = content_type end req = { :method => method, :url => "#{@target}/#{path}", - :payload => payload, :headers => headers, :multipart => true + :payload => payload, :headers => headers, :multipart => true, + :timeout => 120, :open_timeout => 120 } status, body, response_headers = perform_http_request(req) if request_failed?(status) # FIXME, old cc returned 400 on not found for file access