|
From: | address@hidden |
Subject: | Re: [lwip-users] LWIP 1.4.1 uploading problem |
Date: | Mon, 1 Aug 2016 22:23:32 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
Sergio R. Caprile wrote:
There is some sort of POST in the form of some cgi functions in the browser in the contrib tree in 1.4.1. The browser calls user functions, user functions are not part of the browser, they are either ST code or your code.
Wait, I'm confused. Throughout this thread, are you all talking about a 'browser' or about a 'server'?
If it's the http server (for 1.4.1 it was in contrib, now it's in 'apps'), it does support POST, but we're really missing an example up to now. I'm successfully using it for uploading big files as well as simple small actions, but unfortunately, I cannot share my sources as example.
If you get a problem with bigger sizes I could image two errors:- pbufs are not getting freed (you need to free them once passed to your callback) - tcp receive window is not updated (there's the option to do that yourself...)
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |