From 87da18834e8d0e87a586bbdd7d5168f90e15db3f Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Sat, 19 Dec 2009 23:13:41 +0000 Subject: [PATCH] 298144 Unit test for jetty-client connecting to a server that uses Basic Auth git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1159 7e9141cc-0065-0410-87d8-b60c137991c4 --- VERSION.txt | 1 + .../src/main/java/org/eclipse/jetty/client/HttpExchange.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION.txt b/VERSION.txt index 09cd95facaf..bca619f1052 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -4,6 +4,7 @@ jetty-7.0.2-SNAPSHOT + 296765 JMX Connector Server and ShutdownThread + 297421 Hide server/system classes from WebAppClassLoader.getResources + 297783 Handle HEAD reponses in HttpClient + + 298144 Unit test for jetty-client connecting to a server that uses Basic Auth + JETTY-910 Allow request listeners to access session + JETTY-1156 SSL blocking close with JVM Bug busy key fix + JETTY-1157 Don't hold array passed in write(byte[]) diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java index df464d260de..8ed59703da8 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java @@ -518,7 +518,7 @@ public class HttpExchange public void setRequestContent(Buffer requestContent) { _requestContent = requestContent; - _requestContent.mark(); + _requestContent.mark(_requestContent.getIndex()); } /**