請問:
我測試\M480_BSP_CMSIS_V3.05.000\SampleCode\NuMaker-PFM-M487\LwIP_TCP_EchoClient\這sample code 連接到遠端 server取資料, 第一次Http request是可正常取回server response data, 如下, 可第二次以後都會出錯,
FreeRTOS is starting ...
Local IP:192.168.137.211
100 full
Send for TCP packet ...Recv: HTTP/1.1 200 OK
Server: nginx
Date: Mon, 18 May 2020 01:59:57 GMT
Content-Type: text/html
Content-Length: 195
Connection: close
X-Powered-By: PHP/5.3.29
Set-Cookie: PHPSESSID=951207de4fb2cf3ca02f000c0df8baf5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
{"Command":{"Cmd":"reboot","UpdateVersion":"0507152621"},"Reboot":{"UpdateVersion":"0331030817"},"ScreenShot":{"UpdateVersion":null},"Emergency":{"On_Off":"OFF","UpdateVersion":"0331064215"}}
Send for TCP packet ...Assertion "netbuf_data: invalid buf" failed at line 194 in ..\..\..\..\ThirdParty\lwip\src\api\netbuf.c |