HttpSrv on I.MX RT1050 EVK, websocket no disconnect cb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HttpSrv on I.MX RT1050 EVK, websocket no disconnect cb

1,061件の閲覧回数
koenvda
Contributor I

Hi,

I'm having a issue with the demo application "lwip_httpsrv_freertos" for the I.MX RT1050 EVK.

The application runs perfect but if I disconnect my Ethernet cable I don't get a disconnect callback for the websocket echo connection. This means the created session keeps running and is using session space for nothing. This could block new sessions. 

Any solutions to this issue? 

I'm using the last SDK v2.5.1 

Have a nice day,

Koen

ラベル(1)
0 件の賞賛
返信
1 返信

897件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Koen:

There is a ''keep allive" feature for a TCP socket connection . If one connection is silent for tcp_keepalive_time seconds, send a keep alive packet to the peer several times. If no response has been received at this point, send a RST and terminate the connection.

Regards

Daniel

0 件の賞賛
返信