You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove Metadata from various frames
As per discussion in rsocket/rsocket#201, remove Metadata from ERROR, LEASE, and CANCEL frames.
* restore metadata to LEASE
* metadata -> error data
*__Error Code__: (32 bits = max value 2^31-1 = 2,147,483,647) Type of Error.
330
328
* See list of valid Error Codes below.
331
329
*__Error Data__: includes Payload describing error information. Error Data SHOULD be a UTF-8 encoded string. The string MUST NOT be null terminated.
@@ -346,7 +344,7 @@ The Error Data is typically an Exception message, but could include stringified
346
344
|__CONNECTION_ERROR__| 0x00000101 | The connection is being terminated. Stream ID MUST be 0. Sender or Receiver of this frame MAY close the connection immediately without waiting for outstanding streams to terminate.|
347
345
|__CONNECTION_CLOSE__| 0x00000102 | The connection is being terminated. Stream ID MUST be 0. Sender or Receiver of this frame MUST wait for outstanding streams to terminate before closing the connection. New requests MAY not be accepted.|
348
346
|__APPLICATION_ERROR__| 0x00000201 | Application layer logic generating a Reactive Streams _onError_ event. Stream ID MUST be > 0. |
349
-
|__REJECTED__| 0x00000202 | Despite being a valid request, the Responder decided to reject it. The Responder guarantees that it didn't process the request. The reason for the rejection is explained in the metadata section. Stream ID MUST be > 0. |
347
+
|__REJECTED__| 0x00000202 | Despite being a valid request, the Responder decided to reject it. The Responder guarantees that it didn't process the request. The reason for the rejection is explained in the Error Data section. Stream ID MUST be > 0. |
350
348
|__CANCELED__| 0x00000203 | The responder canceled the request but potentially have started processing it (almost identical to REJECTED but doesn't garantee that no side-effect have been started). Stream ID MUST be > 0. |
351
349
|__INVALID__| 0x00000204 | The request is invalid. Stream ID MUST be > 0. |
352
350
|__RESERVED__| 0xFFFFFFFF |__Reserved for Extension Use__|
0 commit comments