Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-10

FPC has multiple HTTP server components

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I was looking through the FCL code and noticed that there seems to be more than one HTTP server component. What is the difference between them, and which one would be the better option as the basis for a HTTP based n-tier application server (for use with tiOPF).

I found the recent one Michael van Canneyt committed in fcl-web: fcl-web/src/base/fphttpserver.pp (TFPHttpServer component)

I also found one in fcl-net:
fcl-net/src/httpsvlt.pp (THTTPServer component)

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net
Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 12 lines
Hi, I was looking through the FCL code and noticed that there seems to be more than one HTTP server component. What is the difference between them, and which one would be the better option as the basis for a HTTP based n-tier application server (for use with tiOPF). I found the recent one Michael van Canneyt committed in fcl-web: fcl-web/src/base/fphttpserver.pp (TFPHttpServer component) I also found one in fcl-net: fcl-net/src/httpsvlt.pp (THTTPServer component)

This one is deprecated.

It was originally developed to create servlets for XML-RPC. I will remove it.

Michael.

Marco van de Voort
to Michael Van Canneyt

In our previous episode, Michael Van Canneyt said:

Show quoted text 6 lines
> fcl-net/src/httpsvlt.pp (THTTPServer component) This one is deprecated. It was originally developed to create servlets for XML-RPC. I will remove it.

deprecate it first, then we'll merge the deprecation to 2.6.0, and people have a full major release cycle to migrate to alternatives.