cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HTTP Monitor - Connection keep alive or close by default?

SabineR
Helper

Hello,

I have 2 questions concerning HTTP monitors :

- HTTP calls are all HTTP 1.1 or not?
- By default, connection are closed in HTTP Monitors?


I understand why, but, as persistent connections are the default behavior of any connection in HTTP 1.1, the behavior is different :

recently we had issue with one HTTP Monitor, which is calling only one url.
Suddenly, every time, we got a connection refused.
I created its brower clickpath version: no error.
We discovered at the end, that it was due to a connection closed.
I added in the request header, connection: keep-alive and it was ok.

Thank you

Sabine

1 REPLY 1

hadeer_diwan
Dynatrace Participant
Dynatrace Participant

Yes we close the connection and you need to add the keep-alive header in this case.

 

Featured Posts