-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The HTTPS request is being delayed. #232
Comments
I've added two events, OnBeforeExecute and OnAfterExecute, to TRequest.
This means there's approximately a 16-second gap between OnBeforeExecute and OnAfterExecute. |
Strange, I haven't had this problem yet. Try changing the RR4D engine, to Indy for example. See if it solves it... just add the RR4D_INDY compilation directive to the project, do a clean and build. |
Okay, I'll check that. This happens when I use a self-signed certificate. I've seen that you're using TRESTClient. I tested with TRESTClient as well and there was still an issue. The same problem occurred with httpclient too. So, I think the issue might be with Delphi itself. |
@viniciussanchez |
I'm using a 'horse' server and when I test it with Postman, the speed is a few milliseconds.
However, when I use RESTRequest4Delphi, it takes 14 or 15 seconds to send the request.
This happens when I have SSL enabled. When SSL is disabled, the speed of RESTRequest4Delphi is good.
My request is:
The text was updated successfully, but these errors were encountered: