copy URI buffer as header buffer is no longer immutable
This commit is contained in:
parent
b890ff8fb2
commit
460c2a6ea8
|
@ -2,7 +2,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
<artifactId>jetty-project</artifactId>
|
<artifactId>jetty-project</artifactId>
|
||||||
<version>7.4.4-SNAPSHOT</version>
|
<version>7.5.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>jetty-server</artifactId>
|
<artifactId>jetty-server</artifactId>
|
||||||
|
|
|
@ -687,6 +687,8 @@ public class HttpConnection extends AbstractConnection implements Connection
|
||||||
@Override
|
@Override
|
||||||
public void startRequest(Buffer method, Buffer uri, Buffer version) throws IOException
|
public void startRequest(Buffer method, Buffer uri, Buffer version) throws IOException
|
||||||
{
|
{
|
||||||
|
uri=uri.asImmutableBuffer();
|
||||||
|
|
||||||
_host = false;
|
_host = false;
|
||||||
_expect = false;
|
_expect = false;
|
||||||
_expect100Continue=false;
|
_expect100Continue=false;
|
||||||
|
|
|
@ -25,4 +25,13 @@ public class SocketServerTest extends HttpServerTestBase
|
||||||
{
|
{
|
||||||
startServer(new SocketConnector());
|
startServer(new SocketConnector());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void testBlockingWhileReadingRequestContent() throws Exception
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
super.testBlockingWhileReadingRequestContent();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue