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