From b6441edf2d41d943ff1e8b859ed1a6b5e7ff4574 Mon Sep 17 00:00:00 2001 From: botanic Date: Sun, 26 Jan 2014 02:57:59 -0800 Subject: [PATCH] Fix for Issue #94 --- code/nel/src/gui/libwww.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/code/nel/src/gui/libwww.cpp b/code/nel/src/gui/libwww.cpp index 1926d6514..1e5f7a226 100644 --- a/code/nel/src/gui/libwww.cpp +++ b/code/nel/src/gui/libwww.cpp @@ -699,10 +699,15 @@ namespace NLGUI HTML_DTD->tags[HTML_DIV].number_of_attributes = sizeof(div_attr) / sizeof(HTAttr) - 1; // Set a request timeout - // HTHost_setEventTimeout (30000); - // HTHost_setActiveTimeout (30000); - // HTHost_setPersistTimeout (30000); + // HTHost_setEventTimeout (30000); + // HTHost_setActiveTimeout (30000); + // HTHost_setPersistTimeout (30000); + // libwww default value is 2000ms for POST/PUT requests on the first and 3000 on the second, smallest allowed value is 21ms + // too small values may create timeout problems but we want it low as possible + // second value is the timeout for the second try to we set that high + HTTP_setBodyWriteDelay(250, 3000); + // Initialized initialized = true; }