Increase max frame size to 1MB.

pull/25412/head
Ashitha Santhosh 4 years ago
parent 7c8defd5c9
commit e049a1f223
  1. 2
      src/core/tsi/alts/handshaker/alts_tsi_handshaker.h
  2. 2
      test/core/tsi/alts/handshaker/alts_tsi_handshaker_test.cc

@ -41,7 +41,7 @@ const size_t kTsiAltsNumOfPeerProperties = 5;
// Frame size negotiation extends send frame size range to
// [kTsiAltsMinFrameSize, kTsiAltsMaxFrameSize].
const size_t kTsiAltsMinFrameSize = 16 * 1024;
const size_t kTsiAltsMaxFrameSize = 128 * 1024;
const size_t kTsiAltsMaxFrameSize = 1024 * 1024;
typedef struct alts_tsi_handshaker alts_tsi_handshaker;

@ -52,7 +52,7 @@
#define ALTS_TSI_HANDSHAKER_TEST_APPLICATION_PROTOCOL \
"test application protocol"
#define ALTS_TSI_HANDSHAKER_TEST_RECORD_PROTOCOL "test record protocol"
#define ALTS_TSI_HANDSHAKER_TEST_MAX_FRAME_SIZE (256 * 1024)
#define ALTS_TSI_HANDSHAKER_TEST_MAX_FRAME_SIZE (2 * 1024 * 1024)
#define ALTS_TSI_HANDSHAKER_TEST_PEER_ATTRIBUTES_KEY "peer"
#define ALTS_TSI_HANDSHAKER_TEST_PEER_ATTRIBUTES_VALUE "attributes"

Loading…
Cancel
Save