Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-12-13 22:14:12 +0000
committerGreg Wilkins2013-12-13 22:14:12 +0000
commit714148335639d2592b9376dec722d3c7e06887c9 (patch)
tree84c6f69fe7150450195a336c4f78018e51bfa9e5 /jetty-servlets
parent46ef022cf47c19eaea72ccb336ae436e5eaebeff (diff)
downloadorg.eclipse.jetty.project-714148335639d2592b9376dec722d3c7e06887c9.tar.gz
org.eclipse.jetty.project-714148335639d2592b9376dec722d3c7e06887c9.tar.xz
org.eclipse.jetty.project-714148335639d2592b9376dec722d3c7e06887c9.zip
424043 - IteratingCallback Idle race
Diffstat (limited to 'jetty-servlets')
-rw-r--r--jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHttpOutput.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHttpOutput.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHttpOutput.java
index 2464924cc1..430c4f4791 100644
--- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHttpOutput.java
+++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/gzip/GzipHttpOutput.java
@@ -297,7 +297,7 @@ public class GzipHttpOutput extends HttpOutput
}
@Override
- protected State process() throws Exception
+ protected Next process() throws Exception
{
if (_deflater.needsInput())
{
@@ -307,11 +307,11 @@ public class GzipHttpOutput extends HttpOutput
_deflater=null;
getHttpChannel().getByteBufferPool().release(_buffer);
_buffer=null;
- return State.SUCCEEDED;
+ return Next.SUCCEEDED;
}
if (!_complete)
- return State.SUCCEEDED;
+ return Next.SUCCEEDED;
}
BufferUtil.compact(_buffer);
@@ -324,7 +324,7 @@ public class GzipHttpOutput extends HttpOutput
addTrailer();
superWrite(_buffer,complete,this);
- return State.SCHEDULED;
+ return Next.SCHEDULED;
}
}
@@ -342,7 +342,7 @@ public class GzipHttpOutput extends HttpOutput
}
@Override
- protected State process() throws Exception
+ protected Next process() throws Exception
{
if (_deflater.needsInput())
{
@@ -354,11 +354,11 @@ public class GzipHttpOutput extends HttpOutput
_deflater=null;
getHttpChannel().getByteBufferPool().release(_buffer);
_buffer=null;
- return State.SUCCEEDED;
+ return Next.SUCCEEDED;
}
if (!_complete)
- return State.SUCCEEDED;
+ return Next.SUCCEEDED;
}
else
{
@@ -389,7 +389,7 @@ public class GzipHttpOutput extends HttpOutput
addTrailer();
superWrite(_buffer,complete,this);
- return State.SCHEDULED;
+ return Next.SCHEDULED;
}
}

Back to the top