Hi,

I send a patch to the list so that it can be considered and merged to the main code if accepted.

We need to add several headers to the request but it seems that AddHeader just honors the last occurrence of the directive. Even more, several AddHeader directives doesn't rise an error or warning. All of them are processed and the string created with previus strdup() call seems not to be freed.

The patch sent:
* modify config.c to concatenate all the headers in the LISTENER struct member add_head with the needed "\r\n". * modify the comment to LISTENER struct member add_head to reflect that AddHeader works also with HTTP an not only HTTPS, in pound.h
   * modify man page pound.8 to reflect the changes.

I hope it can be of any help for others.

On the other hand, I would like to know about the patch that someone send to the list to get sticky sessions by injecting cookies in the replies to client, as other commercial products do. Are there any plans to merge it?

Thanks for pound and to all the community arround it.

--
Francisco Ruiz
[email protected]

Ahorrar papel protege el medio ambiente

Attachment: pound-2.5-MultipleAddHeaderHonored.diff.gz
Description: GNU Zip compressed data

Reply via email to