Skip to content

Commit

Permalink
codeine-222 server is not using default values of command parameters …
Browse files Browse the repository at this point in the history
…if not given by API
  • Loading branch information
rezra3 committed Mar 4, 2018
1 parent 6ba4d9e commit f89fbef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/common/codeine/servlet/ServletResponseGZIPOutputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.util.zip.GZIPOutputStream;

import javax.servlet.ServletOutputStream;
import javax.servlet.WriteListener;

public class ServletResponseGZIPOutputStream extends ServletOutputStream {

Expand Down Expand Up @@ -51,4 +52,13 @@ public void write(int b) throws IOException {
gzipStream.write(b);
}

@Override
public boolean isReady() {
return true;
}

@Override
public void setWriteListener(WriteListener writeListener) {

}
}

0 comments on commit f89fbef

Please sign in to comment.