Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2011-11-06 23:23:08 +0000
committerGreg Wilkins2011-11-06 23:23:08 +0000
commit42179e193de23ecc78a376e03a135633bf84f448 (patch)
treefc01cc85123273e339fc6bd20fc97bf64dc98b16 /jetty-client/src/main/java/org/eclipse/jetty
parent3e104548d5c64eaac67c626a0c9aac262615d9b5 (diff)
downloadorg.eclipse.jetty.project-42179e193de23ecc78a376e03a135633bf84f448.tar.gz
org.eclipse.jetty.project-42179e193de23ecc78a376e03a135633bf84f448.tar.xz
org.eclipse.jetty.project-42179e193de23ecc78a376e03a135633bf84f448.zip
client tests passing
Diffstat (limited to 'jetty-client/src/main/java/org/eclipse/jetty')
-rw-r--r--jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java
index c754c54ecb..e4fdcee5b4 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java
@@ -21,7 +21,6 @@ public class AsyncHttpConnection extends AbstractHttpConnection implements Async
private static final Logger LOG = Log.getLogger(AsyncHttpConnection.class);
private boolean _requestComplete;
- private int _status;
private Buffer _requestContentChunk;
private final AsyncEndPoint _asyncEndp;
@@ -45,28 +44,12 @@ public class AsyncHttpConnection extends AbstractHttpConnection implements Async
try
{
boolean failed = false;
-
- int loops=10000; // TODO remove this safety net
// While we are making progress and have not changed connection
while (progress && connection==this)
{
LOG.debug("open={} more={} buffering={} progress={}",_endp.isOpen(),_parser.isMoreInBuffer(),_endp.isBufferingInput(),progress);
- if (loops--<0)
- {
- System.err.println("LOOPING!!!");
- System.err.println(this);
- System.err.println(_endp);
- _endp.close();
- }
- else if (loops==10)
- {
- LOG.setDebugEnabled(true);
- Log.getLogger(HttpParser.class).setDebugEnabled(true);
- Log.getLogger("org.eclipse.jetty.io.nio.ssl").setDebugEnabled(true);
- }
-
progress=false;
HttpExchange exchange=_exchange;

Back to the top