⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todo

📁 MiniWeb 在嵌入式平台上运行的WEB源代码
💻
字号:
- - - - - - - - - - high priority - - - - - - - - - -Why is the client's IP address showing up in paths?If a file is cached, then chmodded, the cache doesn't get invalidated.This means if you get the 'executable but not CGI' error, a chmod won'tfix it.Add option to syslog to a named pipe, for use in chroot trees.Add kqueue/kevent code to fdwatch.Add something about throttling to the hourly stats syslog.Fetches with numeric IP addresses and no Host: header are screwing up thevhost code?143.90.193.229 - - [06/Apr/2000:09:21:34 -0700] "GET /209.133.38.22/software/thttpd/ HTTP/1.0" 200 12093 "http://www.dbphotography.demon.co.uk/index.html" "Mozilla/1.22 (compatible; MSIE 2.0; Windows 95)"143.90.193.229 - - [06/Apr/2000:09:21:37 -0700] "GET /143.90.193.229/software/thttpd/anvil_thttpd.gif HTTP/1.0" 403 - "http://www.acme.com/software/thttpd/" "Mozilla/1.22 (compatible; MSIE 2.0; Windows 95)"Have directory indexing skip files that start with dot?  Except ..?In libhttpd.c:+               if (*(de->d_name) == '.' && *(de->d_name+1) != '.')+                   continue;                namlen = NAMLEN(de);Add -p to mkdir commands?Add comment on INDEX_NAMES that it should be simple filenames only.Got some shouldn't-happen errors:    throttle sending count was negative!    write - Bad addressThis are probably not new bugs, but rather existing bugs now beingnoticed and repaired due to the centralization of hc initialization.Weird thing - when thttpd got its nightly SIGUSR1 at midnight to exitand let the wrapper restart, it did exit and a new thttpd started,but the new thttpd sort of half-exited immediately.  The scriptthought it had exited, and therefore tried to start up anothernew thttpd.  But the process still existed and still has port 80bound, so the other new thttpds couldn't run.  And the stalled thttpdwas not serving requests.  If this happens again, use gdb to findout what the stalled process is doing.  Possibly stuck due to childprocesses still running?The error page generated for non-local referers should include theoriginal URL as an active link.Does the initgroups() call work?  Or does it need to be moved tobefore the chroot()?Make open in mmc.c use O_NONBLOCK flag, to prevent DOS attack viaa named pipe?Sites that clog with lots of TCP connections in CLOSING (not CLOSE_WAIT).Related to throttling, and timers?On A SIGUSR1, thttpd sometimes gives 'fdwatch - Bad file descriptor'instead of the usual exit message.  Looks like we have to do any closesin the main loop, and only set flags in the signal routines.  And oncewe got a CPU-bound loop.Switch all signal handling to use sigaction.Make log entry at end of transfer instead of start, so it has thecorrect number of bytes actually sent.  Likewise with adding to stats_bytes.- - - - - - - - - - later - - - - - - - - - -Document how symlinks interact with .htpasswd - authorization is checkedon the result of the symlink, and not the origin.SIGHUP log re-opening doesn't work if you started as root.Change redirect to put the Refresh command in the HTTP headers, instead ofa META tag.Add TCP_NODELAY, but after CGIs get spawned.Add stat cache?  1 minute expiry?Ifdef the un-close-on-exec CGI thing for Linux only.Add hash table to mmap cache.Try using shutdown(2) in lingering close.Check whether phf can still syslog from within chroot (probably not).Can we remove the "if ( errno == EINTR )" check on the select()?Add keep-alives, via a new state in thttpd.c.- - - - - - - - - - someday - - - - - - - - - -The special world-permissions checking is probably bogus.  For onething, it doesn't handle restrictive permissions on parent directoriesproperly.  It should probably just go away.redirect should interpret a path with a trailing / as /index.htmlssi should change $cwd to the source document's location.Allow .throttle files in individual directories.Log-digesting scripts.Config web page.    Common errors:	Not realizing that -c overrides CGI_PATTERN instead of augmenting it.	Using a directory name for the -c pattern.Throttling web article.- - - - - - - - - - 3.x - - - - - - - - - -CServlets re-write.- - - - - - - - - - general - - - - - - - - - -Release process:  - update version number in version.h README INSTALL and    contrib/redhat-rpm/thttpd.spec  - do an rcstreeinfo, and check in all files  - do a tdiff and update the local installation  - make tar  - mv it to ~/acmeweb/software/thttpd  - update version number in ~/acmeweb/software/thttpd/thttpd.html

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -