Page 1 of 1

force end of HTTPAPI Connection with remote server

Posted: Fri Aug 09, 2024 8:53 pm
by DaleSigwart
Hi,

I am hoping this is a simple question.

What command do I use in HTTPAPI to force and end and drop connection from the IBM I?
The remote host want to keep connection alive for 60 minutes. This is OK sometimes but most of the user jobs won't last that long.

Any ideas are appreciated.

Thanks,
Dale

Re: force end of HTTPAPI Connection with remote server

Posted: Mon Aug 12, 2024 11:23 am
by Scott Klement
The persistent routines (http_persist_xxx) are the only routines in HTTPAPI that keep a connection open. The others disconnect automatically before returning control to your RPG program.