If the last read returns zero bytes, multiple chunks that look like the last chunk are added to the stream.  The server then tries to handle the last chunk that comes second as a request of type "0" (zero) and gets confused.
If the last read returns zero bytes, multiple chunks that look like the last
chunk are added to the stream.  The server then tries to handle the last chunk
that comes second as a request of type "0" (zero) and gets confused.

* buckets/chunk_buckets.c
  (create_chunk): Fix a bug where multiple last chunk markers can be added
  to the request stream.

Submitted by: Brandon Ehle

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