cancel
Showing results for 
Search instead for 
Did you mean: 

With lwip 2.1.2 on STM32H753, after sended an http page it seems necessary to close connexion. If not no data is received after Is it normal? thanks for help

GPHIL.1
Associate II
 
2 REPLIES 2
LCE
Principal

I think it is normal that lwip closes the TCP connections after each http access.

I think there is this keep alive feature, which might connection management a little harder.

What's your problem with that?

GPHIL.1
Associate II

I think the problem comes from the huge size of the http page

I want to send an http page which contains 5 link like <link href="css/test.css" rel="stylesheet"> in the <head> part

the main http page size is about 30kbytes

each link file is about 200kbytes

I send each http file by packet of 1024bytes

without closing connexion after each file send, the page show after a long time (35min)

but if i close connexion after each file send, it 's faster