Skip to content

Commit dd34e37

Browse files
committed
2 parents 72172e9 + 95c3540 commit dd34e37

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

app/rest/request_options.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ struct RequestOptions {
4545
bool stream_post_fields;
4646
// Stores key-value pairs in header.
4747
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).
4950
int64_t timeout_ms;
5051

5152
// Set true to make the library display more verbose info to help debug. Does

gma/src/ios/FADNativeDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class NativeAdInternalIOS;
3232

3333
NS_ASSUME_NONNULL_BEGIN
3434

35-
@interface FADNativeDelegate : NSObject <GADNativeAdLoaderDelegate, GADAdLoaderDelegate>
35+
@interface FADNativeDelegate : NSObject <GADNativeAdLoaderDelegate, GADAdLoaderDelegate, GADNativeAdDelegate>
3636

3737
/// Returns a FADNativeDelegate object with NativeAdInternalIOS.
3838
- (FADNativeDelegate *)initWithInternalNativeAd:

gma/src/ios/native_ad_internal_ios.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220

221221
void NativeAdInternalIOS::NativeAdDidReceiveAd(GADNativeAd *ad) {
222222
firebase::MutexLock lock(mutex_);
223+
ad.delegate = native_ad_delegate_;
223224
native_ad_ = ad;
224225

225226
NSObject *gad_icon = ad.icon;

release_build_files/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ code.
639639
GoogleUserMessagingPlatform version 2.3.0.
640640
- GMA (Android): Updated dependency to play-services-ads version 23.0.0 and
641641
user-messaging-platform version 2.2.0.
642+
- Storage (Desktop): Removed 5-minute timeout for uploads and downloads.
642643

643644
### 11.9.0
644645
- Changes

storage/src/desktop/storage_reference_desktop.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ void StorageReferenceInternal::PrepareRequestBlocking(
238238
request->set_url(url);
239239
request->set_method(method);
240240

241+
// Set this request to have no timeout.
242+
request->options().timeout_ms = 0;
243+
241244
// Fetch auth token and apply it, if there is one:
242245
std::string token = storage_->GetAuthToken();
243246
if (token.length() > 0) {

0 commit comments

Comments
 (0)