[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] some suggestions for microhttpd
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] some suggestions for microhttpd |
Date: |
Sat, 12 Jul 2008 22:15:29 -0600 |
User-agent: |
KMail/1.9.9 |
Hi!
Doing a POST example sounds easy and might make sense. I don't think I'll
have time to do it soon, but I'll be happy to accept a patch that adds an
example for how to do it.
I do, however, disagree with using Boehm's GC with MHD (or even complicating
the build system for it and thus encouraging this), there is only reference
counting for response objects (minimal use) and keeping the code clean
(memory-wise) is crucial for a decent C library. As far as I see it, if
certain users for some really odd reason need to use Boehm, they can always
define their CFLAGS/LDFLAGS environment variables as needed.
As far as the PDF documentation goes -- I didn't do anything special when
building it from the texinfo document (which is public in subversion). If
there are some options that I should use for better results, please let me
know what those options should be.
My 2 cents!
Christian
On Saturday 12 July 2008 10:44:11 am Basile STARYNKEVITCH wrote:
> Hello All
>
> I have some suggestions for microhttpd.
>
> code a simple POST-based example which basically add the number in a
> field of a form and also displays a counter. Put this code as an example
> in the documentation (and avoid using libcurl in it).
>
> less easy: provide some way to use Boehm's GC in microhttpd, hence
> avoiding all the refcount stuff. Perhaps a ENABLE_BOEHMGC flag could be
> nice, with an --enable-boehmgc configure option.
>
> build the PDF version of the documentation with PDF (vector, not bitmap)
> fonts. I tried to print with pd2ps microhttpd.pdf | psnup -2 | lpr and
> the result is horrible (because of bitmap fonts).
>
>
> Thanks for the microhttpd effort!
>
> Regards.