[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] HTTP Digest Auth done
From: |
Amr Ali |
Subject: |
[libmicrohttpd] HTTP Digest Auth done |
Date: |
Tue, 17 Aug 2010 22:00:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Christian,
I'm finally done with this module, I replaced the idea of an internal buffer
that stores nonces with implementing a timeout mechanism for each nonce that is
actually embedded into the nonce, so no need for increasing the memory
footprint. I however made the nonce timeout to be 300 seconds (which IMNSHO is
quote enough), its already made as a macro that you can override with
- -DNONCE_TIMEOUT <SECONDS>.
I made an example C program for it as well, its completely based on
minimal_example.c just changed/deleted a few calls.
As for combining this with MHD, I wanted to discuss how you want this to be
combined. The setup I have right now includes the files `digestauth.c' and
`digestauth.h' in src/daemon/Makefile.am, same goes for `digest_auth_example.c'.
I can change configure.ac to make it optional and not enabled by default, so if
someone wants this, he/she has to compile it from source with something like
"--enable-digest-auth"?
If you think this is good enough I'll make a patch for a the whole thing and
send it your way. If not, please let me know what you have in your mind.
Best regards,
Amr Ali
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkxq6lIACgkQ2VxGY2VcpojX8wCeNv4lmqdqDTpEJMKcbtJ45nMn
DisAn3PRAUEG+59ooVdbZTO+5tK06FxD
=Ylsh
-----END PGP SIGNATURE-----
- [libmicrohttpd] HTTP Digest Auth done,
Amr Ali <=
- [libmicrohttpd] Re: HTTP Digest Auth done, Christian Grothoff, 2010/08/18
- [libmicrohttpd] Re: HTTP Digest Auth done, Amr Ali, 2010/08/18
- [libmicrohttpd] Re: HTTP Digest Auth done, Amr Ali, 2010/08/19
- [libmicrohttpd] Re: HTTP Digest Auth done, Christian Grothoff, 2010/08/19
- [libmicrohttpd] Re: HTTP Digest Auth done, Amr Ali, 2010/08/19
- Re: [libmicrohttpd] Re: HTTP Digest Auth done, Carlos Henrique JĂșnior, 2010/08/19
- Re: [libmicrohttpd] Re: HTTP Digest Auth done, Amr Ali, 2010/08/19