On Wed, 2 Sep 2015, Leonardo M. Ramé wrote:

Do you have a second transaction object (e.g. default transaction) ?
If so, that's probably it.

Michael.



No, just a TSQLTransaction attached to the TPQConnection object.

I commented all my code but the PQConnection1.Connected := True, and I noted I get the "could not receive data from client: Connection reset by peer" message just after the CGI program ends its execution.

Are you closing the connection properly ? i.e. not through Free, but through 
close.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to