summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-06-13 07:11:28 +0000
committerChristian Grothoff <christian@grothoff.org>2007-06-13 07:11:28 +0000
commit0ddd6fdd1d9dcd52635a8f6244c2093242efe33f (patch)
tree3d8602ee648a22826638e25af1c908d440786cd0
parente0f5ecea32dca11c979687fac128c7f2badfb198 (diff)
docs
-rw-r--r--README83
-rw-r--r--src/daemon/daemon.c2
2 files changed, 53 insertions, 32 deletions
diff --git a/README b/README
index 9030f214..fd046b25 100644
--- a/README
+++ b/README
@@ -1,33 +1,54 @@
Run "autoreconf -f -i" to create configure.
-Talk to Christian or Chris if you have problems
-with the build system or do not understand the
-API. We can also help discuss implementation
-choices.
-
-
-
-Your project will be graded using the following
-criteria:
-
-1) correctness
- a) HTTP 1.1 compliance
- b) no bugs / crashes
- c) interoperability (firefox, IE, konqueror,
- squid, libcurl, wget)
- d) memory leaks
-2) completeness
- a) all API functions
- b) all options (except SSL)
- c) portability (Linux, Solaris)
-2) performance
- a) memory consumption
- b) throughput (small and large transfers)
- c) latency
- d) performance with 1000 parallel sessions
-3) software engineering practice (subjective)
- a) code quality
- b) comprehensive testcases
- c) documentation
-
- \ No newline at end of file
+This is still pre-alpha software. The following
+things need to be implemented before it can be used
+at all:
+
+
+
+In general:
+===========
+daemon.c:
+- MHD_cleanup_session: major memory leaks (headers!)
+- add additional LOG messages for debugging
+
+session.c:
+- MHD_session_get_fdset (essentially not implemented)
+- MHD_find_access_handler (not implemented)
+- add additional LOG messages for debugging
+
+
+For PUT/POST:
+=============
+session.c:
+- MHD_parse_session_headers (determine upload size)
+- MHD_session_handle_read (proper handling of upload end)
+
+
+For COOKIES:
+============
+session.c:
+- MHD_parse_session_headers: take cookie header apart
+
+
+For GET args:
+=============
+session.c:
+- MHD_parse_session_headers: take URL apart
+
+
+For IPv6:
+=========
+
+daemon.c:
+- fix start daemon and accept handlers
+ (tricky bit will be supporting both on
+ the same socket / port!)
+
+
+For SSL:
+========
+microhttpd.h:
+- define appropriate APIs
+- everything else
+
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index ac0a7398..5a7db531 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -284,7 +284,7 @@ MHD_cleanup_sessions(struct MHD_Daemon * daemon) {
if (pos->read_buffer != NULL)
free(pos->read_buffer);
/* FIXME: free headers_received here! */
- /* FIXME: more to free here! */
+ /* FIXME: more to free here: response, more? */
free(pos);
}
prev = pos;