You are not logged in.
Pages: 1
constructor THttpClientSocket.Create(aTimeOut: cardinal);
begin
if aTimeOut = 0 then
inherited Create(aTimeOut) else
inherited Create(HTTP_DEFAULT_RECEIVETIMEOUT);
UserAgent := DefaultUserAgent(self);
end;
perhaps should be
constructor THttpClientSocket.Create(aTimeOut: cardinal);
begin
if aTimeOut = 0 then
inherited Create(HTTP_DEFAULT_RECEIVETIMEOUT) else
inherited Create(aTimeOut);
/*
//or
if aTimeOut = 0 then aTimeOut := HTTP_DEFAULT_RECEIVETIMEOUT;
inherited Create(aTimeOut);
*/
UserAgent := DefaultUserAgent(self);
end;
Offline
Indeed.
See http://synopse.info/fossil/info/87bf0e8ccf
Pavel was a bit quick at pushing the latest patch.
Offline
Offline
Another fix. Let's OpenHttp use HTTP_DEFAULT_RECEIVETIMEOUT. See http://synopse.info/fossil/info/ad52326 … c4dea6adb4
I'm check my commit twice
Offline
Pages: 1