Are there any highly functional web server suites available for FPC (Free Pascal lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- saragt5t · 2024-07-14 04:30 Is there a robust HTTP-HTTPS suite available for FPC on Linux? I've spent a week trying to get it to work without any progress. Indy for Delphi, along with an SSL patch for OpenSSL 1.1/3.0, works perfectly. However, all attempts to make it work with FPC or Lazarus have failed. Whether using code from my Delphi package or OPM code, everything stalls at content encoding conversion, with iconv returning no bytes. The same issue occurs with Synapse, where unicode symbols in the response are returned incorrectly. I'm nostalgic for the days of good old Kylix code... ---------------------------------------------------------------------- paweld · 2024-07-14 05:40 Indy, mORMot2, FPHttpServer - each of them works on both Linux and Windows without any problems, each of them supports OpenSSL (indy only 1.02 - out of the box, fphttpserver only 1.1 for FPC 3.2.2 - in FPC fixes and trunk also 3.0, mORMot: 1.1., 3.0, 3.1) and none of them has problems with UTF-8. A simple example is attached ---------------------------------------------------------------------- Thaddy · 2024-07-14 08:47 You do not need to convert anything for UTF8 web-support. Only in very rare cases. Also, openssl3 can also be used with 3.2.2 as long as you copy over the sourcecode from main/trunk. No coding involved. ---------------------------------------------------------------------- zen010101 · 2024-07-18 05:09 Quote from: paweld on July 14, 2024, 07:40:15 amIndy, mORMot2, FPHttpServer - each of them works on both Linux and Windows without any problems, each of them supports OpenSSL (indy only 1.02 - out of the box, fphttpserver only 1.1 for FPC 3.2.2 - in FPC fixes and trunk also 3.0, mORMot: 1.1., 3.0, 3.1) and none of them has problems with UTF-8. A simple example is attached Great job! I have a little question: Indy and mORMot work well but when fphs.Active := True, the program gets stuck, and the next statement cannot be executed: Writeln('FpHttpServer start on port 8083');