comparison 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
comparison
equal deleted inserted replaced
1067:56b515be91e1 1068:9d357b9e4bcb
78 private boolean _headResponse; 78 private boolean _headResponse;
79 79
80 public HttpParser(JBuffer headerBuffer,JBuffer bodyBuffer, EndPoint endp, EventHandler handler) 80 public HttpParser(JBuffer headerBuffer,JBuffer bodyBuffer, EndPoint endp, EventHandler handler)
81 { 81 {
82 _header = headerBuffer; 82 _header = headerBuffer;
83 _header.limit(0);
83 _body = bodyBuffer; 84 _body = bodyBuffer;
85 _body.limit(0);
84 _endp = endp; 86 _endp = endp;
85 _handler = handler; 87 _handler = handler;
86 } 88 }
87 89
88 private void mark() { 90 private void mark() {