17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "[ERROR] (/home/Tanswer/Code/NP/h"..., 106) = 106
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56700), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56700), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059888, u64=35059888}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059888, u64=35059888}}}, 1024, 486) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... mmap resumed> )              = 0x7f14490ca000
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 mprotect(0x7f14490ca000, 4096, PROT_NONE <unfinished ...>
17264 <... write resumed> )             = 65
17262 <... mprotect resumed> )          = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 clone( <unfinished ...>
17264 <... write resumed> )             = 72
17264 read(5,  <unfinished ...>
17513 set_robust_list(0x7f14498ca9e0, 24 <unfinished ...>
17262 <... clone resumed> child_stack=0x7f14498c9fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f14498ca9d0, tls=0x7f14498ca700, child_tidptr=0x7f14498ca9d0) = 17513
17264 <... read resumed> "", 8123)      = 0
17513 <... set_robust_list resumed> )   = 0
17262 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 <unfinished ...>
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 106 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... mmap resumed> )              = 0x7f14488c9000
17264 <... write resumed> )             = 106
17264 close(5 <unfinished ...>
17262 mprotect(0x7f14488c9000, 4096, PROT_NONE) = 0
17262 clone( <unfinished ...>
17264 <... close resumed> )             = 0
17514 set_robust_list(0x7f14490c99e0, 24 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... clone resumed> child_stack=0x7f14490c8fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f14490c99d0, tls=0x7f14490c9700, child_tidptr=0x7f14490c99d0) = 17514
17514 <... set_robust_list resumed> )   = 0
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 4, NULL <unfinished ...>
17262 <... futex resumed> )             = 1
17513 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 1
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 5, NULL <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 72
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 6, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56702), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56702), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059888, u64=35059888}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059888, u64=35059888}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... mmap resumed> )              = 0x7f14408c9000
17262 <... write resumed> )             = 76
17263 munmap(0x7f14408c9000, 57896960 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... munmap resumed> )            = 0
17262 <... futex resumed> )             = 0
17263 munmap(0x7f1448000000, 9211904 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17263 <... munmap resumed> )            = 0
17263 mprotect(0x7f1444000000, 135168, PROT_READ|PROT_WRITE) = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17263 stat("./html/index.html", 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f905, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059888, u64=35059888}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 8, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56704), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56704), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4,  <unfinished ...>
17514 <... futex resumed> )             = 0
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f143c000000
17514 munmap(0x7f1440000000, 67108864)  = 0
17514 mprotect(0x7f143c000000, 135168, PROT_READ|PROT_WRITE) = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 10, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56706), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56706), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 mmap(0x7f1440000000, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... mmap resumed> )              = 0x7f1440000000
17262 <... write resumed> )             = 76
17513 mprotect(0x7f1440000000, 135168, PROT_READ|PROT_WRITE <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... mprotect resumed> )          = 0
17262 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17513 stat("./html/index.html", 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 12, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56708), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56708), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... mmap resumed> )              = 0x7f1434000000
17262 <... write resumed> )             = 76
17264 munmap(0x7f1438000000, 67108864 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... munmap resumed> )            = 0
17262 epoll_wait(4,  <unfinished ...>
17264 mprotect(0x7f1434000000, 135168, PROT_READ|PROT_WRITE) = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 14, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56710), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56710), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 16, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56712), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56712), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 18, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56714), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56714), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 20, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56716), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56716), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 22, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56718), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56718), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 24, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56720), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56720), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 26, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56722), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56722), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 28, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56724), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56724), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 76
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 30, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56726), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56726), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 32, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56728), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56728), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 34, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56730), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56730), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 36, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56732), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56732), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 38, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56734), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56734), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17263 stat("./html/index.html", 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 40, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56736), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56736), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 42, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56738), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56738), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 44, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 498) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56740), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56740), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1) = 0
17264 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 46, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56742), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56742), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 48, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 498) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56744), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56744), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17514 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 50, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56746), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56746), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 52, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 498) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56748), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56748), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17264 <... write resumed> )             = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 54, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56750), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56750), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 56, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56752), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56752), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 58, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56754), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56754), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 60, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56756), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56756), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 62, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56758), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56758), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 64, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56760), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56760), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 66, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56762), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56762), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 65
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 68, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56764), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56764), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 70, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56766), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56766), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 65
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 72, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56768), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56768), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 74, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56770), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56770), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 76, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56772), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56772), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 78, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56774), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56774), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 80, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56776), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56776), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 76
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 82, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56778), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56778), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17513 stat("./html/index.html", 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 84, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56780), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56780), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 86, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56782), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56782), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 88, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56784), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56784), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 90, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 0)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56786), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56786), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 92, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56788), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56788), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 94, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56790), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56790), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17263 stat("./html/index.html", 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 96, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56792), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56792), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17514 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 98, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56794), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56794), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17513 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17513 stat("./html/index.html", 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 100, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56796), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56796), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 102, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56798), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56798), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 104, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 0)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56800), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56800), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17514 <... futex resumed> )             = 0
17262 epoll_wait(4,  <unfinished ...>
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1) = 0
17514 read(5, "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17514 stat("./html/index.html", 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 106, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56802), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56802), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17513 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 108, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56804), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56804), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17264 <... write resumed> )             = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 110, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56806), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56806), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 112, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56808), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56808), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17514 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 114, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56810), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56810), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17513 <... write resumed> )             = 81
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 76
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17513 stat("./html/index.html", 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 116, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56812), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56812), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 futex(0x216f2e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17264 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 67
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 62
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 87
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 119
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 83
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... stat resumed> 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 118, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56814), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56814), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 67
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 62
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 81
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 87
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 119
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 83
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... stat resumed> 0x7f144a8cbc10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17263 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17263 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17263 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17263 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17263 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 120, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56816), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56816), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17514 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17514 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 65
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17514 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17514 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17514 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 67
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 62
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 81
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 72
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 87
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 119
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17514 <... write resumed> )             = 83
17514 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17514 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17514 <... stat resumed> 0x7f14490c8c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17514 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4,  <unfinished ...>
17514 <... write resumed> )             = 108
17514 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17514 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17514 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17514 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17514 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 122, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 499) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 epoll_wait(4, {}, 1024, 1)        = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56818), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56818), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17513 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17513 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 65
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17513 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 107
17513 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17513 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 67
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 62
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 81
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 72
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 87
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 119
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17513 <... write resumed> )             = 83
17513 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17513 stat("./html/index.html",  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17513 <... stat resumed> 0x7f14498c9c10) = -1 ENOENT (No such file or directory)
17262 <... write resumed> )             = 76
17513 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17513 <... write resumed> )             = 108
17262 epoll_wait(4,  <unfinished ...>
17513 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17513 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17513 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17513 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17513 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 124, NULL <unfinished ...>
17262 <... epoll_wait resumed> {}, 1024, 500) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 close(5)                          = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4, {{EPOLLIN, {u32=35050064, u64=35050064}}}, 1024, -1) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 accept(3, {sa_family=AF_INET, sin_port=htons(56820), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
17262 getpeername(5, {sa_family=AF_INET, sin_port=htons(56820), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 74) = 74
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 fcntl(5, F_GETFL)                 = 0x2 (flags O_RDWR)
17262 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 74) = 74
17262 epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17262 accept(3, 0x7ffd0b9cf520, [16])   = -1 EAGAIN (Resource temporarily unavailable)
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65) = 65
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107) = 107
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 epoll_wait(4, {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 500) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17264 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 <... write resumed> )             = 65
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17264 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 <... write resumed> )             = 107
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 65
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17264 <... write resumed> )             = 72
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17264 read(5,  <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17264 <... read resumed> "GET / HTTP/1.0\r\nUser-Agent: WebB"..., 8123) = 61
17262 <... write resumed> )             = 76
17264 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17264 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81 <unfinished ...>
17262 epoll_wait(4,  <unfinished ...>
17264 <... write resumed> )             = 81
17264 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 67) = 67
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 62) = 62
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 81) = 81
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 87) = 87
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 119) = 119
17264 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 83) = 83
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 83) = 83
17264 stat("./html/index.html", 0x7f144a0cac10) = -1 ENOENT (No such file or directory)
17264 write(5, "HTTP/1.1 404 Not Found\r\nServer: "..., 108) = 108
17264 write(5, "<html><title>Xserver Error</titl"..., 166) = 166
17264 read(5, 0x216f8a5, 8063)          = -1 EAGAIN (Resource temporarily unavailable)
17264 epoll_ctl(4, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLONESHOT|EPOLLET, {u32=35059792, u64=35059792}}) = 0
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17264 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 86) = 86
17264 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 126, NULL <unfinished ...>
17262 <... epoll_wait resumed> {{EPOLLIN, {u32=35059792, u64=35059792}}}, 1024, 499) = 1
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 73) = 73
17262 futex(0x216f33c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x216f338, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
17263 <... futex resumed> )             = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17263 futex(0x216f2e0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = -1 EAGAIN (Resource temporarily unavailable)
17262 <... futex resumed> )             = 0
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 65 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 65
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... futex resumed> )             = 1
17263 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 72
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 futex(0x60d380, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 107 <unfinished ...>
17263 <... futex resumed> )             = 0
17262 <... write resumed> )             = 107
17263 read(5,  <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
17263 <... read resumed> "", 8063)      = 0
17262 <... futex resumed> )             = 0
17263 write(2, "[INFO] (/home/Tanswer/Code/NP/ht"..., 106 <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17263 <... write resumed> )             = 106
17263 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 1
17262 <... futex resumed> )             = 0
17263 close(5 <unfinished ...>
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76 <unfinished ...>
17263 <... close resumed> )             = 0
17262 <... write resumed> )             = 76
17263 futex(0x216f33c, FUTEX_WAIT_PRIVATE, 128, NULL <unfinished ...>
17262 futex(0x7f144ac8b9f0, FUTEX_WAKE_PRIVATE, 1) = 0
17262 epoll_wait(4, {}, 1024, 157)      = 0
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 76) = 76
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 85) = 85
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 72) = 72
17262 write(2, "DEBUG /home/Tanswer/Code/NP/http"..., 75) = 75
17262 epoll_wait(4,  <detached ...>
