mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fix for Issue #94
This commit is contained in:
parent
7bbfca6f1b
commit
95c63bc0dd
1 changed files with 8 additions and 3 deletions
|
@ -699,10 +699,15 @@ namespace NLGUI
|
||||||
HTML_DTD->tags[HTML_DIV].number_of_attributes = sizeof(div_attr) / sizeof(HTAttr) - 1;
|
HTML_DTD->tags[HTML_DIV].number_of_attributes = sizeof(div_attr) / sizeof(HTAttr) - 1;
|
||||||
|
|
||||||
// Set a request timeout
|
// Set a request timeout
|
||||||
// HTHost_setEventTimeout (30000);
|
// HTHost_setEventTimeout (30000);
|
||||||
// HTHost_setActiveTimeout (30000);
|
// HTHost_setActiveTimeout (30000);
|
||||||
// HTHost_setPersistTimeout (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
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue