Re: [twsocket] Creating a TSslWebAppSrv component

2011-11-28 Thread Arno Garrels
Busai Péter wrote: Hi, I wonder what is the proper way, to derive from TSslHttpServer and copy all the AppServer stuff or to derive from THttpAppSrv and add the SSL stuff? It's likely the easiest approach to derive THttpAppSrv from THttpsServer rather than from THttpServer (untested). This

Re: [twsocket] Creating a TSslWebAppSrv component

2011-11-28 Thread Busai Péter
What do you mean not nice? This is the whole point of OOP. :) Actually it is not that simple. I don't want to put TSslHttpAppSrv in the original unit of THttpAppSrv because SVN will complain every time I do a check-out. I tried to put it in a new unit, however it seems THttpAppSrv and TUrlHandler

Re: [twsocket] Creating a TSslWebAppSrv component

2011-11-28 Thread Arno Garrels
Busai Péter wrote: What do you mean not nice? This is the whole point of OOP. :) Not nice are both custom source code changes and duplicated code. However in this case I'd vote for a custom change of one line in OverbyteIcsHttpAppServer.pas: THttpAppSrv = class(TSslHttpServer). SVN updates

Re: [twsocket] Creating a TSslWebAppSrv component

2011-11-28 Thread Arno Garrels
Arno Garrels wrote: Busai Péter wrote: What do you mean not nice? This is the whole point of OOP. :) Not nice are both custom source code changes and duplicated code. However in this case I'd vote for a custom change of one line in OverbyteIcsHttpAppServer.pas: THttpAppSrv =

[twsocket] Creating a TSslWebAppSrv component

2011-11-27 Thread Busai Péter
Hi, I wonder what is the proper way, to derive from TSslHttpServer and copy all the AppServer stuff or to derive from THttpAppSrv and add the SSL stuff? Regards Peter -- To unsubscribe or change your settings for TWSocket mailing list please goto