curl-library
Re: Stripped keep-alive header
Date: Sat, 14 Jan 2006 00:45:28 +0800
On 1/13/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 13 Jan 2006, Allen Chan wrote:
>
> (from a previous mail)
>
> > Btw, how do i send this in? What diff program do you use?
>
> diff unified diff format. Use (GNU) 'diff -u'.
okay, thanks. I'm on windows though so I'll have to look the programs up.
>
> > curl_easy_getinfo(http_handle, CURLINFO_PORT, &port);
> > curl_easy_setopt(http_handle, CURLOPT_LOCAL_PORT, 1000);
>
> This is an obvious inconsistency. I suggest both are called *_LOCAL_PORT to
> separate them better from other options named *_PORT when talking about a
> remote port number.
Sorry about that, haha, an obvious mistake.
> > I would like to hear any suggestions on how this particular effort should
> > move forward. Perhaps feature requests? I'm out of ideas after
> > CURLOPT_LOCAL_PORT.
>
> I suggest you post a patch as a next step. Then we can offer feedback and
> comments on the approach you've taken so far.
I'll get right on it on monday. Have a great weekend! =D Thanks for the help
Received on 2006-01-13