Commit Graph

49 Commits

Author SHA1 Message Date
patacongo d01304656a cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2395 42af7a65-404d-4744-a932-0658087f49c3
2009-12-20 14:54:51 +00:00
patacongo 1f319c3c3c Remove warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2394 42af7a65-404d-4744-a932-0658087f49c3
2009-12-20 14:54:12 +00:00
patacongo 13dfdf9a05 Remove warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2365 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 15:01:02 +00:00
patacongo 9ba9db7e9d Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2347 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 16:37:20 +00:00
patacongo d72669723d Fix debug output; remove redundanct close()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2071 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:30:12 +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 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 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 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 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 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 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 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 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 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 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 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 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 f7483ab7b1 strftime fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2014 42af7a65-404d-4744-a932-0658087f49c3
2009-08-08 15:14:10 +00:00
patacongo 3ec3bfdcc8 accept() now supports non-blocking operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 23:35:27 +00:00
patacongo 09b640e844 Fix fdwatch problems; reduce fdwatch memory usage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2010 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 18:12:22 +00:00
patacongo 7c2070bc83 Fix accept() -- it wanted parts of return address initialized
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2008 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:31:50 +00:00
patacongo 7c8051a574 THTTPD now gets past initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2007 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:08:20 +00:00
patacongo 4322c23e43 Initialize THTTPD integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2006 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 15:08:09 +00:00
patacongo 64777d8eaf Fix build problems with different configuratin options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2004 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 12:56:52 +00:00
patacongo 0051421e18 Finish fdwatch logic in cgi_child
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1997 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 14:14:35 +00:00
patacongo b63c500c14 Add non-blocking capability for TCP sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1996 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 13:50:08 +00:00
patacongo 22fa6bdfb3 Add framework for THTTPD example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1989 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 19:47:08 +00:00
patacongo 8c17e7f6d0 Fix CGI I/O redirection and interposer tasks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1988 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 18:04:05 +00:00
patacongo 8f3d3641e5 Add NXFLAT CGI programs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1983 42af7a65-404d-4744-a932-0658087f49c3
2009-07-13 01:30:53 +00:00
patacongo 3975fc5bdf Add tdate_parse.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1982 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 20:48:44 +00:00
patacongo 4020506590 Add fdwatch.c and timers.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1981 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 20:27:56 +00:00
patacongo 1235ab92c5 libthttpd.c now longer used fork() and execve()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1980 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 18:46:11 +00:00
patacongo 93e34db926 Add libhttpd.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1978 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 16:45:27 +00:00
patacongo b32b7cb4b2 Add gmtime and localtime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1976 42af7a65-404d-4744-a932-0658087f49c3
2009-07-12 00:41:06 +00:00
patacongo de18e3272f Add framework for thttpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1975 42af7a65-404d-4744-a932-0658087f49c3
2009-07-11 23:40:17 +00:00