Commit Graph

1963 Commits

Author SHA1 Message Date
patacongo
6abf781fa1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2067 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:25:16 +00:00
patacongo
adc87f7aa2 Must periodically check if CGI task is still alive
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2066 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 16:29:36 +00:00
patacongo
83a53449f1 Reference count must be zero before calling uip_tcpfree()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2065 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 16:28:53 +00:00
patacongo
7c5d8b3806 Add netstat CGI example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2064 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 15:46:29 +00:00
patacongo
0640aa9fdf THTTPD CGI works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2063 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 15:04:58 +00:00
patacongo
ebd9543ff2 Need to use only lldbg in fault handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2062 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 14:53:42 +00:00
patacongo
5ad9071ef9 Fix pointer increment bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2061 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 14:00:30 +00:00
patacongo
fd0e5b99b0 remove warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2060 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 13:22:01 +00:00
patacongo
3aad40f1a9 Add logic to dump data in and out of pipe
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2059 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 20:55:06 +00:00
patacongo
075d96a70a CGI needs to copy httpd_conn because it is volatile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2058 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 19:48:13 +00:00
patacongo
8e0a8ee3bd cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2057 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 17:35:18 +00:00
patacongo
713c8d5965 Fix reference counting errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2056 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 17:17:51 +00:00
patacongo
65e44828cf SDCLONE was disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2055 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 17:17:14 +00:00
patacongo
59acff806c Use lldbg() instead of dbg() in interrupt level logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2054 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 15:44:14 +00:00
patacongo
ca7e2543e7 Add CONFIG_DEBUG_SYMBOLS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2053 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 14:18:15 +00:00
patacongo
dfc3767bc6 Add semaphore to prevent socket from being closed before it is dup'ed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2052 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 22:36:20 +00:00
patacongo
92b19c9d6d Remove unused status field
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2051 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 22:35:34 +00:00
patacongo
166b171d43 Keep track of number of time free called
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2050 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 22:35:04 +00:00
patacongo
6e2d6f7833 Use low-level debug which does not depend on stdout mapped to console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2049 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 22:33:21 +00:00
patacongo
f5492a1ebb Add assert to prevent write() method from being by interrupt handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2048 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 22:32:01 +00:00
patacongo
26e1c2dd9b CGI tried to execute using relative path
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2047 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 20:14:51 +00:00
patacongo
0e88518cb4 Fix order problem that was causing dup2 to clobber pipe FD and hang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2046 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 16:16:24 +00:00
patacongo
8468ddf520 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2045 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 16:15:46 +00:00
patacongo
18c85aee17 move CGI logic to a separate file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2044 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 14:53:32 +00:00
patacongo
415d05f6ea Remove last remnants of SYLOGging
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2043 42af7a65-404d-4744-a932-0658087f49c3
2009-09-13 00:12:09 +00:00
patacongo
91b95bbc61 Day-of-week problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2042 42af7a65-404d-4744-a932-0658087f49c3
2009-09-12 13:23:29 +00:00
patacongo
1393779f79 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2041 42af7a65-404d-4744-a932-0658087f49c3
2009-09-12 13:23:08 +00:00
patacongo
bb414032f5 Fix CGI pattern logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2040 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 21:09:46 +00:00
patacongo
bd7c66ff62 Don't use relative pathes when accessing files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2039 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 20:34:41 +00:00
patacongo
44f3418b18 Remove check for outstanding un-ACKed data in TX poll
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2038 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 20:32:02 +00:00
patacongo
80113f7d41 Fix race condition that can cause close of socket to hang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2037 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 19:31:52 +00:00
patacongo
c8dec461fc Clean up THTTPD watch handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2036 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 18:21:57 +00:00
patacongo
c2b1e91c14 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2035 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 18:15:06 +00:00
patacongo
1b8d8c71da Reduce default memory allocation for strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2034 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 15:44:47 +00:00
patacongo
3ae6193334 Add memory debug support to THTTPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2033 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 15:15:35 +00:00
patacongo
27ba470482 Fix race condition bug in poll() for backlogged connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2032 42af7a65-404d-4744-a932-0658087f49c3
2009-09-10 22:55:52 +00:00
patacongo
9a651a8b0e This two FIFO handling bugs in LM3S ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2031 42af7a65-404d-4744-a932-0658087f49c3
2009-09-09 18:00:13 +00:00
patacongo
570d52d5a5 Cosmetic, synchronize source files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3
2009-09-09 13:46:35 +00:00
patacongo
6dc1166e58 Was exitting when no connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2029 42af7a65-404d-4744-a932-0658087f49c3
2009-09-02 13:38:54 +00:00
patacongo
2205249a76 Reduce stack usage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2028 42af7a65-404d-4744-a932-0658087f49c3
2009-08-16 20:05:56 +00:00
patacongo
0810fcb7cb THTTPD integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2027 42af7a65-404d-4744-a932-0658087f49c3
2009-08-16 19:24:18 +00:00
patacongo
cbee3431e0 Modify THTTPD to avoid poll() for write ready
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2026 42af7a65-404d-4744-a932-0658087f49c3
2009-08-16 15:26:52 +00:00
patacongo
b88b41f490 Document poll() problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2025 42af7a65-404d-4744-a932-0658087f49c3
2009-08-16 14:43:13 +00:00
patacongo
98fe680d4b Fix errors in handle_send
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2024 42af7a65-404d-4744-a932-0658087f49c3
2009-08-16 14:29:08 +00:00
patacongo
275133b216 Continued THTTPD debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2023 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 22:59:59 +00:00
patacongo
8ec0fc92ed strstr fails because length off by 1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2022 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 22:59:41 +00:00
patacongo
534fa87409 Get rid of cwd in THTTPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2021 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 20:25:13 +00:00
patacongo
e1ec46aeca THTTPD progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2020 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 19:36:06 +00:00
patacongo
c24bbb10f5 Fix strcasecmp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2019 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 19:31:30 +00:00
patacongo
2035b33670 Fix errors in return value from non-blocking read
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2018 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 17:19:08 +00:00