libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] How calling MHD_start_daemon() to get deflate compre


From: Emmanuel Engelhart
Subject: Re: [libmicrohttpd] How calling MHD_start_daemon() to get deflate compression?
Date: Tue, 22 Jun 2010 22:29:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/06/2010 16:49, Christian Grothoff wrote:
> There is no build-in support for compression in MHD.  However, you can 
> yourself check request headers, add the appropriate response header and 
> generate a compressed response.  So there is no "easy" way to do this (as in, 
> as easy as setting a flag), but OTOH it is quite possible to support 
> compressed content with MHD.

Thank you for your answer, I have implemented it by myself:
http://kiwix.svn.sourceforge.net/viewvc/kiwix/moulinkiwix/src/server/kiwix-serve.cpp?view=markup

Emmanuel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwhHTQACgkQn3IpJRpNWtPnFgCgldQcaiJW7T2fqZsnHo2Z3FVK
AlgAoJFY1bu44f8uEH+i/zAOkicXM3mK
=jvCs
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]