[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] contrib/apps/httpserver_raw fs.c fs.h httpd.c h...
From: |
Simon Goldschmidt |
Subject: |
[lwip-commits] contrib/apps/httpserver_raw fs.c fs.h httpd.c h... |
Date: |
Mon, 05 Jul 2010 14:32:24 +0000 |
CVSROOT: /sources/lwip
Module name: contrib
Changes by: Simon Goldschmidt <goldsimon> 10/07/05 14:32:24
Modified files:
apps/httpserver_raw: fs.c fs.h httpd.c httpd.h
Log message:
- added LWIP_HTTPD_SSI_INCLUDE_TAG (default on): when off, don't
include the SSI tag in the output sent to clients (so SSI tags can be used
anywhere, even in input boxes);
- fixed copy/nocopy for SSI files;
- added LWIP_HTTPD_SSI_MULTIPART (default off): when on, SSI functions
have one more argument that is used as state for an SSI tag to return more than
LWIP_HTTPD_MAX_TAG_INSERT_LEN bytes (the handler function is then called
multiple times);
- added LWIP_HTTPD_POST_MANUAL_WND (default off): when on, post
callbacks can throttle RX speed by manually sending window updates (i.e.
tcp_recved is called manually by calling httpd_post_data_recved);
- added LWIP_HTTPD_FILE_STATE (default off): when on, fs_open/fs_close
call application defined functions fs_state_init/fs_state_free (fs_state_init
returns a void pointer that is passed to every call to an SSI handler);
- compacted the code a bit by moving the code that calls tcp_write() in
a loop to its own function;
- error files may have the extension shtml, too;
- fixed that returning default 404 page did not work any more;
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/contrib/apps/httpserver_raw/fs.c?cvsroot=lwip&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/contrib/apps/httpserver_raw/fs.h?cvsroot=lwip&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/contrib/apps/httpserver_raw/httpd.c?cvsroot=lwip&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/contrib/apps/httpserver_raw/httpd.h?cvsroot=lwip&r1=1.6&r2=1.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] contrib/apps/httpserver_raw fs.c fs.h httpd.c h...,
Simon Goldschmidt <=