Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux-2.6.x bug test case
Source: epoll1.tar.gz
System: Linux 285 2.6.10-1.771_FC2.root #1 SMP Sun Aug 7 09:01:29 EDT 2005
i686 athlon i386 GNU/Linux
[root@285 epoll_test]# ./server
accept
close, sleep 60s
[root@285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000005, 4
read: 8
read: 0
eof read
[root@285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 0, 00000000, 0
epoll_wait timed out
[root@285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000019, 4
read failed: (104)Connection reset by peer
second try:
[root@285 epoll_test]# ./server
accept
close, sleep 60s
[root@285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 1, 00000005, 4
read: 8
read: 0
eof read
[root@285 epoll_test]# ./epoll
epoll_wait: 1, 00000004, 4
epoll_wait: 0, 00000000, 0
epoll_wait timed out
С Уважением,
Дмитрий.
--
Информационный портал о вэб-сервере nginx - http://www.nginx.info
Удаленное администрирование серверов -
http://remote-admin-service.encrypted-life.net
|