This commit is contained in:
@@ -136,6 +136,8 @@ public class HttpRequest extends Request<HttpContext> {
|
|||||||
}
|
}
|
||||||
index = ++offset;
|
index = ++offset;
|
||||||
this.protocol = bytes.toString(index, bytes.size() - index, charset);
|
this.protocol = bytes.toString(index, bytes.size() - index, charset);
|
||||||
|
|
||||||
|
//header
|
||||||
while (readLine(buffer, bytes)) {
|
while (readLine(buffer, bytes)) {
|
||||||
if (bytes.size() < 2) break;
|
if (bytes.size() < 2) break;
|
||||||
index = 0;
|
index = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user