title: Gitlab cannot clone over HTTP after upgrade to 6.5
body: <p>After upgrading gitlab from 6.3 to 6.5, everything looks good, except I cannot clone any repositories over HTTP. I could clone/fetch/push over SSH, and also browse the whole repositories over HTTP, but just cannot clone it over HTTP.
  The error message is:</p>
  
  <pre><code>$ git clone http://mydomain/mygroup/test.git
  Cloning into 'test'...
  fatal: protocol error: bad line length character: 3ca
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>Any hints are appreciated.</p>
  
  <p>====== More Information =======</p>
  
  <p>When executing the clone as above, there are two nginx logs:</p>
  
  <pre><code>192.168.1.103 - - [26/Feb/2014:17:51:58 +0800] "GET /mygroup/test.git/info/refs?service=git-upload-pack HTTP/1.1" 200 283 "-" "git/1.8.3.4 (Apple Git-47)" "-"
  
  192.168.1.103 - - [26/Feb/2014:17:51:58 +0800] "POST /mygroup/test.git/git-upload-pack HTTP/1.1" 200 994 "-" "git/1.8.3.4 (Apple Git-47)" "-"
  </code></pre>
  
  <p>And here is the error I got when trying to "git fetch" inside a project which was cloned over HTTP before:</p>
  
  <pre><code>$ git fetch
  fatal: git fetch_pack: expected ACK/NAK, got '
  0038ACK 12c5f4a0f130acfd8ef502a28989f42d37228016 common
  0038ACK 736453e9369a9bb91b2b49b17419c168e4b61c5b common
  0031ACK 736453e9369a9bb91b2b49b17419c168e4b61c5b
  0022Counting objects: 114, done.
  002eCompressing objects: 100% (67/67), done.
  2004PACK'
  </code></pre>