[ 
https://issues.apache.org/jira/browse/SOLR-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614649#action_12614649
 ] 

Lars Kotthoff commented on SOLR-632:
------------------------------------

Jetty explicitely removes all headers related to caching (except pragma) when 
calling sendError() from SVN version 1917. I think that removing the headers is 
a sensible thing to do, as they could instruct a cache to store the error 
message.

I've filed a Jetty issue to set the Cache-Control header to explicitely 
prohibit caching (https://jira.codehaus.org/browse/JETTY-646). If we want to 
get the new Jetty version in with the 1.3 release then it's probably best to 
change the failing unit test to verify that at least no header instructing any 
caches to store the reply is set. OTOH, having Jetty change the headers on its 
own is probably going to require some changes to the HTTP caching code.

> Upgrade bundled Jetty with latest from vendor
> ---------------------------------------------
>
>                 Key: SOLR-632
>                 URL: https://issues.apache.org/jira/browse/SOLR-632
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Norberto Meijome
>            Assignee: Erik Hatcher
>            Priority: Minor
>             Fix For: 1.3
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The Jetty that is bundled for the example application is version 6.1.3, which 
> is over a year old.
> We should upgrade Jetty to the latest, 6.1.11.
> I am not sure how to attach a patch to remove files, so these are the steps :
> Using as base the root of 'apache-solr-nightly':
> DELETE:
> example/lib/jetty-6.1.3.jar
> example/lib/jetty-util-6.1.3.jar
> example/lib/servlet-api-2.5-6.1.3.jar
> ADD
> example/lib/jetty-6.1.11.jar
> example/lib/jetty-util-6.1.11.jar
> example/lib/servlet-api-2.5-6.1.11.jar
> ---
> The files to be added can be found in Jetty's binary distribution file :
> http://dist.codehaus.org/jetty/jetty-6.1.11/jetty-6.1.11.zip
> I couldn't find any noticeable changes in jetty.xml that should be carried 
> over.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to