ソースを参照

Revert "Support TCP_NOPUSH as alternative to TCP_CORK"

This reverts commit d6e39658ae. Apparently
this is broken on macOS so it's not something we can make use of.
tags/v1.11.90
Pierre Ossman 3年前
コミット
736a4dc15c
1個のファイルの変更0行の追加4行の削除
  1. 0
    4
      common/rdr/FdOutStream.cxx

+ 0
- 4
common/rdr/FdOutStream.cxx ファイルの表示

@@ -74,10 +74,6 @@ void FdOutStream::cork(bool enable)
int one = enable ? 1 : 0;
setsockopt(fd, IPPROTO_TCP, TCP_CORK, (char *)&one, sizeof(one));
#endif
#ifdef TCP_NOPUSH
int one = enable ? 1 : 0;
setsockopt(fd, IPPROTO_TCP, TCP_NOPUSH, (char *)&one, sizeof(one));
#endif
}

bool FdOutStream::flushBuffer()

読み込み中…
キャンセル
保存