Mercurial > ecos
annotate packages/net/athttpd/current/ChangeLog @ 2465:dbff0fb46d3b
* src/socket.c: put NULL at the end of inbuff on each iteration,
preventing strstr from looking at old data beyond inbuffer_len
| author | asl |
|---|---|
| date | Sun, 09 Mar 2008 15:19:38 +0000 |
| parents | 4631139fc774 |
| children | 0e9d1d1df4a0 |
| rev | line source |
|---|---|
|
2465
dbff0fb46d3b
* src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents:
2449
diff
changeset
|
1 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
|
2 |
|
dbff0fb46d3b
* src/socket.c: put NULL at the end of inbuff on each iteration,
asl
parents:
2449
diff
changeset
|
3 * 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
|
4 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
|
5 |
|
2446
a72554718436
* doc/athttpd.cdl: Fixed typos in doc. Return value from handler is not
jlarmour
parents:
2330
diff
changeset
|
6 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
|
7 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
|
8 |
|
2449
4631139fc774
* doc/athttpd.sgml: added an example of a tcl script.
jlarmour
parents:
2447
diff
changeset
|
9 * 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
|
10 * 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
|
11 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
|
12 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
|
13 * 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
|
14 forwarded to tcl |
|
2447
b0a8521db07e
* include/jim.h: include file order fix; now compiles again.
jlarmour
parents:
2446
diff
changeset
|
15 * 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
|
16 * 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
|
17 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
|
18 |
|
2330
23bf56b48ddc
* cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents:
2326
diff
changeset
|
19 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
|
20 |
|
23bf56b48ddc
* cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents:
2326
diff
changeset
|
21 * 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
|
22 CYGOPT_NET_ATHTTPD_USE_FS |
|
23bf56b48ddc
* cdl/httpd.cdl: Corrected a CDL error in the requirements of
jlarmour
parents:
2326
diff
changeset
|
23 |
| 2326 | 24 2006-11-27 Jonathan Larmour <jifl@eCosCentric.com> |
| 25 | |
| 26 * cdl/httpd.cdl: Improve CDL dependencies. | |
| 27 | |
| 28 2006-11-08 Anthony Tonizzo <atonizzo@gmail.com> | |
| 29 | |
| 30 * doc/athttpd.sgml: Updated to describe lasted changes and corrected | |
| 31 minor typos. | |
| 32 * src/http.c: Check for "Content-Type" header. This is needed if we | |
| 33 want to support parsing form variables in POST requests. | |
| 34 * src/jim.c: Updated with latest release from Jim CVS. | |
| 35 * src/cgi.c: streamlined cyg_httpd_exec_cgi_tcl(), now uses the 'source' | |
| 36 command of tcl to execute a tcl script. | |
| 37 * src/forms.c: Modified cyg_handle_method_POST so that the variables in the | |
| 38 payload are scanned only if the request has a Content-Type | |
| 39 of 'application/x-www-form-urlencoded' | |
| 40 * src/jim-aio.c: Added to package. Now tcl has IO functions to access a | |
| 41 file system. | |
| 42 * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_FORM_DATA which is set | |
| 43 when a POST request has a Content-Type of | |
| 44 'application/x-www-form-urlencoded' | |
| 45 | |
| 46 2006-10-16 Lars Povlsen <lpovlsen@vitesse.com> and Anthony Tonizzo <atonizzo@gmail.com> | |
| 47 | |
| 48 * cdl/httpd.cdl: add CYGOPT_NET_ATHTTPD_CLOSE_CHUNKED_CONNECTIONS. Default | |
| 49 is set to CLOSE, so it is backward compatible with | |
| 50 previous versions of the browser. | |
| 51 * src/socket.c: cyg_httpd_process_request() uses a loop to collect at least | |
| 52 one full frame (til a header terminator is found), | |
| 53 cyg_httpd_start_chunked() only close if configured to do so. | |
| 54 * src/httpd.c: Overhaul of cyg_httpd_send_error to avoid the use of | |
| 55 inbuffer as temporary storage (conflicts with pipelined frames), | |
| 56 removed the option to send a page after calling a C language | |
| 57 handler | |
| 58 * include/httpd.h: Added a new mode, CYG_HTTPD_MODE_NO_CACHE | |
| 59 | |
| 60 2006-10-12 Lars Povlsen <lpovlsen@vitesse.com> and Anthony Tonizzo <atonizzo@gmail.com> | |
| 61 | |
| 62 * cdl/httpd.cdl: add CYGNUM_ATHTTPD_SERVER_MAX_POST to limit POST'ed data | |
| 63 * include/http.h: Added header_end, post_data fields to httpstate, | |
| 64 Added "302 Found" for POST handler redirect (CYG_HTTPD_STATUS_MOVED_TEMPORARILY) | |
| 65 * src/forms.c: Fixed variable decoding, fixed large POST processing | |
| 66 * src/http.c: Fixed some debug ouptuts, cleanup after POST processing, | |
| 67 overhaul of the pipelined requests code which can now | |
| 68 handle multiple requests per frame. | |
| 69 * src/socket.c: Removed assert for socket write failure, Accumulating receiving | |
| 70 of requests (Browsers (Firefox) may pass partial headers in separate | |
| 71 fragments). Fixed some diagnostics output. | |
| 72 | |
| 2265 | 73 2006-07-19 Anthony Tonizzo <atonizzo@gmail.com> and Sergei Gavrikov <w3sg@softhome.net> |
| 74 | |
| 75 * cdl/httpd.cdl: | |
| 76 * doc/athttpd.sgml: Corrected some typos and rectified some omissions. | |
| 77 * include/jim.h: Added an inline to Jim_InitExtension() | |
| 78 * src/cgi.c: used malloc() instead of cyg_ldr_malloc(); | |
| 79 * src/forms.c: Added a #define to be able tio use the TCL scripting | |
| 2326 | 80 without OBJLOADER |
| 2265 | 81 * src/http.c: |
| 82 * src/socket.c: Lots of typos stamped out, and some better comments too. | |
| 83 | |
|
2255
3327c37c28d1
* src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents:
2253
diff
changeset
|
84 2006-07-19 Anthony Tonizzo <atonizzo@gmail.com> |
|
3327c37c28d1
* src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents:
2253
diff
changeset
|
85 |
|
3327c37c28d1
* src/socket.c: Corrected a typo that generated an assertion.
jlarmour
parents:
2253
diff
changeset
|
86 * src/socket.c: Corrected a typo that generated an assertion. |
| 2326 | 87 Modified slightly the source of cyg_httpd_write and cyg_httpd_writev |
| 88 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
|
89 |
|
2253
84fb9d197d62
* doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents:
2250
diff
changeset
|
90 2006-07-19 Sergei Gavrikov <w3sg@softhome.net> |
|
84fb9d197d62
* doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents:
2250
diff
changeset
|
91 |
|
84fb9d197d62
* doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents:
2250
diff
changeset
|
92 * doc/athttpd.sgml: jade doesn't allow underscores in |
|
84fb9d197d62
* doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents:
2250
diff
changeset
|
93 id attributes, so fix. |
|
84fb9d197d62
* doc/athttpd.sgml: jade doesn't allow underscores in
jlarmour
parents:
2250
diff
changeset
|
94 |
| 2250 | 95 2006-07-18 Jonathan Larmour <jifl@eCosCentric.com> |
| 96 | |
| 97 * cdl/httpd.cdl: Add -D __ECOS in compiler flags. | |
| 98 Change include_dir to cyg/athttpd. | |
| 99 Rename all CDL options from *_HTTPD_* to *_ATHTTPD_*. | |
| 100 * All files: Rename cyg/httpd include directory to cyg/athttpd. | |
| 101 Rename all CDL options from *_HTTPD_* to *_ATHTTPD_*. | |
| 102 * doc/athttpd.sgml: Document MD5 algorithm licensing. | |
| 103 * src/socket.c: Remove unused SNTP include. | |
| 104 | |
| 105 2006-06-13 Anthony Tonizzo <atonizzo@gmail.com> | |
| 106 | |
| 107 * cdl/httpd.cdl: | |
| 108 * doc/athttpd.sgml: | |
| 109 * doc/mime_types.txt: | |
| 110 * include/auth.h: | |
| 2265 | 111 * include/cgi.h: |
| 2250 | 112 * include/digcalc.h: |
| 113 * include/forms.h: | |
| 114 * include/global.h: | |
| 115 * include/handler.h: | |
| 116 * include/http.h: | |
| 2265 | 117 * include/jim.h: |
| 2250 | 118 * include/md5.h: |
| 119 * include/socket.h: | |
| 120 * src/auth.c: | |
| 2265 | 121 * src/cgi.c: |
| 2250 | 122 * src/forms.c: |
| 123 * src/handler.c: | |
| 124 * src/http.c: | |
| 2265 | 125 * src/jim.c: |
| 2250 | 126 * src/md5c.c: |
| 127 * src/socket.c: | |
| 128 Created ATHTTPD package. | |
| 129 | |
| 130 //=========================================================================== | |
| 131 //####ECOSGPLCOPYRIGHTBEGIN#### | |
| 132 // ------------------------------------------- | |
| 133 // This file is part of eCos, the Embedded Configurable Operating System. | |
| 2326 | 134 // Copyright (C) 2005, 2006 eCosCentric Ltd. |
| 2250 | 135 // |
| 136 // eCos is free software; you can redistribute it and/or modify it under | |
| 137 // the terms of the GNU General Public License as published by the Free | |
| 138 // Software Foundation; either version 2 or (at your option) any later version. | |
| 139 // | |
| 140 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY | |
| 141 // WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 142 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 143 // for more details. | |
| 144 // | |
| 145 // You should have received a copy of the GNU General Public License along | |
| 146 // with eCos; if not, write to the Free Software Foundation, Inc., | |
| 147 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
| 148 // | |
| 149 // As a special exception, if other files instantiate templates or use macros | |
| 150 // or inline functions from this file, or you compile this file and link it | |
| 151 // with other works to produce a work based on this file, this file does not | |
| 152 // by itself cause the resulting work to be covered by the GNU General Public | |
| 153 // License. However the source code for this file must still be made available | |
| 154 // in accordance with section (3) of the GNU General Public License. | |
| 155 // | |
| 156 // This exception does not invalidate any other reasons why a work based on | |
| 157 // this file might be covered by the GNU General Public License. | |
| 158 // | |
| 159 // ------------------------------------------- | |
| 160 //####ECOSGPLCOPYRIGHTEND#### | |
| 161 //=========================================================================== |
