summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-04 23:24:34 +0000
committerDavid Troy <dave@popvox.com>2006-04-04 23:24:34 +0000
commit012c2fcfbfec0a7d2676c393a9fdc9fee74fa09b (patch)
treee6975fa8a04db2207cfb0d226b2d4f151c46dd75
parente61f8f336a27fb32280bd9bd5efdee9d6e0d2781 (diff)
downloadastmanproxy-012c2fcfbfec0a7d2676c393a9fdc9fee74fa09b.zip
astmanproxy-012c2fcfbfec0a7d2676c393a9fdc9fee74fa09b.tar.gz
astmanproxy-012c2fcfbfec0a7d2676c393a9fdc9fee74fa09b.tar.xz
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@88 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r--src/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index 8a8d245..8fd5520 100644
--- a/src/http.c
+++ b/src/http.c
@@ -118,6 +118,8 @@ int _read(struct mansession *s, struct message *m) {
}
}
} else if (res == 0) {
+ /* x-www-form-urlencoded handler */
+ /* Content-Type: application/x-www-form-urlencoded */
if (*method && !*formdata) {
if ( !strcasecmp(method, "POST") && clength && s->inlen==clength) {
pthread_mutex_lock(&s->lock);