Hi All
I observe the following issue, while testing a scenario for a customer
issue. I send requests to a backend via ESB with multiple header values
set, when PassThrough sender/receiver is used i observed that only the last
header is set. Note that in the passthrough sender config,  only *Set-Cookie:
def=ghi* is set. Hope this is a bug, If you have noticed this before may i
know the patches given to this.


When NIO Sender is used
[2013-10-30 10:05:11,089] DEBUG - headers http-incoming-5 >> POST
/services/TestProxy HTTP/1.1
[2013-10-30 10:05:11,089] DEBUG - headers http-incoming-5 >> User-Agent:
curl/7.27.0
[2013-10-30 10:05:11,089] DEBUG - headers http-incoming-5 >> Host:
localhost:8280
[2013-10-30 10:05:11,090] DEBUG - headers http-incoming-5 >> Accept: */*
[2013-10-30 10:05:11,090] DEBUG - headers http-incoming-5 >> Content-Type:
text/xml
[2013-10-30 10:05:11,090] DEBUG - headers http-incoming-5 >> Set-Cookie:
ATC=abc
[2013-10-30 10:05:11,090] DEBUG - headers http-incoming-5 >> Set-Cookie:
def=ghi
[2013-10-30 10:05:11,095] DEBUG - headers http-outgoing-4 >> POST
/sample-multi-value-response-headers/multi-value.jsp HTTP/1.1
[2013-10-30 10:05:11,096] DEBUG - headers http-outgoing-4 >> Content-Type:
text/xml; charset=UTF-8
[2013-10-30 10:05:11,096] DEBUG - headers http-outgoing-4 >> Accept: */*
[2013-10-30 10:05:11,096] DEBUG - headers http-outgoing-4 >> Set-Cookie:
def=ghi
[2013-10-30 10:05:11,096] DEBUG - headers http-outgoing-4 >> Set-Cookie:
ATC=abc
[2013-10-30 10:05:11,096] DEBUG - headers http-outgoing-4 >>
Transfer-Encoding: chunked
[2013-10-30 10:05:11,097] DEBUG - headers http-outgoing-4 >> Host:
10.100.0.115:9764
[2013-10-30 10:05:11,097] DEBUG - headers http-outgoing-4 >> Connection:
Keep-Alive
[2013-10-30 10:05:11,097] DEBUG - headers http-outgoing-4 >> User-Agent:
Synapse-HttpComponents-NIO
[2013-10-30 10:05:11,100] DEBUG - headers http-outgoing-4 << HTTP/1.1 200 OK

When PassThrough sender is used
[2013-10-30 10:10:16,336] DEBUG - headers http-incoming-1 >> POST
/services/TestProxy HTTP/1.1
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> User-Agent:
curl/7.27.0
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> Host:
localhost:8280
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> Accept: */*
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> Content-Type:
text/xml
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> Set-Cookie:
ATC=abc
[2013-10-30 10:10:16,337] DEBUG - headers http-incoming-1 >> Set-Cookie:
def=ghi
[2013-10-30 10:10:16,373]  INFO - TimeoutHandler This engine will expire
all callbacks after : 120 seconds, irrespective of the timeout action,
after the specified or optional timeout
[2013-10-30 10:10:16,397] DEBUG - headers http-outgoing-1 >> POST
/sample-multi-value-response-headers/multi-value.jsp HTTP/1.1
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> Set-Cookie:
def=ghi
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> Content-Type:
text/xml
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> Accept: */*
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >>
Transfer-Encoding: chunked
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> Host:
10.100.0.115:9764
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> Connection:
Keep-Alive
[2013-10-30 10:10:16,398] DEBUG - headers http-outgoing-1 >> User-Agent:
Synapse-PT-HttpComponents-NIO
[2013-10-30 10:10:16,402] DEBUG - headers http-outgoing-1 << HTTP/1.1 200 OK



-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to