From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16801 invoked by alias); 27 Nov 2006 15:41:57 -0000 Received: (qmail 16787 invoked by uid 453); 27 Nov 2006 15:41:56 -0000 Date: Mon, 27 Nov 2006 15:41:00 -0000 Message-ID: <20061127154156.16785.qmail@sourceware.org> From: jlarmour@sourceware.org To: ecos-cvs@ecos.sourceware.org Subject: ecos-opt/net/net/athttpd/current ChangeLog cdl ... Mailing-List: contact ecos-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: , Sender: ecos-cvs-owner@sourceware.org List-Subscribe: X-SW-Source: 2006/txt/msg00341.txt.bz2 CVSROOT: /cvs/ecos Module name: ecos-opt Changes by: jlarmour@sourceware.org 2006-11-27 15:41:56 Modified files: net/net/athttpd/current: ChangeLog net/net/athttpd/current/cdl: httpd.cdl net/net/athttpd/current/doc: athttpd.sgml net/net/athttpd/current/include: http.h jim.h net/net/athttpd/current/src: cgi.c forms.c handler.c http.c jim.c socket.c Added files: net/net/athttpd/current/src: jim-aio.c Log message: * cdl/httpd.cdl: Improve CDL dependencies. * doc/athttpd.sgml: Updated to describe lasted changes and corrected minor typos. * src/http.c: Check for "Content-Type" header. This is needed if we want to support parsing form variables in POST requests. * src/jim.c: Updated with latest release from Jim CVS. * src/cgi.c: streamlined cyg_httpd_exec_cgi_tcl(), now uses the 'source' command of tcl to execute a tcl script. * src/forms.c: Modified cyg_handle_method_POST so that the variables in the payload are scanned only if the request has a Content-Type of 'application/x-www-form-urlencoded' * src/jim-aio.c: Added to package. Now tcl has IO functions to access a file system. * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_FORM_DATA which is set when a POST request has a Content-Type of 'application/x-www-form-urlencoded' * cdl/httpd.cdl: add CYGOPT_NET_ATHTTPD_CLOSE_CHUNKED_CONNECTIONS. Default is set to CLOSE, so it is backward compatible with previous versions of the browser. * src/socket.c: cyg_httpd_process_request() uses a loop to collect at least one full frame (til a header terminator is found), cyg_httpd_start_chunked() only close if configured to do so. * src/httpd.c: Overhaul of cyg_httpd_send_error to avoid the use of inbuffer as temporary storage (conflicts with pipelined frames), removed the option to send a page after calling a C language handler * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_NO_CACHE 2006-10-12 Lars Povlsen and Anthony Tonizzo * cdl/httpd.cdl: add CYGNUM_ATHTTPD_SERVER_MAX_POST to limit POST'ed data * include/http.h: Added header_end, post_data fields to httpstate, Added "302 Found" for POST handler redirect (CYG_HTTPD_STATUS_MOVED_TEMPORARILY) * src/forms.c: Fixed variable decoding, fixed large POST processing * src/http.c: Fixed some debug ouptuts, cleanup after POST processing, overhaul of the pipelined requests code which can now handle multiple requests per frame. * src/socket.c: Removed assert for socket write failure, Accumulating receiving of requests (Browsers (Firefox) may pass partial headers in separate fragments). Fixed some diagnostics output.