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...

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to