Jump to content

superflexible

Members
  • Content Count

    14
  • Joined

  • Last visited

Posts posted by superflexible


  1. Hi,

    many thanks for your reply! My application already creates the threads, there is no way around it. I cannot use a component that creates its own threads. The threads are already there.

     

    I will look into it further and check if the latest ICS update maybe fixes the crashes.

     

     


  2. Hello,

    I am using TSslFtpClient in a multithreaded application. I get crashes inside the OpenSSL DLLs while uploading or downloading many smaller files in three separate threads (so three at a time).

     

    I set the Multithreaded property to true.

     

    I create all components in code, not in a DFM. So my question is, should I call TSslFtpClient.Create(nil) in the application's main thread, or in the thread where I am actually using it?

     

    Currently I have a method CreateComponents which I call via TThread.Synchronize(nil,CreateComponents).

     

    Are there any other precautions I have to take?

     

    I read about all the async recommendations but I cannot redesign the application from scratch.

     

    Many thanks.

     


  3. Hello,

    I just tried it. Changes to GetSession or NewSession don't help because these functions are always called with the main FTP port, not the passive mode port number.

     

    I just found that it works fine with TLS 1.3 but not with TLS 1.2! If you change it to 1.2, you can probably see the problem with your local FileZilla too.

     

    Interesting. I guess not a problem then, I will just use TLS 1.3.

     

     


  4. Hello,

    I am using TSslFtpClient.

     

    I will try TIcsFtpMulti.

     

    As you know, the FTP protocol makes two connections, a control channel and a data channel. FileZilla FTP Server requires that these two connections share the same TLS session (or session ID).

     

    If the data channel tries to open an independent TLS session, the server rejects it for security purposes.

     

    The Internet is full of problem reports related to "TLS session of data connection has not resumed". In older FileZilla Server versions, the requirement could be turned off, but now it is mandatory.

     

×