You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Michael Kirk fa9e289892 Don't retry some failures
Motivation:

When we introduced the MessageSendingOperation, we included a new
"retry" loop. However, this had some unintended consequences when
retrying terminal failures.

Some of these are pretty benign and invisible to the user, but some,
like messaging someone who's safety number has changed, results in a
situation where we get rate-limited by the pre-key request.

Description:

This commit includes the machinery to distinguish between retryable and
terminal failures. Upon reporting a terminal failure, the MessageSender
stops retrying to send.

// FREEBIE
9 years ago
Example MessageSender should be accessed as singleton 9 years ago
Utilities post commit which double checks for freebie presence 9 years ago
protobuf Include digest in attachments 9 years ago
src Don't retry some failures 9 years ago
tests MessageSender should be accessed as singleton 9 years ago
.clang-format Avoid deadlock while accepting new key (#17) 9 years ago
.gitignore Censorship circumvention in Egypt and UAE 9 years ago
.travis.yml Explain send failures for text and media messages 9 years ago
CONTRIBUTING.md contributing.md referencing Signal-iOS coding guidelines. Inlined legal. (#8) 10 years ago
LICENSE Initial commit 10 years ago
Makefile Explain send failures for text and media messages 9 years ago
README.md Get tests + ci running 10 years ago
SignalServiceKit.podspec Censorship circumvention in Egypt and UAE 9 years ago

README.md

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X