File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 25
25
-define (CLOSING_TIMEOUT , 30_000 ).
26
26
-define (SILENT_CLOSE_DELAY , 3_000 ).
27
27
28
+ % % Allow for potentially large sets of tokens during the SASL exchange.
29
+ % % https://docs.oasis-open.org/amqp/amqp-cbs/v1.0/csd01/amqp-cbs-v1.0-csd01.html#_Toc67999915
30
+ -define (INITIAL_MAX_FRAME_SIZE , 8192 ).
31
+
28
32
-type protocol () :: amqp | sasl .
29
33
-type channel_number () :: non_neg_integer ().
30
34
@@ -104,10 +108,8 @@ unpack_from_0_9_1(
104
108
connected_at = ConnectedAt ,
105
109
user = none ,
106
110
timeout = HandshakeTimeout ,
107
- % % "Prior to any explicit negotiation, the maximum
108
- % % frame size is 512 (MIN-MAX-FRAME-SIZE)" [2.4.1]
109
- incoming_max_frame_size = ? MIN_MAX_FRAME_1_0_SIZE ,
110
- outgoing_max_frame_size = ? MIN_MAX_FRAME_1_0_SIZE ,
111
+ incoming_max_frame_size = ? INITIAL_MAX_FRAME_SIZE ,
112
+ outgoing_max_frame_size = ? INITIAL_MAX_FRAME_SIZE ,
111
113
channel_max = 0 ,
112
114
auth_mechanism = none ,
113
115
auth_state = none }}.
You can’t perform that action at this time.
0 commit comments