Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 04:22
    rlebeau labeled #269
  • Oct 16 04:22
    rlebeau opened #269
  • Oct 08 19:00

    Fulgan on Restructure

    Bug fix for a typo in TIdIMAP4.… (compare)

  • Oct 08 19:00

    Fulgan on master

    Bug fix for a typo in TIdIMAP4.… (compare)

  • Oct 02 21:00

    Fulgan on Restructure

    Updating TIdIMAP4's InternalSea… (compare)

  • Oct 02 21:00

    Fulgan on master

    Updating TIdIMAP4's InternalSea… (compare)

  • Sep 20 21:50

    Fulgan on master

    Embarcadero patch for race cond… (compare)

  • Sep 20 21:50

    Fulgan on Restructure

    Embarcadero patch for race cond… (compare)

  • Sep 10 18:50
    rlebeau closed #268
  • Sep 10 18:50
    rlebeau commented #268
  • Sep 10 18:50

    Fulgan on Restructure

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:50

    Fulgan on master

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau assigned #268
  • Sep 10 18:49
    rlebeau review_requested #268
  • Sep 09 13:15
    gjdoornink opened #268
  • Aug 28 21:00

    Fulgan on Restructure

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 21:00

    Fulgan on master

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 19:42
    rlebeau milestoned #183
Ana Knickerbocker
@anaknickerbocker
I did enable sslvTLSv1_2, but it is falling back to TLS 1.0
Remy Lebeau
@rlebeau
@anaknickerbocker what platform are you running your app on? What does IdSSLOpenSSLHeaders.IsOpenSSL_TLSv1_2_Available() return?
Remy Lebeau
@rlebeau
@anaknickerbocker and what version of OpenSSL are you using?
Ana Knickerbocker
@anaknickerbocker
OpenSSL version 1.0.2o, IdSSLOpenSSLHeaders.IsOpenSSL_TLSv1_2_Available() returns true
App is an add-in for Microsoft Word
Remy Lebeau
@rlebeau
@anaknickerbocker are you using sslvTLSv1_2 by itself, or do you have other versions enabled in the SSLVersions property, too?
Ana Knickerbocker
@anaknickerbocker
I've tried using just sslvTLSv1_2, but now I'm using sslvSSLv23
Remy Lebeau
@rlebeau
@anaknickerbocker Please don't use sslvSSLv23 directly. It is a wildcard for Indy's internal use. Enable only the particular versions you actually want to use. But if you use just sslvTLSv1_2 by itself, I don't see how that can possible fallback to TLS 1.0 when IsOpenSSL_TLSv1_2_Available() is true.
@anaknickerbocker what version of Indy are you using?
Jeroen Wiert Pluimers
@jpluimers
I wonder why the city names were removed in graemeg/indy@45c089d
Ana Knickerbocker
@anaknickerbocker
My apologies, @rlebeau, I work in support so I'm troubleshooting code that somebody else wrote. Unfortunately a different high-priority issue just came in today, so I won't be able to look into this for at least another couple days.
I'm no longer using sslvSSLv23 directly, I'm now using [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2] on the server, and just [sslvTLSv1_2] on the client.
Indy version is 10.6.2.5336.
Remy Lebeau
@rlebeau
@jpluimers I felt it is cleaner to remove the city names. That, and mainly because RADStudio 10.3 is coming out soon and I needed to check in some changes provided by Embarcadero, but the city name for 10.3 hasn't been reveiled yet, so I wanted consistency in the defines. I could have added VCL_10_3_CARNIVAL for 10.3's codename ("Carnival") but then I would have had to change it later once the city was reveiled (VCL_10_3_<CITY>). So, if I'm going to have to change defines anyway, I may as well have just changed them now rather than later.
@anaknickerbocker looks ok, that should be working. FYI, the latest snapshot is .5473, so you are a little behind.
Jeroen Wiert Pluimers
@jpluimers
Thanks. Most people I know are better at remembering names than numbers, so that’s why I asked. For me, names are easier too, so if you are ever going to move them back, I will be very glad (:
Remy Lebeau
@rlebeau
@jpluimers are using IdCompilerDefines.inc in your own code?
Jeroen Wiert Pluimers
@jpluimers
I usually take https://github.com/project-jedi/jedi/blob/master/jedi.inc but browsing through Indy code every bit that helps me understand versions better is welcome.
Paessler
@Paessler
@rlebeau Hi Remy, short Question since i'm having a hard time finding stuff, is there any documentation available how to implement the serverside OCSP Stapling with the IdOpenSSL Handler?
Remy Lebeau
@rlebeau
@Paessler Indy doesn't support OCSP natively, but you might be able to cobble something together manually, see https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_tlsext_status_cb.html. I'm not sure if you will be able to make this work with the current IOHandler, though. I've just added some tickets to help with this in the future: IndySockets/Indy#223 and IndySockets/Indy#224
Marcos Douglas B. Santos
@mdbs99
Hello.
I have an issue very strange using FPC 3.1.1 and Laz 1.9. I have no memleaks in my project, but If I add an Indy unit, eg. IdPOP3, I have 3 memleaks
Marcos Douglas B. Santos
@mdbs99
Here is the problem:
  GThreadCount := TIdThreadSafeInteger.Create;
  {$IFNDEF FREE_ON_FINAL}
    {$IFDEF REGISTER_EXPECTED_MEMORY_LEAK}
  IndyRegisterExpectedMemoryLeak(GThreadCount);
  IndyRegisterExpectedMemoryLeak(TIdThreadSafeIntegerAccess(GThreadCount).FCriticalSection);
    {$ENDIF}
  {$ENDIF}
finalization
  // This call hangs if not all threads have been properly destroyed.
  // But without this, bad threads can often have worse results. Catch 22.
//  TIdThread.WaitAllThreadsTerminated;

  {$IFDEF FREE_ON_FINAL}
  //only enable this if you know your code exits thread-clean
  FreeAndNil(GThreadCount);
  {$ENDIF}
So, "only enable this if you know your code exits thread-clean" is this make sense?

...in IdThread.pas but there is another in IdStack.pas... and why do we have an *.inc in each directory with the same information??

Of course we need to enable FREE_ON_FINAL... why not?

Marcos Douglas B. Santos
@mdbs99
IMHO this is an issue... so I've posted IndySockets/Indy#225
Remy Lebeau
@rlebeau
@mdbs99 I've commented on it
Marcos Douglas B. Santos
@mdbs99
Hey @rlebeau I've commented too... thanks
Are you the maintainer of Indy nowadays?
Remy Lebeau
@rlebeau
@mdbs99 yes, I am
Marcos Douglas B. Santos
@mdbs99
Just to know
I don't use Indy for a long time, and I was not sure if the project was stopped or not
Thanks for your work/time
Remy Lebeau
@rlebeau
@mdbs99 it is certainly not stopped, though efforts on it can be slow at times since I'm the only coder working on it
Marcos Douglas B. Santos
@mdbs99
I see. Sad. Indy is a huge project. Should be more developers working on it
Remy Lebeau
@rlebeau
@mdbs99 there did used to be a whole team working on Indy, but over the years its members have left or gone silent, and nobody new has come in. There are still a few admins hanging around, but no other coders besides me (AtoZed has coders working on IntraWeb and CrossTalk, but they don't work on Indy, though they do use Indy inside of IntraWeb).
Marcos Douglas B. Santos
@mdbs99
Well, looks like that Atozed is migrating to C#
I don't know if you are an employee of Atozed of just work in that project in your free time... anyway, I should know that your work counts and many projects still continue using Indy in production.
Remy Lebeau
@rlebeau
@mdbs99 I am not an AToZed employee, I'm just a volunteer for Indy, but AFAIK they are not migrating to C#. CrossTalk is for using .NET assemblies in Delphi/C++Builder, but IntraWeb is written in Delphi.
Marcos Douglas B. Santos
@mdbs99
Good to know... however, I'm using more FPC/Lazarus nowadays than Delphi
I don't know if IntraWeb will survive competing with TMS Web Core
...but that is out of scope here
Marcos Douglas B. Santos
@mdbs99
I'll use Indy in one of my projects so, I'll stay here to get some information and help people if I can
Kudzu
@czhower
@mdbs99 Indy is also VERY mature. So maint is much more limited. Indy is over 20 years old.
@mdbs99 Not sure where you got this thing about Atozed Migrating to C#. Both Atozeds 2 main products are Delphi.
@mdbs99 TMS web core is WAY behind IW. Even IW 14/15. TMS web core isnt even Delphi but PasScript and has almost not backend you have to build that manualy using their other parts. That stuff is transparent in IW. IW and TMS are very different. TMS is far more basic and missing dozens of major features that IW has.
EitanArbel
@EitanArbel
@mdbs99 as far as i know, AToZed may have some plans to create intraweb 17 also for Lazarus.
besides that, i think you meant to say that you don't know if TMS Web will survive intraweb... :D
Marcos Douglas B. Santos
@mdbs99

Not sure where you got this thing about Atozed Migrating to C#

@czhower I'm sorry. I just took a look in Atozed website and saw some C# products... but, my bad.

IW and TMS are very different. TMS is far more basic and missing dozens of major features that IW has

They are different, yes. Maybe I was a little fast saying that I said. Sorry, again.

i think you meant to say that you don't know if TMS Web will survive intraweb

@EitanArbel this will be a good battle to see! ;-)

Kudzu
@czhower

@mdbs99 The only C# product there is CrossTalk which allows you to use C# or .NET code IN Delphi.

On the open source sponsorship side, yes we also have COSMOS but we are just a sponsor of that just like Indy. We provide server infra and other resources as well as coding (volunteer) of some of our staff.

Marcos Douglas B. Santos
@mdbs99
I got it.