[PATCH] Binding HTTP clients calls to specific interface

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
Hi, list.

Currently the outgoing HTTP sessions take any port (0.0.0.0) for any outgoing
http sessions.
In some cases it is neccessary to bind these sessions to specific interface
(only for HTTP clients calls). There is even some stub for it in http.c
already exists (our_host variable with value NULL).

To be consistent with existing confuration variable wdp-interface-name
I propose implement configuration variable http-interface-name in group wapbox.

Provided patch implement this functionality.
It is quite simple and clean and tested in our enviroment.

Please review and post some comments if it seems not applyable to kannel.

-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
http_interface.patch.gz (application/x-gzip, 1.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.