× CodeOcean Samples and DocFactory discussions and suggestions

Question Indy10 memory leak and HTTPS demo

2 years 9 hours ago #13405 by Jim D
Indy10 memory leak and HTTPS demo was created by Jim D
I'm brand new to this forum and I'm not a professional coder, just a hobbyist.
I just installed CT and am totally impressed so far!
It is amazing the amount of work that has been put into this project.
The depth and breadth of the project and samples is simply amazing.

I'm hesitant to post anything that could distract from your development time.
Anyway, here goes.
I am still learning Indy10 but have a couple of things I could contribute if you feel would be beneficial.

There is a known memory leak issue with Indy with a fairly simple "fix"
(I suspect you already know about this)
Edit: IdCompilerDefines, enable {$DEFINE FREE_ON_FINAL}, re-compile.
I validated this with your HTTPServer sample using Heaptrc.

I just built a sweet little HTTPS remote file access for my home server.
I can take your HTTPServer sample, modify and submit as HTTPServerSSL or whatever.
Let me know if this would be welcome and I'll attach.

My Environment: Win10, CTv6.8

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
2 years 6 hours ago #13406 by Sternas Stefanos
Replied by Sternas Stefanos on topic Indy10 memory leak and HTTPS demo
Thanks Sir for you post
We will very happy with your source.
We can put your sample to CT-CodeOcean if you want

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.