Webrequest call and keep alive connection issue with AWS API gateway

 

Hi, is anyone else having problems with the WebRequest() function calling an AWS API gateway resource?

The issue I am experiencing is that the "Connection: keep-alive" is automatically added to the header.

I tried to overwrite it with "Connection: close" in the header, but I have read that this is ignored by mql5.

Because the IP addresses are constantly changing behind the API gateway the WebRequest() calls are getting routed to the wrong IP.