Created
May 3, 2011 12:06
-
-
Save christianparpart/953215 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# x0: accepting client | |
accept4(6, 0, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = 5 | |
# libev: writing to eventfd, getting clock, waiting, getting clock, reading from eventfd | |
write(4, "\1\0\0\0\0\0\0\0", 8) = 8 | |
clock_gettime(CLOCK_MONOTONIC, {7346, 989127305}) = 0 | |
epoll_wait(3, {{EPOLLIN, {u32=4, u64=4294967300}}}, 64, 59743) = 1 | |
clock_gettime(CLOCK_MONOTONIC, {7346, 989185717}) = 0 | |
read(4, "\1\0\0\0\0\0\0\0", 8) = 8 | |
# x0: processing client (just like your `blank;`) | |
read(5, "GET / HTTP/1.1\r\nUser-Agent: curl"..., 8192) = 152 | |
read(5, 0x672768, 8040) = -1 EAGAIN (Resource temporarily unavailable) | |
setsockopt(5, SOL_TCP, TCP_CORK, [1], 4) = 0 | |
write(5, "HTTP/1.1 200 Ok\r\nDate: Tue, 03 M"..., 177) = 177 | |
close(5) = 0 | |
# libev: next iteration | |
clock_gettime(CLOCK_MONOTONIC, {7346, 989510831}) = 0 | |
epoll_wait(3, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment