Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions.

This commit is contained in:
Joe Drew 2011-03-24 20:30:06 -04:00
Родитель 80ab662e2e
Коммит 1693a03da5
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -1131,13 +1131,6 @@ nsSocketTransport::InitiateSocket()
status = PR_SetSocketOption(fd, &opt);
NS_ASSERTION(status == PR_SUCCESS, "unable to make socket non-blocking");
// disable the nagle algorithm - if we rely on it to coalesce writes into
// full packets the final packet of a multi segment POST/PUT or pipeline
// sequence is delayed a full rtt
opt.option = PR_SockOpt_NoDelay;
opt.value.no_delay = PR_TRUE;
PR_SetSocketOption(fd, &opt);
// if the network.tcp.sendbuffer preference is set, use it to size SO_SNDBUF
// The Windows default of 8KB is too small and as of vista sp1, autotuning
// only applies to receive window