mirror of
https://github.com/lxsang/ant-http
synced 2024-12-24 15:58:21 +01:00
save the entire post request body to request
This commit is contained in:
parent
5d79f912c1
commit
7bf58c1d01
73
build.json
Normal file
73
build.json
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
"name": "ant-http",
|
||||
"targets":{
|
||||
"configure": {
|
||||
"require": ["linux"],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"libtoolize",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"aclocal",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"autoconf",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"automake --add-missing",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"./configure --prefix=/usr --enable-debug=no",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"clean": {
|
||||
"require": ["linux"],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"make clean",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"require": ["linux"],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"make",
|
||||
"pwd": "home://workspace/ant-http"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"clean and build": {
|
||||
"depend": ["clean", "build"],
|
||||
"jobs": []
|
||||
}
|
||||
}
|
||||
}
|
@ -1228,8 +1228,7 @@ void *decode_post_request(void *data)
|
||||
key = ctype;
|
||||
if (pquery)
|
||||
{
|
||||
dput(request, key, strdup(pquery));
|
||||
free(pquery);
|
||||
dput(request, key, pquery);
|
||||
}
|
||||
else if (clen > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user