Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2900 | major | always | 09-04-08 02:02 | 09-19-08 11:12 | |
|
|||||
Reporter: | ksullivan | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | 3.1.7 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.2.1 | ||
|
|||||
Summary: | 0002900: Repeated headers not passed in response | ||||
Description: |
Issue 2637 reports that the bug with repeated header names going from the client to the Origin Server are passed - this seems to work in 3.1.7. It is also reported that repeated headers, e.g. Set-Cookie headers are passed on the way back from the Origin Server to the client. This does not seem to be working in 3.1.7. The code (from file HttpProxyServlet.java) that deals with passing the headers back in the response is (irrelevant stuff snipped): Iterator iter = rs.getAttributeNames(); while (iter.hasNext()) { String name = (String) iter.next(); res.addHeader(name, (String) rs.getAttribute(name)); } rs.getAttributeNames() only returns one instance of each header name. Even if it didn't, rs.getAttribute(name) would only be able to return one of the values assigned to the header. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | HttpStream.java [^] (19,647 bytes) 09-07-08 10:55 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|