Thierry Boileau <thierry.boileau <at> noelios.com> writes:

> 
> 
> Hello Aaron,you can have a look at the documentation page for
> the connectors
> (http://www.restlet.org/documentation/1.1/connectors#server_connectors).
> The parameter is set on the server connector, not the application or
> the component.Server server = new Server(Protocol.HTTP, 8182, restlet);
> server.getContext().getParameters().add("useForwardedForHeader", "true");
> component.getServers().add(server);
> 
> >2) What's the best way to do a sanity check to confirm that
> Jetty is indeed using this new value for requestBufferSize?
> Are there any Jetty specialist ?
> Best regards,
> Thierry Boileau
> -- Restlet
> ~ Core developer ~ http://www.restlet.orgNoelios Technologies ~ Co-founder ~
http://www.noelios.com

Hi Thierry,

Thank you very much, I didn't realize the difference between going through the
Server and the other ways to do getContext(). This appears to be working, and
the way I can tell that the setting takes effect is that dramatically different
values yield dramatically different performance characteristics.

Thanks again!
Aaron

Reply via email to