File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ struct RequestOptions {
45
45
bool stream_post_fields;
46
46
// Stores key-value pairs in header.
47
47
std::map<std::string, std::string> header;
48
- // The maximum time in milliseconds to allow the request and response.
48
+ // The maximum time in milliseconds to allow the request and response
49
+ // (or 0 for no timeout).
49
50
int64_t timeout_ms;
50
51
51
52
// Set true to make the library display more verbose info to help debug. Does
Original file line number Diff line number Diff line change @@ -639,6 +639,7 @@ code.
639
639
GoogleUserMessagingPlatform version 2.3.0.
640
640
- GMA (Android): Updated dependency to play-services-ads version 23.0.0 and
641
641
user-messaging-platform version 2.2.0.
642
+ - Storage (Desktop): Removed 5-minute timeout for uploads and downloads.
642
643
643
644
### 11.9.0
644
645
- Changes
Original file line number Diff line number Diff line change @@ -238,6 +238,9 @@ void StorageReferenceInternal::PrepareRequestBlocking(
238
238
request->set_url (url);
239
239
request->set_method (method);
240
240
241
+ // Set this request to have no timeout.
242
+ request->options ().timeout_ms = 0 ;
243
+
241
244
// Fetch auth token and apply it, if there is one:
242
245
std::string token = storage_->GetAuthToken ();
243
246
if (token.length () > 0 ) {
You can’t perform that action at this time.
0 commit comments