mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Support payload offsets
Support sending a file or stream payload from a non-zero offset. This allows the clients to resume a transfer. Upper layers should use this feature only when both sides support it. PiperOrigin-RevId: 385137570
This commit is contained in:
committed by
Copybara-Service
parent
a8fe61d846
commit
ed511f962d
@@ -40,6 +40,8 @@ class FeatureFlags {
|
||||
// with the exp backoff, retry intervals in seconds: 3, 6, 12, 24...
|
||||
absl::Duration bwu_retry_exp_backoff_initial_delay = absl::Seconds(3);
|
||||
absl::Duration bwu_retry_exp_backoff_maximum_delay = absl::Seconds(300);
|
||||
// Support sending file and stream payloads starting from a non-zero offset.
|
||||
bool enable_send_payload_offset = true;
|
||||
};
|
||||
|
||||
static const FeatureFlags& GetInstance() {
|
||||
|
||||
Reference in New Issue
Block a user