このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
Immanuel
/
btpd
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
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行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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) {
書き込み
プレビュー
読み込み中…
キャンセル
保存