fixes after review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
f046bdc2c6
commit
a81c1f3880
|
@ -46,7 +46,6 @@ public class HttpReceiverOverHTTP extends HttpReceiver implements HttpParser.Res
|
||||||
public HttpReceiverOverHTTP(HttpChannelOverHTTP channel)
|
public HttpReceiverOverHTTP(HttpChannelOverHTTP channel)
|
||||||
{
|
{
|
||||||
super(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());
|
parser = new HttpParser(this, -1, channel.getHttpDestination().getHttpClient().getHttpCompliance());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ import org.eclipse.jetty.util.log.Logger;
|
||||||
* </dl>
|
* </dl>
|
||||||
* The remainder of the list can contain then names of {@link HttpComplianceSection}s to include them in the mode, or prefixed
|
* 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
|
* 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>.
|
* <code>RFC2616,-RFC7230_3_2_FIELD_COLON,-RFC7230_3_1_1_METHOD_CASE_SENSITIVE</code>.
|
||||||
* <p>
|
* <p>
|
||||||
* Note also that the {@link EnumSet} return by {@link HttpCompliance#sections()} is mutable, so that modes may
|
* Note also that the {@link EnumSet} return by {@link HttpCompliance#sections()} is mutable, so that modes may
|
||||||
|
|
Loading…
Reference in New Issue