Merged branch 'master' into 'jetty-9.1'.

This commit is contained in:
Simone Bordet 2013-07-26 19:17:30 +02:00
commit 89be2de57f
2 changed files with 7 additions and 6 deletions

View File

@ -67,10 +67,8 @@ public class HttpTester
{
Response r=new Response();
HttpParser parser =new HttpParser(r);
if (parser.parseNext(response))
return r;
else
return null;
parser.parseNext(response);
return r;
}
@ -93,7 +91,7 @@ public class HttpTester
{
_version=version;
}
public void setContent(byte[] bytes)
{
try

View File

@ -19,6 +19,7 @@
package org.eclipse.jetty.servlets;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@ -1066,8 +1067,10 @@ public class DoSFilter implements Filter
* A RateTracker is associated with a connection, and stores request rate
* data.
*/
class RateTracker extends Timeout.Task implements HttpSessionBindingListener, HttpSessionActivationListener
class RateTracker extends Timeout.Task implements HttpSessionBindingListener, HttpSessionActivationListener, Serializable
{
private static final long serialVersionUID = 3534663738034577872L;
transient protected final String _id;
transient protected final int _type;
transient protected final long[] _timestamps;