Note: system number is the last two digits of the port from b)
For a reliable HTTP communication set the following
icm/server_port_0 | PROT=HTTP,PORT=xxxx,TIMEOUT=90,PROCTIMEOUT=3600 |
icm/server_port_2 | PROT=HTTPS,PORT=xxxx,TIMEOUT=90,PROCTIMEOUT=3600 |
icm/keep_alive_timeout | 90 |
icm/conn_timeout | 20000 |
If icm/HTTP/client/keep_alive_timeout=0 is used, HTTP Keep-Alive is disabled altogether when acting as client. This solution affects all outbound HTTP connections.
lo_http_client->request->set_version( if_http_request=>co_protocol_version_1_1 ).
If you use it within HTTP header you need to set Connection=keep-alive, too!
HTTP/1.1 200 OK Connection: keep-alive Content-Type: text/html; chartset=utf-8 Keep-Alive: timeout=10, max=100