Mercurial Hosting > luan
diff src/org/eclipse/jetty/http/HttpParser.java @ 1068:9d357b9e4bcb
fix BufferUtil.newBuffer()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 10 Nov 2016 00:23:05 -0700 |
parents | 158d1e6ac17f |
children | b4ba8a4d5a16 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpParser.java Thu Nov 10 00:08:39 2016 -0700 +++ b/src/org/eclipse/jetty/http/HttpParser.java Thu Nov 10 00:23:05 2016 -0700 @@ -80,7 +80,9 @@ public HttpParser(JBuffer headerBuffer,JBuffer bodyBuffer, EndPoint endp, EventHandler handler) { _header = headerBuffer; + _header.limit(0); _body = bodyBuffer; + _body.limit(0); _endp = endp; _handler = handler; }