이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
Immanuel
/
btpd
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
Kill a peer when write indicates a closed connection.
master
Richard Nyberg
19 년 전
부모
1aee379342
커밋
40ffcd13c2
1개의 변경된 파일
과
4개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
btpd/net.c
+ 4
- 0
btpd/net.c
파일 보기
@@ -231,6 +231,10 @@ net_write(struct peer *p, unsigned long wmax)
peer_kill(p);
return 0;
}
} else if (nwritten == 0) {
btpd_log(BTPD_L_CONN, "connection close by peer.\n");
peer_kill(p);
return 0;
}
bcount = nwritten;
쓰기
미리보기
불러오는 중...
취소
저장