DriverBoy
DriverBoy

Reputation: 997

What's the unit of keep-alive in http?

Keep-Alive  115
Connection  keep-alive

The above appears in most request sent from my firefox,what's its unit?

Upvotes: 2

Views: 1419

Answers (2)

M Nottingham
M Nottingham

Reputation: 5804

That header is actually invalid; see https://bugzilla.mozilla.org/show_bug.cgi?id=643352

That said, the unit is seconds.

Upvotes: 0

Eric Pi
Eric Pi

Reputation: 1924

From the documentation:

Amount of time in seconds to keep keep-alive connections alive

Upvotes: 6

Related Questions