Bug 702941 Disable HTTP pipelining Winstone when talking to Servlet Engine r=mcmanus

--HG--
extra : rebase_source : 7f57bee7d9c4f8d5eb6f8484921fd27fe87ff2c3
This commit is contained in:
Luca Tettamanti 2011-11-17 11:41:53 -05:00
Родитель 6f9e60ffd1
Коммит d39140296f
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -315,7 +315,7 @@ nsHttpConnection::SupportsPipelining(nsHttpResponseHead *responseHead)
// known to return their identifier as the first thing in the server string,
// so we can do a leading match.
static const char *bad_servers[26][5] = {
static const char *bad_servers[26][6] = {
{ nsnull }, { nsnull }, { nsnull }, { nsnull }, // a - d
{ "EFAServer/", nsnull }, // e
{ nsnull }, { nsnull }, { nsnull }, { nsnull }, // f - i
@ -325,7 +325,8 @@ nsHttpConnection::SupportsPipelining(nsHttpResponseHead *responseHead)
"Netscape-Enterprise/5.", "Netscape-Enterprise/6.", nsnull }, // n
{ nsnull }, { nsnull }, { nsnull }, { nsnull }, // o - r
{ nsnull }, { nsnull }, { nsnull }, { nsnull }, // s - v
{ "WebLogic 3.", "WebLogic 4.","WebLogic 5.", "WebLogic 6.", nsnull }, // w
{ "WebLogic 3.", "WebLogic 4.","WebLogic 5.", "WebLogic 6.",
"Winstone Servlet Engine v0.", nsnull }, // w
{ nsnull }, { nsnull }, { nsnull } // x - z
};