Re: [fpc-pascal] GetEnv and large strings.

2017-02-16 Thread Jonas Maebe
On 16/02/17 20:57, duilio foschi wrote: Which is the kosher function GetEnv that wont truncate large strings ? SysUtils.GetEnvironmentVariable: http://www.freepascal.org/docs-html/rtl/sysutils/getenvironmentvariable.html Jonas ___ fpc-pascal mail

[fpc-pascal] GetEnv and large strings.

2017-02-16 Thread duilio foschi
I am using Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86-64 I created a few CGIs and discovered that function GetEnv(envvar: string):string; in unit Dos returns up to 256bytes (only). I need GetEnv to

Re: [fpc-pascal] https how does it work

2017-02-16 Thread Tony Whyman
You can always use the indy components. They have a working https implementation which I have successfully used in a SOAP based application and Lazarus's WST package. (see http://wiki.lazarus.freepascal.org/Indy_with_Lazarus). The downside is that the indy components do not seem to have been

Re: [fpc-pascal] https how does it work

2017-02-16 Thread Michael Van Canneyt
On Thu, 16 Feb 2017, Rainer Stratmann wrote: How does httpy work, what is needed? TLS/SSL library? Yes. The ssockets unit has the ability to set up a TLS/SSL connection. It uses openssl as a library. You can check the fphttpclient unit to see how this is done. The fphttpserver currently d

[fpc-pascal] https how does it work

2017-02-16 Thread Rainer Stratmann
How does httpy work, what is needed? TLS/SSL library? A http webserver without encryption I programed already on my own and wanted to integrate https. Is there any example code of https? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http