aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 22:14:52 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 22:14:52 +0200
commite7b86baeec0ef6f946e2b60a68876eb6f3cdc32e (patch)
tree21410c5cfc13348f3c90eec17c9f4f388af4ef28
parentfc9f3c0bde26bc882bdfe1ec0435ade8b60172f4 (diff)
downloadlitheweb-e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e.tar.gz
litheweb-e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e.tar.bz2
...
-rw-r--r--picohttp.c7
-rw-r--r--picohttp.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/picohttp.c b/picohttp.c
index 43d4652..eb5decc 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -196,6 +196,13 @@ static int16_t picohttpIoGetPercentCh(
return ch;
}
+uint16_t picohttpGetch(struct picohttpRequest * const req)
+{
+ /* read HTTP query body, skipping over Chunked Transfer Boundaries
+ * if Chunked Transfer Encoding is used */
+
+}
+
/* TODO:
* It is possible to do in-place pattern matching on the route definition
* array, without first reading in the URL and then processing it here.
diff --git a/picohttp.h b/picohttp.h
index 803587d..24212e5 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -138,9 +138,7 @@ int picohttpResponseWrite (
size_t len,
char const *buf );
-uint16_t picohttpGetch(
- struct picohttpRequest * const req,
- struct picohttpChunkTransfer * const ct);
+uint16_t picohttpGetch(struct picohttpRequest * const req);
int picohttpMultipartNext(
struct picohttpRequest * const req,