KBazX
Members-
Content Count
10 -
Joined
-
Last visited
Community Reputation
0 Neutral-
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I'm doing this in the OnStateChange-event for now. I'm tracking states httpDnsLookupDone and httpBodyReceived. -
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I just need the total time it takes to get a response from the web service. That is, taking into account network delays, web server delays, etc. -
TSslHttpRest - How can I get web server response time?
KBazX replied to KBazX's topic in ICS - Internet Component Suite
I'm sorry, I phrased the question incorrectly. I meant the duration of the request execution by the server. -
TSslHttpRest - How can I get web server response time?
KBazX posted a topic in ICS - Internet Component Suite
Subj -
No. But there may be a bug.
-
ICS V9.3 I execute a test http-request with the MaxBodySize property with a value that is obviously less than the response size. I noticed the following errors: - Events OnRestRequestDone and OnRequestDone are executed twice. - In repeating events, the property ReasonPhrase has a repeating status code. ................ ................ ................ HttpRest - DocEnd HttpRest - RestRequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 Aborting connection, Body Size too Large: 369" HttpRest - RequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 Aborting connection, Body Size too Large: 369" HttpRest - RestRequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 404 Aborting connection, Body Size too Large: 369" HttpRest - RequestDone RqType: GET ErrCode: 3 Error: RequestDoneErrorStr: Aborted StatusCode: 404 ReasonPhrase: "404 404 Aborting connection, Body Size too Large: 369"
-
But if the OpenSSL libraries are located next to the file, then the loading of OpenSSL is successful automatically.
-
If I dynamically create the TSslHttpCli component for only one request, then I don't control the OpenSSL loading process.
-
But it may depend on the URL.
-
OverbyteIcsLIBEAY.pas Version: 8.70 Function IcsX509VerifyErrorToStr function string: Result := String(AnsiString(X509_verify_cert_error_string(ErrCode))); If OpenSSL is not loaded, then IcsX509VerifyErrorToStr fails with an exception: ClassName: EAccessViolation. Message: Access violation at address 00000000. Read of address 00000000