[fpc-pascal] FPC-based http/s server

Michael Van Canneyt michael at freepascal.org
Mon Dec 10 12:08:48 CET 2018



On Mon, 10 Dec 2018, Mr Bee via fpc-pascal wrote:

> Hi all, Is there any open source, maintained and updated HTTP server using
> FPC out there?  I need a lightweight HTTP server written in FPC that
> supports Linux/Unix, F/CGI app, and HTTPS.  It'd be better if it doesn't
> need external or third-party units such as Indy or Synapse, but only pure
> FPC standard units such as fpHTTP* and fpWeb* units.  Google only gave me
> some old (back to early 2000) and abandoned projects written in Delphi
> mixed with inline assembler and Windows' API, also don't support HTTPS.

FPC has a HTTP server. See the simpleserver demo under fcl-web.

It does not support https yet, but this is planned for the near future.
(I expect to work on it between this Christmas and new year)

It does not support forwarding requests to (F)CGI but this is easy enough to
add.

Michael.


More information about the fpc-pascal mailing list