With servlet STRICT, at least 2 String objects per header line. (more for
multi-value header lines)

AFAIK, the reused header strings are still strict in the sense of HTTP, but
not strict in the sense of servlet spec.


--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Thu, Oct 17, 2013 at 6:26 AM, Ben Summers <[email protected]> wrote:

>
> On 17 Oct 2013, at 06:23, Joakim Erdfelt <[email protected]> wrote:
>
> >
> > Looks like a org.eclipse.jetty.http.HttpGenerator.STRICT property would
> be
> > the equivalent one for the response headers.
> >
> > Know that strict behavior will increase memory usage.
> > Essentially with strict usage, no string portions can be reused, making
> > every request (and now response) effectively churn the GC for no good
> > reason.
>
>
> Approximately how many objects would this create per request?
>
> It doesn't feel quite right that the web server is rewriting the headers
> on the responses.
>
> Thanks!
>
> Ben
>
>
>
> --
> http://bens.me.uk
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to