Issue #3012 Compliance modes.
unused field Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
e92808156d
commit
6baa4a96f7
|
@ -97,17 +97,9 @@ public final class HttpCompliance implements ComplianceViolation.Mode
|
|||
|
||||
public final static List<HttpCompliance> KNOWN_MODES = Arrays.asList(RFC7230,RFC2616,LEGACY,RFC2616_LEGACY,RFC7230_LEGACY);
|
||||
|
||||
|
||||
public static final String VIOLATIONS_ATTR = "org.eclipse.jetty.http.compliance.violations";
|
||||
|
||||
private static final Logger LOG = Log.getLogger(HttpParser.class);
|
||||
private static EnumSet<Violation> violationByProperty(String property)
|
||||
{
|
||||
String s = System.getProperty(HttpCompliance.class.getName()+property);
|
||||
return violationBySpec(s==null?"*":s);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create violation set from string
|
||||
|
|
Loading…
Reference in New Issue