fixes after review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-01-08 16:09:22 +01:00
parent f046bdc2c6
commit a81c1f3880
2 changed files with 1 additions and 2 deletions

View File

@ -46,7 +46,6 @@ public class HttpReceiverOverHTTP extends HttpReceiver implements HttpParser.Res
public HttpReceiverOverHTTP(HttpChannelOverHTTP channel)
{
super(channel);
// TODO: Seems to be not the optimal way to get the compliance mode
parser = new HttpParser(this, -1, channel.getHttpDestination().getHttpClient().getHttpCompliance());
}

View File

@ -42,7 +42,7 @@ import org.eclipse.jetty.util.log.Logger;
* </dl>
* The remainder of the list can contain then names of {@link HttpComplianceSection}s to include them in the mode, or prefixed
* with a '-' to exclude thm from the mode. Note that Jetty's modes may have some historic minor differences from the strict
* RFC compliance, for example the <code>RFC2616</code> HttpCompliance is defines as
* RFC compliance, for example the <code>RFC2616</code> HttpCompliance is defined as
* <code>RFC2616,-RFC7230_3_2_FIELD_COLON,-RFC7230_3_1_1_METHOD_CASE_SENSITIVE</code>.
* <p>
* Note also that the {@link EnumSet} return by {@link HttpCompliance#sections()} is mutable, so that modes may