175176177178179180181182183184185
if (read == -1) throw new EofException(); int length = (fb.peek(1) & 0xff) << 16 | (fb.peek(2) & 0xff) << 8 | (fb.peek(3) & 0xff); Buffer b = new ByteArrayBuffer(length);
176177178179180181182183184185186
if (read == -1) throw new EofException(); int length = (fb.peek(1) & 0xff) << 16 | (fb.peek(2) & 0xff) << 8 | (fb.peek(3) & 0xff); Buffer b = new ByteArrayBuffer(length); int totalRead = 4;
177178179180181182183184185186187
throw new EofException(); int length = (fb.peek(1) & 0xff) << 16 | (fb.peek(2) & 0xff) << 8 | (fb.peek(3) & 0xff); Buffer b = new ByteArrayBuffer(length); int totalRead = 4; b.put(fb);
10171018101910201021102210231024102510261027
case ':': _serverName = BufferUtil.to8859_1_String(hostPort.peek(hostPort.getIndex(),i - hostPort.getIndex())); try { _port = BufferUtil.toInt(hostPort.peek(i + 1,hostPort.putIndex() - i - 1)); } catch (NumberFormatException e) { try {
10071008100910101011101210131014101510161017
Buffer hostPort = _connection.getRequestFields().get(HttpHeaders.HOST_BUFFER); if (hostPort != null) { loop: for (int i = hostPort.putIndex(); i-- > hostPort.getIndex();) { char ch = (char)(0xff & hostPort.peek(i)); switch (ch) { case ']': break loop;
10141015101610171018101910201021102210231024
{ case ']': break loop; case ':': _serverName = BufferUtil.to8859_1_String(hostPort.peek(hostPort.getIndex(),i - hostPort.getIndex())); try { _port = BufferUtil.toInt(hostPort.peek(i + 1,hostPort.putIndex() - i - 1)); } catch (NumberFormatException e)