Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: upload module
- To: nginx-ru@xxxxxxxxx
- Subject: Re: upload module
- From: Konstantin Svist <fry.kun@xxxxxxxxx>
- Date: Mon, 04 Apr 2011 18:23:53 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=t/N+xqfIkTIsDNENUpsbpJGOWq2OQBxNP0NNjwUdXGY=; b=VUZjjEKFzF71KBjtpatXD5W3ALoBnrLyme3bPqq7pkJkBTxEXLOXe24l6j5qDT9Q3G N96l29AI6qSqxVT399fjf1VKR+zD4selWVrwwcZLfbzUqm6UGw9BbYCYLdPsTj52eFUD CY+iuZkUmwbKjg32+Ex61/ZJCWBk9pa9qg4sQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=RnLq54eF4/9Fa4GvmHH59KVD4o0qORlNlPPsZkTZih61e0IAzObmkXUEbaf7SHQokP xIvU7peEm9onPBjpYeHLfBtqEUN+6W3yO9EkJW8wB9Jat6z06DT8JvzGAdoCyzpQCzgy 4mxDD4VMvezdn9VOWEedV7BpwmoaU5pkYcqQk=
- In-reply-to: <5135783.2381.1301482484805.JavaMail.root@xxxxxxxxxxxxxx>
- References: <5135783.2381.1301482484805.JavaMail.root@xxxxxxxxxxxxxx>
Всё никак не идёт
nginx/0.9.5
logs attached
On 03/30/2011 03:54 AM, Valery Kholodkov wrote:
Не обязаельно. Можно просто сделать дамп запроса с помощью nc.
----- Konstantin Svist<fry.kun@xxxxxxxxx> wrote:
Пробовал с
location @test {
proxy_pass http://localhost:8080;
}
но без сервера на 8080. Там нужна живая страница чтобы начать?
On 03/29/2011 12:40 AM, Valery Kholodkov wrote:
Попробуйте без echo.
Konstantin Svist пишет:
Что-то не могу заставить upload работать.. Все время получаю "The
connection was reset"
Конфига:
server {
listen 80;
location /upload {
client_max_body_size 100m;
access_log logs/other/upload.log;
error_log logs/other/upload_err.log;
upload_pass @test;
upload_store /tmp/upload 1;
upload_store_access user:r;
upload_set_form_field $upload_field_name.name "$upload_file_name";
upload_set_form_field $upload_field_name.content_type
"$upload_content_type";
upload_set_form_field $upload_field_name.path "$upload_tmp_path";
# Inform backend about hash and size of a file
upload_aggregate_form_field "$upload_field_name.md5"
"$upload_file_md5";
upload_aggregate_form_field "$upload_field_name.size"
"$upload_file_size";
upload_pass_form_field "^submit$|^description$";
upload_cleanup 400 404 499 500-505;
}
location @test {
default_type text/html;
echo "OK";
}
location /uploadform {
default_type text/html;
echo '<html><head><title>Test
upload</title></head><body><h2>Select files to upload</h2><form
name="upload" method="POST" enctype="multipart/form-data"
action="/upload"><input type="file" name="file1"><br><input
type="file" name="file2"><br><input type="submit" name="submit"
value="Upload"><input type="hidden" name="test"
value="value"></form></body></html>';
}
}
Лога:
63.82.5.67 - - [28/Mar/2011:17:30:29 -0700] "POST /upload HTTP/1.1" 0
0 "http://testserver/uploadform" "Mozilla/5.0 (X11; Linux i686;
rv:2.0) Gecko/20100101 Firefox/4.0"
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
2011/04/04 18:12:30 [debug] 12013#0: *11508 accept: 63.82.5.67 fd:132
2011/04/04 18:12:30 [debug] 12013#0: *11508 event timer add: 132:
60000:1301966010103
2011/04/04 18:12:30 [debug] 12013#0: *11508 epoll add event: fd:132 op:1
ev:80000001
2011/04/04 18:12:30 [debug] 12013#0: *11508 post event 00007F4F9400C778
2011/04/04 18:12:30 [debug] 12013#0: *11508 delete posted event 00007F4F9400C778
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000DB1110:1456
2011/04/04 18:12:30 [debug] 12013#0: *11508 posix_memalign:
00000000009180E0:256 @16
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000DB16D0:1024
2011/04/04 18:12:30 [debug] 12013#0: *11508 posix_memalign:
0000000000D4AA40:4096 @16
2011/04/04 18:12:30 [debug] 12013#0: *11508 http process request line
2011/04/04 18:12:30 [debug] 12013#0: *11508 recv: fd:132 1024 of 1024
2011/04/04 18:12:30 [debug] 12013#0: *11508 http request line: "POST /upload
HTTP/1.1"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http uri: "/upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http args: ""
2011/04/04 18:12:30 [debug] 12013#0: *11508 http exten: ""
2011/04/04 18:12:30 [debug] 12013#0: *11508 http process request header line
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Host: testserver:3480"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "User-Agent:
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Accept-Language:
en-us,en;q=0.8,ru;q=0.5,ja;q=0.3"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Accept-Encoding:
gzip, deflate"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Keep-Alive: 115"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "DNT: 1"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Connection:
keep-alive"
2011/04/04 18:12:30 [debug] 12013#0: *11508 posix_memalign:
0000000000DF1CD0:4096 @16
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Referer:
http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Content-Type:
multipart/form-data;
boundary=---------------------------160929195315521356911831766242"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header: "Content-Length: 1317"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http header done
2011/04/04 18:12:30 [debug] 12013#0: *11508 event timer del: 132: 1301966010103
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 2
2011/04/04 18:12:30 [debug] 12013#0: *11508 test location: "/"
2011/04/04 18:12:30 [debug] 12013#0: *11508 test location: "upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 using configuration "/upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http cl:1317 max:104857600
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 4
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 5
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id no
header found
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id no
id found
2011/04/04 18:12:30 [debug] 12013#0: *11508 trackuploads no id found in POST
upload req
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 6
2011/04/04 18:12:30 [debug] 12013#0: *11508 session handler:
store_shm_zone=0000000000000000, store_index=-1, get_shm_zone=0000000000000000,
get_index=-1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 7
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 8
2011/04/04 18:12:30 [debug] 12013#0: *11508 post rewrite phase: 9
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 10
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 11
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 12
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 13
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 14
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 15
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 16
2011/04/04 18:12:30 [debug] 12013#0: *11508 limit_access_handler:
0000000000000000, 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 17
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 18
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 19
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 20
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 21
2011/04/04 18:12:30 [debug] 12013#0: *11508 post access phase: 22
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000DF2CE0:4096
2011/04/04 18:12:30 [debug] 12013#0: *11508 http client request body preread 482
2011/04/04 18:12:30 [debug] 12013#0: *11508 http read client request body
2011/04/04 18:12:30 [debug] 12013#0: *11508 recv: fd:132 835 of 835
2011/04/04 18:12:30 [debug] 12013#0: *11508 http client request body recv 835
2011/04/04 18:12:30 [debug] 12013#0: *11508 http client request body rest 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 add cleanup: 0000000000DF2610
2011/04/04 18:12:30 [debug] 12013#0: *11508 hashed path:
/tmp/upload/1/0000000001
2011/04/04 18:12:30 [debug] 12013#0: *11508 hashed path:
/tmp/upload/6/0040513256
2011/04/04 18:12:30 [info] 12013#0: *11508 started writing file "file1.txt" to
"/tmp/upload/6/0040513256" (field "file1", content type "text/plain"), client:
63.82.5.67, server: , request: "POST /upload HTTP/1.1", host:
"testserver:3480", referrer: "http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 write: 150, 0000000000DF2CE0, 698, 0
2011/04/04 18:12:30 [info] 12013#0: *11508 finished writing file "file1.txt" to
"/tmp/upload/6/0040513256", client: 63.82.5.67, server: , request: "POST
/upload HTTP/1.1", host: "testserver:3480", referrer:
"http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 internal redirect:
"http://testserver2:2080/upload.php?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 2
2011/04/04 18:12:30 [debug] 12013#0: *11508 test location: "/"
2011/04/04 18:12:30 [debug] 12013#0: *11508 using configuration ""
2011/04/04 18:12:30 [debug] 12013#0: *11508 http cl:65 max:104857600
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 4
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 5
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id no
header found
2011/04/04 18:12:30 [debug] 12013#0: *11508 upload-progress: get_tracking_id no
id found
2011/04/04 18:12:30 [debug] 12013#0: *11508 trackuploads no id found in POST
upload req
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 6
2011/04/04 18:12:30 [debug] 12013#0: *11508 session handler:
store_shm_zone=0000000000000000, store_index=-1, get_shm_zone=0000000000000000,
get_index=-1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 7
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 8
2011/04/04 18:12:30 [debug] 12013#0: *11508 post rewrite phase: 9
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 10
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 11
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 12
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 13
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 14
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 15
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 16
2011/04/04 18:12:30 [debug] 12013#0: *11508 limit_access_handler:
0000000000000000, 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 17
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 18
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 19
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 20
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 21
2011/04/04 18:12:30 [debug] 12013#0: *11508 post access phase: 22
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 23
2011/04/04 18:12:30 [debug] 12013#0: *11508 mogilefs put handler
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 24
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: 405,
"http://testserver2:2080/upload.php?" a:1, c:2
2011/04/04 18:12:30 [debug] 12013#0: *11508 http special response: 405,
"http://testserver2:2080/upload.php?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http script var: "/upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 internal redirect: "/upload?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 2
2011/04/04 18:12:30 [debug] 12013#0: *11508 test location: "/"
2011/04/04 18:12:30 [debug] 12013#0: *11508 test location: "upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 using configuration "/upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http cl:65 max:104857600
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 4
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 5
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 6
2011/04/04 18:12:30 [debug] 12013#0: *11508 session handler:
store_shm_zone=0000000000000000, store_index=-1, get_shm_zone=0000000000000000,
get_index=-1
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 7
2011/04/04 18:12:30 [debug] 12013#0: *11508 rewrite phase: 8
2011/04/04 18:12:30 [debug] 12013#0: *11508 post rewrite phase: 9
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 10
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 11
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 12
2011/04/04 18:12:30 [debug] 12013#0: *11508 generic phase: 13
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 14
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 15
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 16
2011/04/04 18:12:30 [debug] 12013#0: *11508 limit_access_handler:
0000000000000000, 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 17
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 18
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 19
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 20
2011/04/04 18:12:30 [debug] 12013#0: *11508 access phase: 21
2011/04/04 18:12:30 [debug] 12013#0: *11508 post access phase: 22
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: -5,
"/upload?" a:1, c:3
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 23
2011/04/04 18:12:30 [debug] 12013#0: *11508 mogilefs put handler
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 24
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 25
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 26
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 27
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 28
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 29
2011/04/04 18:12:30 [debug] 12013#0: *11508 content phase: 30
2011/04/04 18:12:30 [debug] 12013#0: *11508 http filename:
"/usr/local/nginx/html/upload"
2011/04/04 18:12:30 [debug] 12013#0: *11508 add cleanup: 0000000000DF2798
2011/04/04 18:12:30 [error] 12013#0: *11508 open()
"/usr/local/nginx/html/upload" failed (2: No such file or directory), client:
63.82.5.67, server: , request: "POST /upload HTTP/1.1", host:
"testserver:3480", referrer: "http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: 404,
"/upload?" a:1, c:3
2011/04/04 18:12:30 [debug] 12013#0: *11508 http special response: 404,
"/upload?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http set discard body
2011/04/04 18:12:30 [info] 12013#0: *11508 xss skipped: get_enabled disabled or
the current method is not GET, client: 63.82.5.67, server: , request: "POST
/upload HTTP/1.1", host: "testserver:3480", referrer:
"http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 uploadprogress error-tracker error:
404
2011/04/04 18:12:30 [debug] 12013#0: *11508 uploadprogress error-tracker not
tracking in this location
2011/04/04 18:12:30 [debug] 12013#0: *11508 xslt filter header
2011/04/04 18:12:30 [debug] 12013#0: *11508 charset: "" > "utf-8"
2011/04/04 18:12:30 [debug] 12013#0: *11508 HTTP/1.1 404 Not Found
Server:
Date: Tue, 05 Apr 2011 01:12:30 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding: gzip
2011/04/04 18:12:30 [debug] 12013#0: *11508 write new buf t:1 f:0
0000000000DF2930, pos 0000000000DF2930, size: 189 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 http write filter: l:0 f:0 s:189
2011/04/04 18:12:30 [debug] 12013#0: *11508 http output filter "/upload?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http copy filter: "/upload?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 image filter
2011/04/04 18:12:30 [debug] 12013#0: *11508 xslt filter body
2011/04/04 18:12:30 [debug] 12013#0: *11508 http postpone filter "/upload?"
0000000000DF2B08
2011/04/04 18:12:30 [debug] 12013#0: *11508 http gzip filter
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000B9E370:12288
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip alloc: n:1 s:5928 a:8192
p:0000000000B9E370
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip alloc: n:512 s:2 a:1024
p:0000000000BA0370
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip alloc: n:512 s:2 a:1024
p:0000000000BA0770
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip alloc: n:512 s:2 a:1024
p:0000000000BA0B70
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip alloc: n:256 s:4 a:1024
p:0000000000BA0F70
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in: 0000000000DF2B38
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in_buf:0000000000DF2A00
ni:0000000000766DA0 ai:116
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000DF3CF0:4096
2011/04/04 18:12:30 [debug] 12013#0: *11508 deflate in: ni:0000000000766DA0
no:0000000000DF3CF0 ai:116 ao:4096 fl:0 redo:0
2011/04/04 18:12:30 [debug] 12013#0: *11508 deflate out: ni:0000000000766E14
no:0000000000DF3CF0 ai:0 ao:4096 rc:0
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in_buf:0000000000DF2A00
pos:0000000000766DA0
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in: 0000000000DF2B48
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in_buf:0000000000DF2A50
ni:00000000007667C0 ai:18
2011/04/04 18:12:30 [debug] 12013#0: *11508 deflate in: ni:00000000007667C0
no:0000000000DF3CF0 ai:18 ao:4096 fl:4 redo:0
2011/04/04 18:12:30 [debug] 12013#0: *11508 deflate out: ni:00000000007667D2
no:0000000000DF3D50 ai:0 ao:4000 rc:1
2011/04/04 18:12:30 [debug] 12013#0: *11508 gzip in_buf:0000000000DF2A50
pos:00000000007667C0
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000B9E370
2011/04/04 18:12:30 [debug] 12013#0: *11508 http chunk: 10
2011/04/04 18:12:30 [debug] 12013#0: *11508 http chunk: 104
2011/04/04 18:12:30 [debug] 12013#0: *11508 posix_memalign:
000000000090AC70:4096 @16
2011/04/04 18:12:30 [debug] 12013#0: *11508 write old buf t:1 f:0
0000000000DF2930, pos 0000000000DF2930, size: 189 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 write new buf t:1 f:0
0000000000000000, pos 0000000000DF2C98, size: 4 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 write new buf t:0 f:0
0000000000000000, pos 000000000076AB68, size: 10 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 write new buf t:1 f:0
0000000000DF3CF0, pos 0000000000DF3CF0, size: 104 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 write new buf t:0 f:0
0000000000000000, pos 000000000052A428, size: 7 file: 0, size: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 http write filter: l:1 f:1 s:314
2011/04/04 18:12:30 [debug] 12013#0: *11508 http write filter limit 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 writev: 314
2011/04/04 18:12:30 [debug] 12013#0: *11508 http write filter 0000000000000000
2011/04/04 18:12:30 [debug] 12013#0: *11508 http copy filter: 0 "/upload?"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: 0,
"/upload?" a:1, c:3
2011/04/04 18:12:30 [debug] 12013#0: *11508 http request count:3 blk:0
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: -4,
"/upload?" a:1, c:2
2011/04/04 18:12:30 [debug] 12013#0: *11508 http request count:2 blk:0
2011/04/04 18:12:30 [debug] 12013#0: *11508 http finalize request: -4,
"/upload?" a:1, c:1
2011/04/04 18:12:30 [debug] 12013#0: *11508 set http keepalive handler
2011/04/04 18:12:30 [debug] 12013#0: *11508 http close request
2011/04/04 18:12:30 [debug] 12013#0: *11508 http log handler
2011/04/04 18:12:30 [warn] 12013#0: *11508 using uninitialized "geoip_source"
variable while logging request, client: 63.82.5.67, server: , request: "POST
/upload HTTP/1.1", host: "testserver:3480", referrer:
"http://testserver:3480/uploadform"
2011/04/04 18:12:30 [debug] 12013#0: *11508 http full request log handler
2011/04/04 18:12:30 [debug] 12013#0: *11508 run cleanup: 0000000000DF2610
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000DF3CF0
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000000000
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000DF2CE0
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000D4AA40, unused: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000DF1CD0, unused: 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 000000000090AC70, unused: 3796
2011/04/04 18:12:30 [debug] 12013#0: *11508 event timer add: 132:
65000:1301966015105
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000DB1110
2011/04/04 18:12:30 [debug] 12013#0: *11508 free: 0000000000DB16D0
2011/04/04 18:12:30 [debug] 12013#0: *11508 hc free: 0000000000000000 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 hc busy: 0000000000000000 0
2011/04/04 18:12:30 [debug] 12013#0: *11508 tcp_nodelay
2011/04/04 18:12:30 [debug] 12013#0: *11508 post event 00007F4F9400C778
2011/04/04 18:12:30 [debug] 12013#0: *11508 delete posted event 00007F4F9400C778
2011/04/04 18:12:30 [debug] 12013#0: *11508 http keepalive handler
2011/04/04 18:12:30 [debug] 12013#0: *11508 malloc: 0000000000DB1110:1024
2011/04/04 18:12:30 [debug] 12013#0: *11508 recv: fd:132 -1 of 1024
2011/04/04 18:12:30 [debug] 12013#0: *11508 recv() not ready (11: Resource
temporarily unavailable)
2011/04/04 18:13:35 [debug] 12013#0: *11508 event timer del: 132: 1301966015105
2011/04/04 18:13:35 [debug] 12013#0: *11508 http keepalive handler
2011/04/04 18:13:35 [debug] 12013#0: *11508 close http connection: 132
2011/04/04 18:13:35 [debug] 12013#0: *11508 free: 0000000000DB1110
2011/04/04 18:13:35 [debug] 12013#0: *11508 free: 0000000000000000
2011/04/04 18:13:35 [debug] 12013#0: *11508 free: 0000000000C323F0, unused: 0
2011/04/04 18:13:35 [debug] 12013#0: *11508 free: 00000000009180E0, unused: 112
server {
listen 3480;
access_log logs/other/test.log squinx;
error_log logs/other/err.log;
client_max_body_size 100m;
location / {
default_type text/plain;
echo "OK";
}
location /upload {
upload_pass http://testserver2:2080/upload.php;
upload_store /tmp/upload 1;
}
location /uploadform {
default_type text/html;
echo '<html><head><title>Test upload</title></head><body><h2>Select
files to upload</h2><form name="upload" method="POST"
enctype="multipart/form-data" action="/upload"><input type="file"
name="file1"><br><input type="file" name="file2"><br><input type="submit"
name="submit" value="Upload"><input type="hidden" name="test"
value="value"></form></body></html>';
}
}
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|