I use the WebApplication.Sendfile function on AsyncClick to download one csv File but this function sometimes doesn't work.
On OnClick Event don't work, it loads and loads and never does download the file.
Can someone please explain me why it happen? What should I change to get the file normal download?
given the support for jquery grid etc would it be possible to get a demo of how this would work with themes. I'm considering dropping my CGDev dependancy where i can
I have searched everywhere trying to find a solution to this problem.
I am a regular user of Betfair and use their polling API with idHTTP components which has worked fin for years and now I'm getting endless SSL errors, so I want to change to the Betfair Stream API using TCP.
I have a valid Login and the correct API Key which is required for Betfair API Access.
Here is my code:
Code:
procedure TfrmStream.Button1Click(Sender: TObject);
var
SSLHandler: TIdSSLIOHandlerSocketOpenSSL;
headers, response, connectionmessage: string;
begin
if not TCPClient.Connected then
begin
try
Memo1.Lines.Clear;
SSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(TCPClient);
SSLHandler.SSLOptions.Mode := sslmClient;
SSLHandler.SSLOptions.VerifyMode := [];
SSLHandler.SSLOptions.VerifyDepth := 0 ;
SSLHandler.SSLOptions.SSLVersions := [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2];
TCPClient.IOHandler := SSLHandler;
TCPClient.Host := 'stream-api-integration.betfair.com';
TCPClient.Port := 443;
TCPClient.ConnectTimeout := 5000;
TCPClient.Connect;
response := TCPClient.IOHandler.ReadLn;
Memo1.Lines.Add(response);
except
on E: Exception do
Memo1.Lines.Add(' ====== ERROR ======' + sLineBreak +
' > ' + E.Message + sLineBreak);
end;
end
else
begin
TCPClient.Disconnect;
end;
end;
I get no response at all where I should be getting
Hi, I'm new here but came here out of frustration trying to find help with the TIdHTTP errors I'm getting.
I have the latest Delphi 11 and INDY version is 10.6.2.0.
I have been using the TIdHTTP component to communicate with the Betfair.com API and my programs continually poll the website to get the information I want. These programs have been working both locally and on VPS for years.
All of sudden I'm now getting these error messages randomly and fairly frequently:
1) Time out errors
2) Error connecting with SSL
error:1404F10B: SSL Routines SSL3_GET_RECORD : wrong version number
My programs using the TIdHTTP component have been working fine for years and all of a sudden these frequent error are occurring, causing a program crash.
As a General remark, I would like to remind to Atozed that there are also C++ users like me!
All sample codes are for Delphi!
Which requires from our side to adapt for C++ Builder.
For example the new Async Callback functions:
For sure this cannot work for C++ Builder because if the linker cannot find the definition of the callback function declared in the header file, it will generates an error!
So, when Atozed build samples for Delphi users, it will be better to also build the same samples and documentations for C++ Builder users!
The remote SSL/TLS service is prone to a denial of service (DoS) vulnerability.The flaw exists because the remote SSL/TLS service does not properly restrict client-initiated renegotiation within the SSL and TLS protocols. Note: The referenced CVEs are affecting OpenSSL and Mozilla Network Security Services (NSS) but both are in a DISPUTED state with the following rationale: > It can also be argued that it is the responsibility of server deployments not a security library to prevent or limit renegotiation when it is inappropriate within a specific environment. Both CVEs are still kept in this VT as a reference to the origin of this flaw.The flaw might make it easier for remote attackers to cause a DoS (CPU consumption) by performing many renegotiations within a single connection.
Hi Team
A new vulnerability got in the VAPT. How can fix it please?
Thanks
Pramod
Cookie Overly Broad Path Detected
The cookie 'path' attribute signifies the URL or path for which the cookie is valid. If an overly broad path like root '/' is specified in the cookie then it is accessible through other applications on the same domain. Exposing the cookie to all web applications on the domain can lead to sensitive information disclosure like session identifier etc. and can cause one application to compromise another application.
Hi Team
Kindly advise how to solve the below vulnerability. There are few upload and downloads in the website and everything doing through the wwwroot folder.
Thanks
Pramod
Possible Sensitive Directories/Files Detected
These directory/files may expose sensitive information that could help a malicious user to prepare more advanced attacks. A possible sensitive directory has been found. These directory/files are not directly linked from the website. This check looks for common sensitive resources like backup directories database dumps administration pages temporary directories. Each one of these directories could help an attacker to learn more about his target.