lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Upload large file to server with small Memory for proce


From: vincent cui
Subject: Re: [lwip-users] Upload large file to server with small Memory for processing
Date: Thu, 25 Aug 2011 05:32:02 +0000

Mahesh:

 

Luckly , I have same platform with your to setup web server. The problem seems not exist.

You should program a socket send/receive thread , and open TCP tool in PC, try to find the problem is exist or not…

 

 

 

Vincent Cui
Sr.Firmware Engineer
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: address@hidden
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233
http://www.enlogic.com

 

From: lwip-users-bounces+address@hidden [mailto:lwip-users-bounces+address@hidden On Behalf Of SUTARIYA MAHESH
Sent: 2011
825 13:18
To: address@hidden
Subject: [lwip-users] Upload large file to server with small Memory for processing

 

Hi,

 

I am using lwip with FreeRTOS on Luminary Cortex-M3 platform.

 

Webserver platform: My web server is running with TCP_WND=4096 and TCP_MSS=1500, arround 8 kb of ram for my operation

 

Problem: I want to upload binary file worth 300 kb to webserver. My purpose is to process this file at Webserver and then through it.

I don't have even space on my webserver to store such a large file.I am using type=file upload method on browser side.What I want is, when I click on upload button, my browser will start uploading. Since I only have 8 kb of memory, as soon as browser send that much of data it should stop sending and wait till buffer for next data is empty. On server side I will process first 8KB bunch of data and then after(may be 0.2 second), I want to ack to browser for next bunch of data.

 

Is it possible?

 

Will it work if I set TCP_WND=4096 and TCP_MSS=1500, will it wait after  4096 byte received in buffer till buffer gets free?

 

Regards,

Mahesh

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]