Re: [SR-Users] Appended headers are not added in serial forking

2010-04-21 Thread Alex Balashov
On 04/20/2010 05:08 PM, Iñaki Baz Castillo wrote: 2010/4/20 Alex Balashov: Hi, yes, a workaround is adding the headers in branch_route, it works. However I wonder if the expected behavior is that added headers are not keep in serial forking. Well, it could make sense. I just want to confirm. I

Re: [SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Iñaki Baz Castillo
2010/4/20 Alex Balashov : >> Hi, yes, a workaround is adding the headers in branch_route, it works. >> However I wonder if the expected behavior is that added headers are >> not keep in serial forking. Well, it could make sense. I just want to >> confirm. > > I too am surprised by this.  It seems t

Re: [SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Alex Balashov
On 04/20/2010 12:46 PM, Iñaki Baz Castillo wrote: 2010/4/20 Juha Heinanen: lcr module does nothing to any headers, just destination set. what i do, i add gw specific headers in branch route block separately for each gw. if your gws share the headers, you should be able to add them in route blo

Re: [SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Iñaki Baz Castillo
2010/4/20 Iñaki Baz Castillo : > Hi, yes, a workaround is adding the headers in branch_route, it works. > However I wonder if the expected behavior is that added headers are > not keep in serial forking. Well, it could make sense. I just want to > confirm. Issue solved! The problem is that I was

Re: [SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Iñaki Baz Castillo
2010/4/20 Juha Heinanen : > lcr module does nothing to any headers, just destination set.  what i > do, i add gw specific headers in branch route block separately for each > gw.  if your gws share the headers, you should be able to add them in > route block before starting to call next_gw()s and t_

[SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Juha Heinanen
Iñaki Baz Castillo writes: > Hi, I receive a request, append some custom headers and use > "load_gws()" (from LCR module). > If the first gateway fails I do "next_gw()" and this second request to > the second gateway doesn't contain the previously appended custom > headers. > > Is it the e

[SR-Users] Appended headers are not added in serial forking

2010-04-20 Thread Iñaki Baz Castillo
Hi, I receive a request, append some custom headers and use "load_gws()" (from LCR module). If the first gateway fails I do "next_gw()" and this second request to the second gateway doesn't contain the previously appended custom headers. Is it the expected behavior? -- Iñaki Baz Castillo _