isaacs
15a5a4a945
http: Only send connection:keep-alive if necessary
...
In cases where the Agent has maxSockets=Infinity, and
keepAlive=false, there's no case where we won't immediately close the
connection after the response is completed.
Since we're going to close it anyway, send a `connection:close` header
rather than a `connection:keep-alive` header. Still send the
`connection:keep-alive` if the agent will actually reuse the socket,
however.
Closes #5838
2013-09-04 11:19:39 -07:00
..
2013-09-04 11:17:28 -07:00
2013-08-15 17:19:17 -07:00
2013-09-04 11:19:39 -07:00
2013-08-15 13:57:23 -07:00
2013-08-15 15:05:41 -07:00
2013-08-19 16:05:44 -07:00
2013-08-15 15:05:41 -07:00
2011-03-14 17:37:05 -07:00
2013-01-17 10:42:44 -08:00
2013-03-05 14:27:15 -08:00
2013-09-04 11:17:28 -07:00
2013-08-15 17:19:17 -07:00
2013-08-27 18:02:30 -07:00
2013-08-27 07:27:39 -07:00
2013-08-27 07:27:39 -07:00
2013-08-01 15:08:01 -07:00
2013-08-26 14:12:00 -07:00
2013-08-27 17:28:57 -07:00
2013-08-15 17:19:18 -07:00
2013-08-01 15:08:01 -07:00
2011-03-14 17:37:05 -07:00
2013-08-01 15:08:01 -07:00
2013-08-17 17:11:02 +02:00
2013-08-12 19:08:03 +02:00
2013-08-27 11:05:14 -07:00
2013-08-19 17:27:08 -07:00
2011-03-14 17:37:05 -07:00
2013-08-21 09:40:10 -07:00
2013-08-15 17:19:17 -07:00
2013-08-15 17:19:17 -07:00
2013-08-28 22:27:24 -07:00
2013-08-20 21:03:52 +04:00
2013-03-28 13:19:08 -07:00
2013-08-01 15:08:01 -07:00
2013-08-15 17:19:17 -07:00
2013-08-01 15:08:01 -07:00
2013-09-04 11:17:28 -07:00
2013-09-04 11:13:41 -07:00
2013-08-07 12:53:24 -07:00
2013-08-01 15:08:01 -07:00
2012-12-13 17:00:22 -08:00
2012-06-28 10:14:03 -07:00
2013-08-15 19:33:34 +02:00
2013-08-21 16:15:08 +04:00
2013-08-15 17:19:17 -07:00
2013-08-01 15:08:01 -07:00
2013-08-22 16:54:17 -07:00
2013-08-28 22:27:24 -07:00
2013-08-01 15:08:01 -07:00