http_recv: set the eof flag on buffer overruns.