You are not logged in.
Pages: 1
Windows 8.1 / Windows 7
Code
THttpApiServer(FHTTPServer.HttpServer).SetTimeOutLimits(
2*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin, 20*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin);
raises exception
EHttpApiServer ("HttpSetUrlGroupProperty failed: The data area passed to a system call is too small (122)") at 0070299B stack trace API 005B3E10 005B3E38 00407E44 776FB5DF 776B0133 0070299B 0070532F 00807412 008078DE 00807B0B 00808022 004971E1 0049B5E8 004B7129 0049B738 0049B5E8 0054523E 0049AC3B 0045A92A 76C262FA 76C26D3A 76C2965E 76C296C5 73EC45A1 73EC4603 73EC448D 76C262FA 76C26D3A 76C30D27 76C30D4D
Offline
Yes, of course!
if FHTTPServer.HttpServer is THttpApiServer then
begin
if THttpApiServer(FHTTPServer.HttpServer).HasAPI2 then
THttpApiServer(FHTTPServer.HttpServer).SetTimeOutLimits(
2*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin, 2*SecsPerMin);
end
else if FHTTPServer.HttpServer is THttpServer then
begin
THttpServer(FHTTPServer.HttpServer).ServerKeepAliveTimeOut := 20 * MSecsPerSec * SecsPerMin;
end;
Offline
No.
Target: Win32.
Offline
I am sorry to bother you again.
But how can i fix the problem?
Offline
I may have found something.
One API structure did not match https://msdn.microsoft.com/en-us/librar … p/aa364661 definition.
Could you try http://synopse.info/fossil/info/6f48111 … 54ee3ddeb4 ?
Offline
It works now!
Thanks!
Offline
Pages: 1