Skip to content

Instantly share code, notes, and snippets.

#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/sendfile.h>
int main() {
This file has been truncated, but you can view the full file.
2015/07/10 17:08:35 [debug] 15680#0: epoll add event: fd:6 op:1 ev:00002001
2015/07/10 17:08:51 [debug] 15680#0: accept on 0.0.0.0:80, ready: 0
2015/07/10 17:08:51 [debug] 15680#0: posix_memalign: 0000000001854C80:256 @16
2015/07/10 17:08:51 [debug] 15680#0: *1 accept: 127.0.0.1:56294 fd:3
2015/07/10 17:08:51 [debug] 15680#0: posix_memalign: 0000000001870C30:256 @16
2015/07/10 17:08:51 [debug] 15680#0: *1 event timer add: 3: 60000:1436540991277
2015/07/10 17:08:51 [debug] 15680#0: *1 reusable connection: 1
2015/07/10 17:08:51 [debug] 15680#0: *1 epoll add event: fd:3 op:1 ev:80002001
2015/07/10 17:08:51 [debug] 15680#0: *1 http wait request handler
2015/07/10 17:08:51 [debug] 15680#0: *1 malloc: 0000000001875050:1024
2015/07/10 17:02:09 [debug] 22749#0: epoll add event: fd:6 op:1 ev:00002001
2015/07/10 17:02:22 [debug] 22749#0: accept on 0.0.0.0:8080, ready: 0
2015/07/10 17:02:22 [debug] 22749#0: posix_memalign: 0000000001976F60:256 @16
2015/07/10 17:02:22 [debug] 22749#0: *1 accept: 127.0.0.1:55208 fd:3
2015/07/10 17:02:22 [debug] 22749#0: posix_memalign: 0000000001977070:256 @16
2015/07/10 17:02:22 [debug] 22749#0: *1 event timer add: 3: 60000:1436540602793
2015/07/10 17:02:22 [debug] 22749#0: *1 reusable connection: 1
2015/07/10 17:02:22 [debug] 22749#0: *1 epoll add event: fd:3 op:1 ev:80002001
2015/07/10 17:02:22 [debug] 22749#0: *1 http wait request handler
2015/07/10 17:02:22 [debug] 22749#0: *1 malloc: 0000000001990380:1024