cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Commented] (CXF-4930) Adding a http header using interceptors fails with messages above 4KB
Date Wed, 27 Mar 2013 15:19:16 GMT


Daniel Kulp commented on CXF-4930:

Move the interceptor up in the chain.   Likely USER_LOGICAL instead of POST_PROTOCOL. Anything
after PRE_STREAM and things MAY have been already written to the output stream at which point
it would be too late to add extra headers.

> Adding a http header using interceptors fails with messages above 4KB
> ---------------------------------------------------------------------
>                 Key: CXF-4930
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, OSGi
>    Affects Versions: 2.7.2
>         Environment: Both windows and Linux, Java 1.6, server is a Tomcat 7, the client
is a RAP/RCP 3.8.1 osgi application
>            Reporter: Michel Lampo
>         Attachments:
> I have created an in-interceptor on the client to read the http-headers and save the
JSESSIONID cookie value.
> Using an out-interceptor on the client I then put this value in each request. This way
we know which user did the request.
> This works fine if the http request are smaller then 4KB. (Sniffed with wireshark) If
it's larger, the http header with the JSESSIONID is not added. Using breakpoints I've been
able to step through the interceptor code and it works without a problem but the header is
just not there.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message