Various fixes for epoll handling without libevent.

This should take care of most compile issues as well as busy loops caused by unhandled recv() calls returning 0 and general cleanups.
이 커밋은 다음에 포함됨:
Jan Vidar Krey
2010-01-19 17:52:58 +01:00
부모 af8421fa47
커밋 f84073f7cc
22개의 변경된 파일315개의 추가작업 그리고 400개의 파일을 삭제
+1 -2
파일 보기
@@ -1,6 +1,6 @@
/*
* uhub - A tiny ADC p2p connection hub
* Copyright (C) 2007-2009, Jan Vidar Krey
* Copyright (C) 2007-2010, Jan Vidar Krey
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -41,7 +41,6 @@
#define TIMEOUT_CONNECTED 15
#define TIMEOUT_HANDSHAKE 30
#define TIMEOUT_SENDQ 120
#define TIMEOUT_IDLE 7200
#define TIMEOUT_STATS 60
#define MAX_CID_LEN 39