Re: [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, Alexandr.
I didn't get your point. How do you want to choose with
each interface to call http_start_request? Is it just round-robin?

I can show you why I using this patch (simplified):
My host has 2 interfaces - into intranet and into internet.
What I want is to allow wap user go to internet only.
So I bind http requests to external interface and that is all.
Requests can't go to intranet now.


Alexander Malysh wrote:
> Hi Slava,
> 
> just a question: your patch sets http-interface static for the whole process 
> (http-interface). Would it make sense to set 'interface' for each http 
> request (i.e. by calling http_start_request with wished interface) ? 
> 
> e.g. one application with 2 threads: first thread starts http request through 
> eth0 and second thread through eth1. such is impossible with attached patch 
> or I'm missing something?
> 
> On Thursday 18 December 2003 09:13, Vjacheslav Chekushin wrote:
> 
>>Hi, Alexander.
>>
>>I've included update to userguide.
>>Could you check, is it enough?
>>
>>Alexander Malysh wrote:
>>
>>>On Tuesday 16 December 2003 13:53, Vjacheslav Chekushin wrote:
>>>
>>>>Hi, Alexander.
>>>>
>>>>The problem is that I haven't write access to CVS ;).
>>>
>>>oops, I thought you have write access...
>>>would you please add new option to userguide and resend a whole patch. I
>>>will commit it then.
>>>
>>>Thanks in advance...
>>>
>>>
>>>>Alexander Malysh wrote:
>>>>
>>>>>Hi Slava,
>>>>>
>>>>>as a known open-source-process , no votes/comments are equal to +0 , so
>>>>>you as a one that have write access should just commit things, because
>>>>>some time for review by others elapsed and no vetos are there.
>>>>>
>>>>>Only one comment from me: I'm +1 for this patch , but please add this
>>>>>new config option to userguide. We _must_ keep userguide uptodate.
>>>>>
>>>>>On Tuesday 16 December 2003 13:00, Vjacheslav Chekushin wrote:
>>>>
> 


-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
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.