Keep alive headers not showing in the logs

Hi,

I’m using Gatling 2.2.1.

I was looking if keep-alive was really activated for Gatling. The keep-alive parameter is set to true in the configuration.

However, if I look at my request in the logs, I see this:

HTTP request:
GET https://stuff/img.png
headers=
DNT: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.49 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;
Accept-Encoding: gzip, deflate, sdch, br
Host: stuff

No header
Connection:
keep-alive

Is that normal? Is it added after?

(there is no keep-alive header in the response either)
(I haven’t captured the traffic to see what actually went in the request but I can if needed)

Thanks,

Henri

Perfectly normal.

HTTP/1.1: keep-alive is the default connection behavior, so you only specify it when you want “close”
HTTP/1.0: the opposite

Got it. Thanks