Skip to content

Instantly share code, notes, and snippets.

@p0pr0ck5
Created May 19, 2017 21:18
Show Gist options
  • Save p0pr0ck5/d529ed23286e27e94575bfe746c82218 to your computer and use it in GitHub Desktop.
Save p0pr0ck5/d529ed23286e27e94575bfe746c82218 to your computer and use it in GitHub Desktop.
2017/05/19 21:13:40 [debug] 4517#0: malloc: 00007F91968EFBD0:6144
2017/05/19 21:13:40 [debug] 4517#0: malloc: 00007F919692AFB0:237568
2017/05/19 21:13:40 [debug] 4517#0: malloc: 00007F9196964FC0:98304
2017/05/19 21:13:40 [debug] 4517#0: malloc: 00007F919697CFD0:98304
2017/05/19 21:13:40 [debug] 4517#0: epoll add event: fd:8 op:1 ev:00002001
2017/05/19 21:13:40 [debug] 4517#0: epoll add event: fd:9 op:1 ev:00002001
2017/05/19 21:13:40 [debug] 4517#0: epoll add event: fd:10 op:1 ev:00002001
2017/05/19 21:13:40 [debug] 4517#0: setproctitle: "nginx: worker process"
2017/05/19 21:13:40 [debug] 4517#0: worker cycle
2017/05/19 21:13:40 [debug] 4517#0: epoll timer: -1
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:8 ev:0001 d:00007F919692B098
2017/05/19 21:13:45 [debug] 4517#0: accept on 0.0.0.0:81, ready: 0
2017/05/19 21:13:45 [debug] 4517#0: posix_memalign: 00007F91968F13E0:512 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 accept: 127.0.0.1:35309 fd:3
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 3: 60000:1495228485172
2017/05/19 21:13:45 [debug] 4517#0: *1 reusable connection: 1
2017/05/19 21:13:45 [debug] 4517#0: *1 epoll add event: fd:3 op:1 ev:80002001
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 4306
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 60000
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:3 ev:0001 d:00007F919692B350
2017/05/19 21:13:45 [debug] 4517#0: *1 http wait request handler
2017/05/19 21:13:45 [debug] 4517#0: *1 malloc: 00007F91968F15F0:1024
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: eof:0, avail:1
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: fd:3 76 of 1024
2017/05/19 21:13:45 [debug] 4517#0: *1 reusable connection: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 posix_memalign: 00007F91968F1A00:4096 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 http process request line
2017/05/19 21:13:45 [debug] 4517#0: *1 http request line: "GET / HTTP/1.1"
2017/05/19 21:13:45 [debug] 4517#0: *1 http uri: "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 http args: ""
2017/05/19 21:13:45 [debug] 4517#0: *1 http exten: ""
2017/05/19 21:13:45 [debug] 4517#0: *1 http process request header line
2017/05/19 21:13:45 [debug] 4517#0: *1 http header: "User-Agent: curl/7.35.0"
2017/05/19 21:13:45 [debug] 4517#0: *1 http header: "Host: localhost:81"
2017/05/19 21:13:45 [debug] 4517#0: *1 http header: "Accept: */*"
2017/05/19 21:13:45 [debug] 4517#0: *1 http header done
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 3: 1495228485172
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 1
2017/05/19 21:13:45 [debug] 4517#0: *1 test location: "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 using configuration "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 http cl:-1 max:1048576
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 3
2017/05/19 21:13:45 [debug] 4517#0: *1 lua rewrite handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 3
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 4
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 5
2017/05/19 21:13:45 [debug] 4517#0: *1 lua rewrite handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 posix_memalign: 00007F9196916200:4096 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 lua creating new thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reset ctx
2017/05/19 21:13:45 [debug] 4517#0: *1 http cleanup add: 00007F91968F2988
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket pool get keepalive peer
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket keepalive connection pool not found
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket connect timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket network address given directly
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket resolve retval handler
2017/05/19 21:13:45 [debug] 4517#0: *1 stream socket 13
2017/05/19 21:13:45 [debug] 4517#0: *1 epoll add connection: fd:13 ev:80002005
2017/05/19 21:13:45 [debug] 4517#0: *1 connect to 127.0.0.1:82, fd:13 #2
2017/05/19 21:13:45 [debug] 4517#0: *1 http cleanup add: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket connect: -2
2017/05/19 21:13:45 [debug] 4517#0: *1 posix_memalign: 00007F91968E08B0:128 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 500:1495228425672
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:13 ev:0004 d:00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 1
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228425672
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket connected
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket waking up the current request (conn)
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 5
2017/05/19 21:13:45 [debug] 4517#0: *1 lua rewrite handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp operation done, resuming lua thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling prepare retvals handler 00000000004D5450, u:0000000040930C40
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] http.lua:610: send_request():
GET / HTTP/1.1
Host: 127.0.0.1:82
User-Agent: lua-resty-http/0.10 (Lua) ngx_lua/10007
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua allocate new chainlink and new buf of size 91, cl:00007F91968F29F0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua socket tcp_nodelay
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send data
2017/05/19 21:13:45 [debug] 4517#0: *1 send: fd:13 91 of 91
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket sent all the data
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua allocate new chainlink and new buf of size 4096, cl:00007F91969164C8
2017/05/19 21:13:45 [debug] 4517#0: *1 malloc: 00007F9196917210:4096
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 500:1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread returned -2
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:7 ev:0001 d:00007F919692AFB0
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 2
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:14 ev:0001 d:00007F919692B520
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:13 ev:0005 d:00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read handler
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket try to recv data 4096: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: eof:0, avail:1
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: fd:13 189 of 4096
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket recv returned 189: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "HTTP/1.1 200 OK
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:1, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket waking up the current request (read)
2017/05/19 21:13:45 [debug] 4517#0: *1 rewrite phase: 5
2017/05/19 21:13:45 [debug] 4517#0: *1 lua rewrite handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp operation done, resuming lua thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling prepare retvals handler 00000000004D5500, u:0000000040930C40
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Server: openresty/1.11.2.2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: posix_memalign: 00007F9196918220:512 @16
2017/05/19 21:13:45 [debug] 4517#0: pcre JIT compiling result: 0
2017/05/19 21:13:45 [debug] 4517#0: posix_memalign: 00007F9196918430:512 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Date: Fri, 19 May 2017 21:13:45 GMT
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Content-Type: application/octet-stream
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Transfer-Encoding: chunked
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Connection: keep-alive
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "3
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 10
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: yield
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] rewrite_by_lua(nginx.conf:84):20: hi
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 7
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: lua user thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket set keepalive: saving connection 00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket connection pool size: 30
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket keepalive create connection pool for key "127.0.0.1:82"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket clear current socket connection
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket keepalive timeout: 60000 ms
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 60000:1495228485174
2017/05/19 21:13:45 [debug] 4517#0: *1 lua finalize socket
2017/05/19 21:13:45 [debug] 4517#0: *1 lua http cleanup free: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua deleting light thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 post rewrite phase: 6
2017/05/19 21:13:45 [debug] 4517#0: *1 generic phase: 7
2017/05/19 21:13:45 [debug] 4517#0: *1 generic phase: 8
2017/05/19 21:13:45 [debug] 4517#0: *1 access phase: 9
2017/05/19 21:13:45 [debug] 4517#0: *1 access phase: 10
2017/05/19 21:13:45 [debug] 4517#0: *1 access phase: 11
2017/05/19 21:13:45 [debug] 4517#0: *1 lua access handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua creating new thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reset ctx
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket pool get keepalive peer
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket get keepalive peer: using connection 00007F919692B438, fd:13
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228485174
2017/05/19 21:13:45 [debug] 4517#0: *1 lua http cleanup reuse: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] http.lua:610: send_request():
GET / HTTP/1.1
Host: 127.0.0.1:82
User-Agent: lua-resty-http/0.10 (Lua) ngx_lua/10007
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reuse free buf memory 91 >= 91, cl:00007F91968F29F0, p:00007F9196916468
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send data
2017/05/19 21:13:45 [debug] 4517#0: *1 send: fd:13 91 of 91
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket sent all the data
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reuse free buf memory 4096 >= 4096, cl:00007F91969164C8, p:00007F9196917210
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 500:1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket dummy handler
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:14 ev:0001 d:00007F919692B520
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:13 ev:0005 d:00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read handler
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket try to recv data 4096: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: eof:0, avail:1
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: fd:13 189 of 4096
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket recv returned 189: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "HTTP/1.1 200 OK
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:1, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket waking up the current request (read)
2017/05/19 21:13:45 [debug] 4517#0: *1 access phase: 11
2017/05/19 21:13:45 [debug] 4517#0: *1 lua access handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp operation done, resuming lua thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling prepare retvals handler 00000000004D5500, u:00000000420055A8
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Server: openresty/1.11.2.2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Date: Fri, 19 May 2017 21:13:45 GMT
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Content-Type: application/octet-stream
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Transfer-Encoding: chunked
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Connection: keep-alive
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "3
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 10
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: yield
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] rewrite_by_lua(nginx.conf:84):20: hi
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 7
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: lua user thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket set keepalive: saving connection 00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket clear current socket connection
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket keepalive timeout: 60000 ms
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 60000:1495228485174
2017/05/19 21:13:45 [debug] 4517#0: *1 lua finalize socket
2017/05/19 21:13:45 [debug] 4517#0: *1 lua http cleanup free: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua deleting light thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 post access phase: 12
2017/05/19 21:13:45 [debug] 4517#0: *1 lua content handler, uri:"/" c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reset ctx
2017/05/19 21:13:45 [debug] 4517#0: *1 lua creating new thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket pool get keepalive peer
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket get keepalive peer: using connection 00007F919692B438, fd:13
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228485174
2017/05/19 21:13:45 [debug] 4517#0: *1 lua http cleanup reuse: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] http.lua:610: send_request():
GET / HTTP/1.1
Host: 127.0.0.1:82
User-Agent: lua-resty-http/0.10 (Lua) ngx_lua/10007
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reuse free buf memory 91 >= 91, cl:00007F91968F29F0, p:00007F9196916468
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket send data
2017/05/19 21:13:45 [debug] 4517#0: *1 send: fd:13 91 of 91
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket sent all the data
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reuse free buf memory 4096 >= 4096, cl:00007F91969164C8, p:00007F9196917210
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 500:1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 http finalize request: -4, "/?" a:1, c:2
2017/05/19 21:13:45 [debug] 4517#0: *1 http request count:2 blk:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket dummy handler
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 500
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:14 ev:0001 d:00007F919692B520
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 1
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 499
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:13 ev:0005 d:00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket handler for "/?", wev 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read handler
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 13: 1495228425674
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket try to recv data 4096: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: eof:0, avail:1
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: fd:13 189 of 4096
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket recv returned 189: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "HTTP/1.1 200 OK
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:1, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket waking up the current request (read)
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp operation done, resuming lua thread
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling prepare retvals handler 00000000004D5500, u:0000000042005F70
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread, top:0 c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Server: openresty/1.11.2.2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Date: Fri, 19 May 2017 21:13:45 GMT
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Content-Type: application/octet-stream
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Transfer-Encoding: chunked
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "Connection: keep-alive
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "3
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 10
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: yield
2017/05/19 21:13:45 [debug] 4517#0: *1 [lua] content_by_lua(nginx.conf:137):20: hi
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 1
2017/05/19 21:13:45 [debug] 4517#0: *1 lua thread yielded
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: resume
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 7
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read line
"017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read the final line part: "0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket calling receive() method
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read timeout: 500
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read data: wait:0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket read chunk 2
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done: wait:0, eof:0, uri:"/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive done in a single run
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket receive return value handler
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua coroutine: lua user thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket set keepalive: saving connection 00007F919692B438
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket clear current socket connection
2017/05/19 21:13:45 [debug] 4517#0: *1 lua tcp socket keepalive timeout: 60000 ms
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 13: 60000:1495228485175
2017/05/19 21:13:45 [debug] 4517#0: *1 lua finalize socket
2017/05/19 21:13:45 [debug] 4517#0: *1 lua http cleanup free: 00007F9196916400
2017/05/19 21:13:45 [debug] 4517#0: *1 lua reuse free buf memory 91 >= 5, cl:00007F91968F29F0, p:00007F9196916468
2017/05/19 21:13:45 [debug] 4517#0: *1 lua say response
2017/05/19 21:13:45 [debug] 4517#0: *1 lua capture header filter, uri "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 HTTP/1.1 200 OK
Server: openresty/1.11.2.2
Date: Fri, 19 May 2017 21:13:45 GMT
Content-Type: application/octet-stream
Transfer-Encoding: chunked
Connection: keep-alive
2017/05/19 21:13:45 [debug] 4517#0: *1 write new buf t:1 f:0 00007F9196917000, pos 00007F9196917000, size: 176 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 http write filter: l:0 f:0 s:176
2017/05/19 21:13:45 [debug] 4517#0: *1 http output filter "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 http copy filter: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua capture body filter, uri "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 http postpone filter "/?" 00007F91968F29F0
2017/05/19 21:13:45 [debug] 4517#0: *1 http chunk: 5
2017/05/19 21:13:45 [debug] 4517#0: *1 posix_memalign: 00007F9196918640:4096 @16
2017/05/19 21:13:45 [debug] 4517#0: *1 write old buf t:1 f:0 00007F9196917000, pos 00007F9196917000, size: 176 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write new buf t:1 f:0 00007F9196917198, pos 00007F9196917198, size: 3 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write new buf t:1 f:0 00007F9196916468, pos 00007F9196916468, size: 5 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write new buf t:0 f:0 0000000000000000, pos 000000000050C34E, size: 2 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 http write filter: l:0 f:0 s:186
2017/05/19 21:13:45 [debug] 4517#0: *1 http copy filter: 0 "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua resume returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 lua light thread ended normally
2017/05/19 21:13:45 [debug] 4517#0: *1 lua deleting light thread
2017/05/19 21:13:45 [debug] 4517#0: *1 http set discard body
2017/05/19 21:13:45 [debug] 4517#0: *1 lua sending last buf of the response body
2017/05/19 21:13:45 [debug] 4517#0: *1 http output filter "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 http copy filter: "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua capture body filter, uri "/"
2017/05/19 21:13:45 [debug] 4517#0: *1 http postpone filter "/?" 00007FFE955AAC80
2017/05/19 21:13:45 [debug] 4517#0: *1 http chunk: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write old buf t:1 f:0 00007F9196917000, pos 00007F9196917000, size: 176 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write old buf t:1 f:0 00007F9196917198, pos 00007F9196917198, size: 3 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write old buf t:1 f:0 00007F9196916468, pos 00007F9196916468, size: 5 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write old buf t:0 f:0 0000000000000000, pos 000000000050C34E, size: 2 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 write new buf t:0 f:0 0000000000000000, pos 000000000050C34B, size: 5 file: 0, size: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 http write filter: l:1 f:0 s:191
2017/05/19 21:13:45 [debug] 4517#0: *1 http write filter limit 0
2017/05/19 21:13:45 [debug] 4517#0: *1 writev: 191 of 191
2017/05/19 21:13:45 [debug] 4517#0: *1 http write filter 0000000000000000
2017/05/19 21:13:45 [debug] 4517#0: *1 http copy filter: 0 "/?"
2017/05/19 21:13:45 [debug] 4517#0: *1 lua run thread returned 0
2017/05/19 21:13:45 [debug] 4517#0: *1 http finalize request: 0, "/?" a:1, c:1
2017/05/19 21:13:45 [debug] 4517#0: *1 set http keepalive handler
2017/05/19 21:13:45 [debug] 4517#0: *1 http close request
2017/05/19 21:13:45 [debug] 4517#0: *1 lua request cleanup: forcible=0
2017/05/19 21:13:45 [debug] 4517#0: *1 http log handler
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F9196917210
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F91968F1A00, unused: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F9196916200, unused: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F9196918640, unused: 3688
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F91968F15F0
2017/05/19 21:13:45 [debug] 4517#0: *1 hc free: 0000000000000000 0
2017/05/19 21:13:45 [debug] 4517#0: *1 hc busy: 0000000000000000 0
2017/05/19 21:13:45 [debug] 4517#0: *1 tcp_nodelay
2017/05/19 21:13:45 [debug] 4517#0: *1 reusable connection: 1
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer add: 3: 65000:1495228490175
2017/05/19 21:13:45 [debug] 4517#0: keepalive dummy handler
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 0
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 60000
2017/05/19 21:13:45 [debug] 4517#0: epoll: fd:3 ev:2001 d:00007F919692B350
2017/05/19 21:13:45 [debug] 4517#0: *1 http keepalive handler
2017/05/19 21:13:45 [debug] 4517#0: *1 malloc: 00007F91968F15F0:1024
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: eof:1, avail:1
2017/05/19 21:13:45 [debug] 4517#0: *1 recv: fd:3 0 of 1024
2017/05/19 21:13:45 [info] 4517#0: *1 client 127.0.0.1 closed keepalive connection
2017/05/19 21:13:45 [debug] 4517#0: *1 close http connection: 3
2017/05/19 21:13:45 [debug] 4517#0: *1 event timer del: 3: 1495228490175
2017/05/19 21:13:45 [debug] 4517#0: *1 reusable connection: 0
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F91968F15F0
2017/05/19 21:13:45 [debug] 4517#0: *1 free: 00007F91968F13E0, unused: 128
2017/05/19 21:13:45 [debug] 4517#0: timer delta: 1
2017/05/19 21:13:45 [debug] 4517#0: worker cycle
2017/05/19 21:13:45 [debug] 4517#0: epoll timer: 59999
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment