이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
Immanuel
/
btpd
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
Remove the events for a peer's socket before closing it. At least the epoll
libevent backend didn't like the fd to be closed. Reported by Ludvig Omholt.
master
Richard Nyberg
18 년 전
부모
45ceb46c42
커밋
7ce1098dff
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
btpd/peer.c
+ 1
- 1
btpd/peer.c
파일 보기
@@ -30,9 +30,9 @@ peer_kill(struct peer *p)
if (p->flags & PF_ON_WRITEQ)
BTPDQ_REMOVE(&net_bw_writeq, p, wq_entry);
close(p->sd);
btpd_ev_del(&p->in_ev);
btpd_ev_del(&p->out_ev);
close(p->sd);
nl = BTPDQ_FIRST(&p->outq);
while (nl != NULL) {
쓰기
미리보기
불러오는 중...
취소
저장