Re: the ABI/API thing, next step

2008-12-02 Thread Brad Spencer
On Mon, Dec 01, 2008 at 08:23:05PM +0100, Daniel Stenberg wrote: > Instead I want to introduce: > > ares_dup_channel() that instead can make a new channel and clone the config > used from an existing channel. It will then clone all config options, > including future new things we add. > > ares_

Re: c-ares crashes

2008-12-02 Thread Gerald Combs
Andreas Rieke wrote: > Hi, > > when using c-ares in the current version 1.5.3 under RedHat linux, my > application sometimes crashes when receiving very long replies. After > initializing c-ares, I call ares_gethostbyaddr, and that function works > well. I see the request going out with my wiresha

c-ares crashes

2008-12-02 Thread Andreas Rieke
Hi, when using c-ares in the current version 1.5.3 under RedHat linux, my application sometimes crashes when receiving very long replies. After initializing c-ares, I call ares_gethostbyaddr, and that function works well. I see the request going out with my wireshark, and most times, the response

Re: the ABI/API thing, next step

2008-12-02 Thread Daniel Stenberg
On Tue, 2 Dec 2008, Brad House wrote: I'd prefer not to have ares_save_options() deprecated. I'm actually using it to cache the config outside of any connection context as I can't guarantee there is a connection context available at that point. I guess I could keep a connection context around

Re: the ABI/API thing, next step

2008-12-02 Thread Brad House
Instead I want to introduce: ares_dup_channel() that instead can make a new channel and clone the config used from an existing channel. It will then clone all config options, including future new things we add. I simply call it ares_dup() now. See attachment for my work in progress. If nobod

Re: the ABI/API thing, next step

2008-12-02 Thread Daniel Stenberg
On Mon, 1 Dec 2008, Daniel Stenberg wrote: Instead I want to introduce: ares_dup_channel() that instead can make a new channel and clone the config used from an existing channel. It will then clone all config options, including future new things we add. I simply call it ares_dup() now. See

Re: Using docbook for man pages

2008-12-02 Thread Daniel Stenberg
On Tue, 2 Dec 2008, Gregor Jasny wrote: For one of my c-ares changeset, I need to write a manual page. I've noticed that all the manpages are written in directly in roff. Have you ever considered using docbook/sgml for authoring and convert it to roff at install time? Well, I'd say there are

Using docbook for man pages

2008-12-02 Thread Gregor Jasny
Hi, For one of my c-ares changeset, I need to write a manual page. I've noticed that all the manpages are written in directly in roff. Have you ever considered using docbook/sgml for authoring and convert it to roff at install time? I'd volunteer converting the existing manpages to the new