'LwIP TCP can't receive > 1460 Bytes datas?

I had a problem when receiving data with TCP LwIP: Because TCP max segment size is 1460 so I can not receive the whole response from the server (2.75KB), I just received only 1440 Bytes. Are there any ways to receive full the response data? Can someone help me with this?



Solution 1:[1]

You should enable the IP_REASSEMBLY option from LwIP according to its document for incoming packets reassembly and enable IP_FRAG for outgoing packets reassembly.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 hpirlo