Marking the parser at EOF in case of exceptions.

This commit is contained in:
Simone Bordet 2017-05-17 10:11:10 +02:00
parent 1e2093c14a
commit da05582b9a
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
catch (IOException e)
{
LOG.debug(e);
_parser.atEOF();
return -1;
}
}