soup-session.c: send Keep-Alive for HTTP/1.0 connections
authorSergio Villar Senin <svillar@igalia.com>
Mon, 24 Jan 2011 13:32:11 +0000 (14:32 +0100)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 16 Feb 2011 10:07:36 +0000 (11:07 +0100)
commit382ae1da1a23631e5c1274129077be4fcfcf84c4
treeb41e198ba19f6b7e4dbde7844aa8a6ac10931eae
parentea0886fd7f2b5ea198d7a6cbae9e9a9f98fdbc07
soup-session.c: send Keep-Alive for HTTP/1.0 connections

Sending the keep alive header prevents connections from closing and thus
improves overall performance when requesting multiple resources from HTTP/1.0
hosts as we do not need to create new connections for each request but reuse
the existing ones.

https://bugzilla.gnome.org/show_bug.cgi?id=640414
libsoup/soup-session.c