Summary: To be used to signal that data that was sent as TLS 1.3 early data was lost. This needs its own exception type as it requires special handling (ie it should usually be retried immediately).
Reviewed By: siyengar
Differential Revision:
D5869914
fbshipit-source-id:
ca0d8ef19cb991e9d6ffe0f8c99abfb03b748ce6
SSL_ERROR = 12,
COULD_NOT_BIND = 13,
SASL_HANDSHAKE_TIMEOUT = 14,
- NETWORK_ERROR = 15
+ NETWORK_ERROR = 15,
+ EARLY_DATA_REJECTED = 16,
};
AsyncSocketException(AsyncSocketExceptionType type,
return "SASL handshake timeout";
case NETWORK_ERROR:
return "Network error";
+ case EARLY_DATA_REJECTED:
+ return "Early data rejected";
default:
return "(Invalid exception type)";
}