annotate packages/net/httpd/current/ChangeLog @ 2271:fd2c3f3def9d

* src/monitor.c (cyg_monitor_network): Calling the network monitor html handler can trigger an exception when the function getifaddrs() fails because we are out of memory. Check the return code and return failure if this happens.
author asl
date Fri, 11 Aug 2006 15:54:45 +0000
parents cb271f992ffd
children a98ace8abb52
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2271
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
1 2006-07-28 Jochen Gerster <JochenGerster@gmx.de>
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
2
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
3 * src/monitor.c (cyg_monitor_network): Calling the network monitor
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
4 html handler can trigger an exception when the function
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
5 getifaddrs() fails because we are out of memory. Check the
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
6 return code and return failure if this happens.
fd2c3f3def9d * src/monitor.c (cyg_monitor_network): Calling the network monitor
asl
parents: 2040
diff changeset
7
2040
cb271f992ffd * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
asl
parents: 1788
diff changeset
8 2005-07-30 Andrew Lunn <andrew.lunn@ascom.ch>
cb271f992ffd * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
asl
parents: 1788
diff changeset
9
cb271f992ffd * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
asl
parents: 1788
diff changeset
10 * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
cb271f992ffd * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
asl
parents: 1788
diff changeset
11 warnings.
cb271f992ffd * src/httpd.c (cyg_httpd_server): Use socklen_t to avoid compiler
asl
parents: 1788
diff changeset
12
1788
eb9d23483db9 * src/monitor.c: include sys/sysctl.h to prevent compiler
asl
parents: 1718
diff changeset
13 2004-10-05 Andrew Lunn <andrew.lunn@ascom.ch>
eb9d23483db9 * src/monitor.c: include sys/sysctl.h to prevent compiler
asl
parents: 1718
diff changeset
14
eb9d23483db9 * src/monitor.c: include sys/sysctl.h to prevent compiler
asl
parents: 1718
diff changeset
15 * src/monitor.c: include sys/sysctl.h to prevent compiler
eb9d23483db9 * src/monitor.c: include sys/sysctl.h to prevent compiler
asl
parents: 1718
diff changeset
16 warnings.
eb9d23483db9 * src/monitor.c: include sys/sysctl.h to prevent compiler
asl
parents: 1718
diff changeset
17
1718
81ee8c3c3d7b * src/monitor.c: Added missing spaces in multi-line HTML strings.
asl
parents: 1535
diff changeset
18 2004-08-16 Peter Korsgaard <jacmet@sunsite.dk>
81ee8c3c3d7b * src/monitor.c: Added missing spaces in multi-line HTML strings.
asl
parents: 1535
diff changeset
19
81ee8c3c3d7b * src/monitor.c: Added missing spaces in multi-line HTML strings.
asl
parents: 1535
diff changeset
20 * src/monitor.c: Added missing spaces in multi-line HTML strings.
81ee8c3c3d7b * src/monitor.c: Added missing spaces in multi-line HTML strings.
asl
parents: 1535
diff changeset
21
1534
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
22 2004-03-09 Nick Garnett <nickg@calivar.com>
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
23
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
24 * include/httpd.h:
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
25 * src/init.cxx:
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
26 * src/httpd.c:
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
27 * src/init.cxx:
1535
00ed8504e595 Forgot to update the documentation in last checkin. Now done.
nickg
parents: 1534
diff changeset
28 * doc/httpd.sgml:
1534
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
29 Added option to enable auto-starting of HTTPD. This is set by
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
30 default so the current behaviour is retained. When this is
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
31 disabled the application has to call cyg_httpd_startup() to get
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
32 the server going.
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
33
1528
970d06598f83 * src/httpd.c (cyg_httpd_server): Fix http header by adding
asl
parents: 1325
diff changeset
34 2004-02-23 Jeff Duncan <jeffd@magtek.com>
970d06598f83 * src/httpd.c (cyg_httpd_server): Fix http header by adding
asl
parents: 1325
diff changeset
35
1534
606f06850b83 * include/httpd.h:
nickg
parents: 1528
diff changeset
36 * src/httpd.c (cyg_httpd_server): Fix http header by adding
1528
970d06598f83 * src/httpd.c (cyg_httpd_server): Fix http header by adding
asl
parents: 1325
diff changeset
37 newline after server name.
970d06598f83 * src/httpd.c (cyg_httpd_server): Fix http header by adding
asl
parents: 1325
diff changeset
38
1325
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
39 2003-10-21 Eric Doenges <Eric.Doenges@DynaPel.com>
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
40
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
41 * src/monitor.c (cyg_monitor_memory): Check if the request
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
42 contains a 'base' parameter and don't display anything if it does
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
43 not. This prevents the monitor from attempting to access memory
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
44 location '0' when the user accesses the memory html page for the
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
45 first time without any parameters.
921f9882bd6d * src/monitor.c (cyg_monitor_memory): Check if the request
asl
parents: 1240
diff changeset
46
1240
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
47 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch>
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
48
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
49 * src/httpd.c (cyg_httpd_server): Removed unused variable.
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
50 * doc/httpd.sgml: Updated documentation for previous change.
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
51
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
52 2003-09-22 Eric Doenges <Eric.Doenges@DynaPel.com>
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
53
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
54 * include/httpd.h: changed prototype of cyg_httpd_send_html and
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
55 cyg_httpd_send_data to match implementation.
eeb14eae974b * src/httpd.c (cyg_httpd_server): Removed unused variable.
asl
parents: 1053
diff changeset
56
1053
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
57 2003-06-09 Nick Garnett <nickg@balti.calivar.com>
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
58
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
59 * src/httpd.c: Fixed a problem with closing the client socket --
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
60 it was being done twice.
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
61 Tidied up the formatting a little.
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
62
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
63 * src/monitor.c: Fixed some compiler warnings.
657f409c5dfe * src/httpd.c: Fixed a problem with closing the client socket --
nickg
parents: 1008
diff changeset
64
1008
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
65 2003-05-11 Andrew Lunn <andrew.lunn@ascom.ch>
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
66
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
67 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
68 the display of network information.
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
69 * tests/httpd1.c: New file: Simple program to actually run the
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
70 server so we can test it.
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
71 * cdl/httpd.cdl: Added the test program.
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
72
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
73 2003-05-10 Andrew Lunn <andrew.lunn@ascom,ch>
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
74
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
75 * src/httpd.c: Added support for serving content over IPv6,
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
76 * doc/httpd.sgml: Added comment about IPv6.
4ca8a5f30c03 * src/monitor.c (cyg_monitor_network): Added IPv6 information to
asl
parents: 955
diff changeset
77
955
1b02e87dfe40 * cdl/httpd.cdl: Only build monitor in CDL option.
jlarmour
parents: 831
diff changeset
78 2003-04-23 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>
1b02e87dfe40 * cdl/httpd.cdl: Only build monitor in CDL option.
jlarmour
parents: 831
diff changeset
79
1b02e87dfe40 * cdl/httpd.cdl: Only build monitor in CDL option.
jlarmour
parents: 831
diff changeset
80 * cdl/httpd.cdl: Only build monitor in CDL option.
1b02e87dfe40 * cdl/httpd.cdl: Only build monitor in CDL option.
jlarmour
parents: 831
diff changeset
81
831
0b41b42148e9 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
nickg
parents: 732
diff changeset
82 2003-03-17 Nick Garnett <nickg@balti.calivar.com>
0b41b42148e9 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
nickg
parents: 732
diff changeset
83
0b41b42148e9 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
nickg
parents: 732
diff changeset
84 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
0b41b42148e9 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
nickg
parents: 732
diff changeset
85 to network page.
0b41b42148e9 * src/monitor.c (cyg_monitor_network): Added monitoring of Mbufs
nickg
parents: 732
diff changeset
86
732
f348e525f5ca * cdl/httpd.cdl: Add doc link.
jlarmour
parents: 631
diff changeset
87 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
f348e525f5ca * cdl/httpd.cdl: Add doc link.
jlarmour
parents: 631
diff changeset
88
f348e525f5ca * cdl/httpd.cdl: Add doc link.
jlarmour
parents: 631
diff changeset
89 * cdl/httpd.cdl: Add doc link.
f348e525f5ca * cdl/httpd.cdl: Add doc link.
jlarmour
parents: 631
diff changeset
90
631
06b38a628db3 * include/httpd.h (html_end): fix typo.
jlarmour
parents: 468
diff changeset
91 2003-02-14 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>
06b38a628db3 * include/httpd.h (html_end): fix typo.
jlarmour
parents: 468
diff changeset
92
06b38a628db3 * include/httpd.h (html_end): fix typo.
jlarmour
parents: 468
diff changeset
93 * include/httpd.h (html_end): fix typo.
06b38a628db3 * include/httpd.h (html_end): fix typo.
jlarmour
parents: 468
diff changeset
94
468
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
95 2002-12-06 Nick Garnett <nickg@ecoscentric.com>
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
96
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
97 * include/httpd.h:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
98 * src/init.cxx:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
99 * src/httpd.c:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
100 * src/monitor.c:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
101 * doc/httpd.sgml:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
102 * cdl/httpd.cdl:
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
103 Created HTTPD package.
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
104
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
105 # Copyright (C) 2002 Nick Garnett
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
106 # All Rights Reserved.
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
107 #
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
108 # Permission is granted to use, copy, modify and redistribute this
ca4f29d41b18 Created new HTTPD package.
nickg
parents:
diff changeset
109 # file.