Make serf handle Connection:close headers. 
Make serf handle Connection:close headers. 

This functionality already existed in Subversion's ra_serf, but it fits better
in serf itself. Also, this ensures that response handlers don't need to change
the request queue anymore which elimates another cause of double free aborts.

* context.c
  (is_conn_closing): New function.
  (read_from_connection): Reset the connection if the server is going to close
   it.

muthusuba/serf,SirJson/serf,pengdu/serf,krime/serf,soufianeEL/serf,yesoce/serf,SirJson/serf,x-clone/serf,yesoce/serf,Manouchehri/serf,google-code-export/serf,KyleSanderson/serf,TommyU/serf,zhengcq315/serf,sworda/serf,justinweb/serf,muthusuba/serf,liuzongquan/serf,alex1818/serf,krime/serf,wzugang/serf,pengdu/serf,justinweb/serf,TommyU/serf,lazysoez/serf,wzugang/serf,idomon/serf,soufianeEL/serf,liuzongquan/serf,x-clone/serf,Manouchehri/serf,google-code-export/serf,lazysoez/serf,KyleSanderson/serf,stoneCC/serf,x-clone/serf,soufianeEL/serf,SirJson/serf,sworda/serf,idomon/serf,lazysoez/serf,wzugang/serf,SirJson/serf,idomon/serf,stoneCC/serf,sworda/serf,blueszhangsh/serf,wzugang/serf,muthusuba/serf,alex1818/serf,zhengcq315/serf,alex1818/serf,pengdu/serf,zhupan/serf,zhupan/serf,KyleSanderson/serf,TommyU/serf,yesoce/serf,pengdu/serf,x-clone/serf,lazysoez/serf,TommyU/serf,krime/serf,idomon/serf,zhengcq315/serf,google-code-export/serf,Manouchehri/serf,krime/serf,KyleSanderson/serf,sworda/serf,blueszhangsh/serf,soufianeEL/serf,justinweb/serf,blueszhangsh/serf,google-code-export/serf,stoneCC/serf,stoneCC/serf,yesoce/serf,zhupan/serf,zhengcq315/serf,zhupan/serf,muthusuba/serf,alex1818/serf,justinweb/serf,Manouchehri/serf,blueszhangsh/serf,liuzongquan/serf,liuzongquan/serf