[fpc-pascal] fphttpclient close connection?

waldo kitty wkitty42 at windstream.net
Mon Oct 15 23:33:17 CEST 2012


i've noted that fphttpclient has a DefaultTimeout of 15 minutes... how can i 
close the connection after all data is received?

the server is configured to keep-alive.

"AddHeader(fieldConnection,'close');" works but i want/need to use keep-alive 
and then close the connection afterwards instead of waiting for the program to 
timeout in 15 minutes or when the server closes the connection...




More information about the fpc-pascal mailing list