annotate packages/net/athttpd/current/ChangeLog @ 3292:7f8e529b4d82 default tip

Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
author vae
date Wed, 29 Apr 2015 23:31:48 +0000
parents 74dbf4c3f2e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2485
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
1 2008-06-18 Oyvind Harboe <oyvind.harboe@zylin.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
2
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
3 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
4 buffer overrun.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
5
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
6 2008-06-17 Anthony Tonizzo <atonizzo@gmail.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
7
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
8 Jumbo patch containing many individual patches from a number of
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
9 different contributors on different days. The ChangeLog entries
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
10 for all these individual patches are:
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
11
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
12 2007-12-02 Anthony Tonizzo <atonizzo@gmail.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
13
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
14 * src/socket.c src/httpd.c: Corrected a bug in
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
15 cyg_httpd_write_chunked(): Now the CRLF that terminates a chunk is
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
16 added by the function and not expected to be there already in the
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
17 data supplied by the user. Modified the function
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
18 cyg_httpd_end_chunked() so that the flag
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
19 CYG_HTTPD_MODE_TRANSFER_CHUNKED is always cleared after it
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
20 terminates. The cyg_httpd_process_request() now loops as many
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
21 times as the number of full requests received. Renamed header_end
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
22 to request_end to better reflect its real use, and the fact that
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
23 the former name was misleading for POST requests (Danny
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
24 Sade). Changed the function that collects a request: Now the
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
25 remaining part of an incomplete request is copied back to the
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
26 beginning of the buffer. This avoids that multiple split headers
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
27 might creep towards the end of the buffer.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
28
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
29 2007-11-28 Rene' Nielsen <rbn@vitesse.com> and
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
30 Anthony Tonizzo <atonizzo@gmail.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
31
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
32 * doc/athttpd.sgml: Included Digest (MD5) authentication as fully
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
33 supported.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
34 * cdl/httpd.cdl: Updated the cdl to reflect the fact that MD5
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
35 authentication is now a fully tested feature, at least on some
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
36 clients (Thanks to Tad for testing this!)
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
37 * src/httpd.c: Added the initialization of the global variable
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
38 cyg_httpd_md5_response. This corrects a security hole that could
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
39 allow unauthenticated browsers to access pages that require
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
40 authentication. This required a minor change (switch of variables
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
41 used) in the authentication code. Added code to avoid a buffer
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
42 overflow during the parsing of headers for authenticated
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
43 pages. Clear the CYG_HTTPD_MODE_SEND_HEADER_ONLY at the beginning
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
44 of any request.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
45 * src/auth.c: Removed dead code and made static a bunch of
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
46 functions and variables.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
47 * src/auth.h: The AUTH_STORAGE_BUFFER_LENGTH value is now split
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
48 into two numbers, one that gives the maximum length of the login
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
49 phrase and one for the password.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
50 * src/socket.c: Added a NULL terminator after each header packet
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
51 that is received. Now the strstr() is guaranteed to find
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
52 terminated string.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
53
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
54 2007-11-27 Tad Artis <ecos@ds3switch.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
55
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
56 * src/auth.c: Modified the cyg_httpd_digest_data() and
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
57 cyg_httpd_digest_skip() functions to support IE7. A careful read
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
58 of the augmented BNF in RFC2616 indicates that spaces within the
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
59 elements of the authentication header are optional. The original
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
60 atHTTPD code incorrectly relied on a space after the comma. Moved
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
61 the authentication check inside cyg_httpd_process_method() so that
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
62 each request, regardless of the type, will have to go through
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
63 authentication.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
64
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
65 2007-11-26 Tad Artis <ecos@ds3switch.com> and
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
66 Anthony Tonizzo <atonizzo@gmail.com>
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
67
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
68 * src/forms.c: Checked for a null terminator inside
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
69 cyg_httpd_store_form_variable, so that we do not scan past the end
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
70 of the packet. Check the form variables for both length and
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
71 content, to avoid false positives. Modified cyg_httpd_from_hex()
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
72 to return -1 in case of error.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
73 * src/httpd.c: Corrected the strings sent back by the server to
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
74 challenge the client to an MD5 authentication. Adds a couple of
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
75 commas to separate the items in the string.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
76 * src/http.h:
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
77 * src/socket.h: Corrected a number of indexes where
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
78 CYGNUM_FILEIO_NFILE was used instead of the correct
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
79 CYGPKG_NET_MAXSOCKETS.
0e9d1d1df4a0 * src/jim-aio.c (JimAioHandlerCommand): GCC 4.3.1 pointed out a
asl
parents: 2465
diff changeset
80
2465
dbff0fb46d3b * src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents: 2449
diff changeset
81 2008-03-04 Danny Sade <danny@channelot.com>
dbff0fb46d3b * src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents: 2449
diff changeset
82
dbff0fb46d3b * src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents: 2449
diff changeset
83 * src/socket.c: put NULL at the end of inbuff on each iteration,
dbff0fb46d3b * src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents: 2449
diff changeset
84 preventing strstr from looking at old data beyond inbuffer_len
dbff0fb46d3b * src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents: 2449
diff changeset
85
2446
a72554718436 * doc/athttpd.cdl: Fixed typos in doc. Return value from handler is not
jlarmour
parents: 2330
diff changeset
86 2007-11-12 Oyvind Harboe <oyvind.harboe@zylin.com>
2449
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
87 2007-11-12 Jonathan Larmour <jifl@eCosCentric.com>
2446
a72554718436 * doc/athttpd.cdl: Fixed typos in doc. Return value from handler is not
jlarmour
parents: 2330
diff changeset
88
2449
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
89 * doc/athttpd.sgml: added an example of a tcl script.
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
90 * src/http.c, forms.c: serve cgi requests before file system requests,
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
91 that way it isn't possible to download the actual cgi/.o script and
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
92 cgi works even if the http root directory is above the cgi directory.
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
93 * src/http.c: if only tcl cgi is enabled, cgi requests are now
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
94 forwarded to tcl
2447
b0a8521db07e * include/jim.h: include file order fix; now compiles again.
jlarmour
parents: 2446
diff changeset
95 * include/jim.h: include file order fix; now compiles again.
2449
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
96 * doc/athttpd.sgml: Fixed typos in doc. Return value from handler is
4631139fc774 * doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents: 2447
diff changeset
97 not used, recommend returning 0 in doc.
2446
a72554718436 * doc/athttpd.cdl: Fixed typos in doc. Return value from handler is not
jlarmour
parents: 2330
diff changeset
98
2330
23bf56b48ddc * cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents: 2326
diff changeset
99 2006-12-03 Anthony Tonizzo <atonizzo@gmail.com>
23bf56b48ddc * cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents: 2326
diff changeset
100
23bf56b48ddc * cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents: 2326
diff changeset
101 * cdl/httpd.cdl: Corrected a CDL error in the requirements of
23bf56b48ddc * cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents: 2326
diff changeset
102 CYGOPT_NET_ATHTTPD_USE_FS
23bf56b48ddc * cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents: 2326
diff changeset
103
2326
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
104 2006-11-27 Jonathan Larmour <jifl@eCosCentric.com>
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
105
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
106 * cdl/httpd.cdl: Improve CDL dependencies.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
107
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
108 2006-11-08 Anthony Tonizzo <atonizzo@gmail.com>
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
109
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
110 * doc/athttpd.sgml: Updated to describe lasted changes and corrected
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
111 minor typos.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
112 * src/http.c: Check for "Content-Type" header. This is needed if we
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
113 want to support parsing form variables in POST requests.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
114 * src/jim.c: Updated with latest release from Jim CVS.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
115 * src/cgi.c: streamlined cyg_httpd_exec_cgi_tcl(), now uses the 'source'
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
116 command of tcl to execute a tcl script.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
117 * src/forms.c: Modified cyg_handle_method_POST so that the variables in the
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
118 payload are scanned only if the request has a Content-Type
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
119 of 'application/x-www-form-urlencoded'
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
120 * src/jim-aio.c: Added to package. Now tcl has IO functions to access a
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
121 file system.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
122 * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_FORM_DATA which is set
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
123 when a POST request has a Content-Type of
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
124 'application/x-www-form-urlencoded'
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
125
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
126 2006-10-16 Lars Povlsen <lpovlsen@vitesse.com> and Anthony Tonizzo <atonizzo@gmail.com>
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
127
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
128 * cdl/httpd.cdl: add CYGOPT_NET_ATHTTPD_CLOSE_CHUNKED_CONNECTIONS. Default
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
129 is set to CLOSE, so it is backward compatible with
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
130 previous versions of the browser.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
131 * src/socket.c: cyg_httpd_process_request() uses a loop to collect at least
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
132 one full frame (til a header terminator is found),
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
133 cyg_httpd_start_chunked() only close if configured to do so.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
134 * src/httpd.c: Overhaul of cyg_httpd_send_error to avoid the use of
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
135 inbuffer as temporary storage (conflicts with pipelined frames),
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
136 removed the option to send a page after calling a C language
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
137 handler
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
138 * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_NO_CACHE
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
139
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
140 2006-10-12 Lars Povlsen <lpovlsen@vitesse.com> and Anthony Tonizzo <atonizzo@gmail.com>
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
141
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
142 * cdl/httpd.cdl: add CYGNUM_ATHTTPD_SERVER_MAX_POST to limit POST'ed data
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
143 * include/http.h: Added header_end, post_data fields to httpstate,
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
144 Added "302 Found" for POST handler redirect (CYG_HTTPD_STATUS_MOVED_TEMPORARILY)
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
145 * src/forms.c: Fixed variable decoding, fixed large POST processing
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
146 * src/http.c: Fixed some debug ouptuts, cleanup after POST processing,
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
147 overhaul of the pipelined requests code which can now
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
148 handle multiple requests per frame.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
149 * src/socket.c: Removed assert for socket write failure, Accumulating receiving
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
150 of requests (Browsers (Firefox) may pass partial headers in separate
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
151 fragments). Fixed some diagnostics output.
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
152
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
153 2006-07-19 Anthony Tonizzo <atonizzo@gmail.com> and Sergei Gavrikov <w3sg@softhome.net>
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
154
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
155 * cdl/httpd.cdl:
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
156 * doc/athttpd.sgml: Corrected some typos and rectified some omissions.
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
157 * include/jim.h: Added an inline to Jim_InitExtension()
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
158 * src/cgi.c: used malloc() instead of cyg_ldr_malloc();
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
159 * src/forms.c: Added a #define to be able tio use the TCL scripting
2326
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
160 without OBJLOADER
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
161 * src/http.c:
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
162 * src/socket.c: Lots of typos stamped out, and some better comments too.
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
163
2255
3327c37c28d1 * src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents: 2253
diff changeset
164 2006-07-19 Anthony Tonizzo <atonizzo@gmail.com>
3327c37c28d1 * src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents: 2253
diff changeset
165
3327c37c28d1 * src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents: 2253
diff changeset
166 * src/socket.c: Corrected a typo that generated an assertion.
2326
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
167 Modified slightly the source of cyg_httpd_write and cyg_httpd_writev
bd648d8929f6 * cdl/httpd.cdl: Improve CDL dependencies.
jlarmour
parents: 2265
diff changeset
168 to make the code more consistent as to when assertions are thrown.
2255
3327c37c28d1 * src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents: 2253
diff changeset
169
2253
84fb9d197d62 * doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents: 2250
diff changeset
170 2006-07-19 Sergei Gavrikov <w3sg@softhome.net>
84fb9d197d62 * doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents: 2250
diff changeset
171
84fb9d197d62 * doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents: 2250
diff changeset
172 * doc/athttpd.sgml: jade doesn't allow underscores in
84fb9d197d62 * doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents: 2250
diff changeset
173 id attributes, so fix.
84fb9d197d62 * doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents: 2250
diff changeset
174
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
175 2006-07-18 Jonathan Larmour <jifl@eCosCentric.com>
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
176
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
177 * cdl/httpd.cdl: Add -D __ECOS in compiler flags.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
178 Change include_dir to cyg/athttpd.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
179 Rename all CDL options from *_HTTPD_* to *_ATHTTPD_*.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
180 * All files: Rename cyg/httpd include directory to cyg/athttpd.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
181 Rename all CDL options from *_HTTPD_* to *_ATHTTPD_*.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
182 * doc/athttpd.sgml: Document MD5 algorithm licensing.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
183 * src/socket.c: Remove unused SNTP include.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
184
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
185 2006-06-13 Anthony Tonizzo <atonizzo@gmail.com>
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
186
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
187 * cdl/httpd.cdl:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
188 * doc/athttpd.sgml:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
189 * doc/mime_types.txt:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
190 * include/auth.h:
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
191 * include/cgi.h:
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
192 * include/digcalc.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
193 * include/forms.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
194 * include/global.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
195 * include/handler.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
196 * include/http.h:
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
197 * include/jim.h:
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
198 * include/md5.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
199 * include/socket.h:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
200 * src/auth.c:
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
201 * src/cgi.c:
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
202 * src/forms.c:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
203 * src/handler.c:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
204 * src/http.c:
2265
b5670f3c40f2 * cdl/httpd.cdl:
jlarmour
parents: 2255
diff changeset
205 * src/jim.c:
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
206 * src/md5c.c:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
207 * src/socket.c:
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
208 Created ATHTTPD package.
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
209
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
210 //===========================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
211 // ####GPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
212 // -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
213 // This file is part of eCos, the Embedded Configurable Operating System.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
214 // Copyright (C) 2005, 2006 Free Software Foundation, Inc.
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
215 //
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
216 // This program is free software; you can redistribute it and/or modify
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
217 // it under the terms of the GNU General Public License as published by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
218 // the Free Software Foundation; either version 2 or (at your option) any
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
219 // later version.
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
220 //
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
221 // This program is distributed in the hope that it will be useful, but
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
222 // WITHOUT ANY WARRANTY; without even the implied warranty of
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
223 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
224 // General Public License for more details.
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
225 //
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
226 // You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
227 // along with this program; if not, write to the
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
228 // Free Software Foundation, Inc., 51 Franklin Street,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
229 // Fifth Floor, Boston, MA 02110-1301, USA.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
230 // -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2485
diff changeset
231 // ####GPLCOPYRIGHTEND####
2250
0830ae6acddc Add ATHTTPD server from Anthony Tonizzo.
jlarmour
parents:
diff changeset
232 //===========================================================================