the tw_define_lps() function overwrites g_tw_msg_sz
It should take the maximum value each time to prevent problems if you happen to define an LP with a smaller message size after an LP with a larger message size.
It should take the maximum value each time to prevent problems if you happen to define an LP with a smaller message size after an LP with a larger message size.