Commit Graph
116 Commits
Author SHA1 Message Date
Christian Grothoff 7b221e3a6a initial draft for digest authentication (based on patch R3) 2010-08-22 14:49:48 +00:00
Christian Grothoff cf741b6cbc changing default feature set to include HTTPS and allowing disabling of post processor 2010-08-19 12:37:20 +00:00
Christian Grothoff 02dc5b39a1 [libmicrohttpd] Patches for Windows version of libmicrohttpd
From: 
Gerrit Telkamp <g.telkamp@domologic.de>
  To: 
libmicrohttpd@gnu.org
  Date: 
Today 11:42:30
  Attachments: 
 libmicrohttpd-windows.patch
   
  It was a bit tricky to build libmicrohttpd (SVN trunk) for Windows. 
I'm using the newest MSYS/MinGW environment (GCC 4.5.1).
I've optimized the autoconf feature, so this should be easier in future. 
Please find enclosed my patches.

In detail:
1- libmicrohttpd needs the "PlibC" library under Windows (libplibc.a). 
Methods of PlibC are referenced by src/daemon/daemon.c.
autoconf assumes that PlibC is installed on the Build environment and 
does not check this.
If PlibC is not installed, the pthreads check (see "acinclude.m4") will 
fail and stops with the wrong error message "Your system is not 
supporting pthreads". This is very confusing.

The patch includes an additional check for PlibC, before pthreads is 
used. The check is only done under cygwin and mingw environments.

Furthermore, an older version of plibc.h was in the include directory. 
This gives some problems if you are using a newer version of the PlibC 
library. So I propose to exclude src/include/plibc.h from the SVN

Files affected:
acinclude.m4 (modified)
configure.ac (modified)
src/include/plibc.h (deleted)

2- setsockopt() uses a different parameter type under Windows ("optval" 
is const char). This caused an error when src/daemon/daemon.c was compiled.

The patch enclosed includes a different call of the setsockopt() on 
Windows machines.
Important: IPV6_V6ONLY is not available on Windows machines < Windows 7! 
So this parameter is "0". But there is a TODO comment, maybe someone has 
an idea how to solve this on Windows XP machines.

Files affected:
src/daemon/daemon.c (modified)

I have tested the patch on a MinGW / MSYS environment only.

Best regards

Gerrit.

libmicrohttpd-windows.patch
2010-08-19 11:27:17 +00:00
Christian Grothoff 37351b1556 log 2010-08-14 13:44:17 +00:00
Christian Grothoff d728fa1b45 fixing memory leak 2010-08-06 10:52:44 +00:00
Christian Grothoff 09666c65f6 fixing time underflow bug 2010-08-05 20:41:23 +00:00
Christian Grothoff 761267757c ready for 0.9.0 2010-07-26 16:57:47 +00:00
Christian Grothoff 8157744d45 systemd and sendfile support 2010-07-25 13:17:10 +00:00
Christian Grothoff 63b5f01682 getting gnutls tests to pass: 2010-07-25 09:47:50 +00:00
Christian Grothoff a90ce65429 better 2010-06-13 09:04:38 +00:00
Christian Grothoff 6d61fa3461 better version handling 2010-04-23 07:57:18 +00:00
Christian Grothoff 021297349b allow NULL for max arg to get_fdset 2010-04-01 21:53:24 +00:00
Christian Grothoff a747d35a8b bugfix 2010-03-10 12:19:27 +00:00
Christian Grothoff 2fb1e810a3 fix 2010-02-23 08:17:35 +00:00
Christian Grothoff 53f06907c7 log 2010-02-20 09:02:03 +00:00
Christian Grothoff ab7f657241 log 2010-02-09 19:44:35 +00:00
Christian Grothoff 96dfca44a7 release 2010-01-28 20:41:36 +00:00
Christian Grothoff 747adebc63 fixing alignment issue 2010-01-28 20:14:18 +00:00
Christian Grothoff 4d1ae2b8a6 indent 2009-12-23 18:41:13 +00:00
Nils Durner 744e4d4ba0 Don't depend on poll.h 2009-12-17 19:29:17 +00:00
Christian Grothoff 1f30b19f99 docu 2009-12-04 12:18:07 +00:00
Christian Grothoff 4856b2cf00 docu 2009-11-16 13:42:08 +00:00
Christian Grothoff c3b093d70a cleaning up and documenting panic callback 2009-11-12 15:27:11 +00:00
Christian Grothoff a952ad938c [libmicrohttpd] large file descriptors
From: 
John Muth <muth@parascale.com>
  To: 
libmicrohttpd@gnu.org
  Date: 
Yesterday 18:35:25

Hi Christian,

We are using libmicro http in our application. Our application runs on Linux
and uses a large number of file descriptors (> 1024). Unfortunately the
Linux fdset's only have room for 1024 fd's.

I made changes to the 0.4.4 source to support poll instead of select so we
could get around the file descriptor issue. I've attached the diffs if you
are interested.

-John Muth
Parascale
2009-11-11 11:55:34 +00:00
Christian Grothoff ba9c5760a5 releasing 0.4.4 2009-10-28 19:46:30 +00:00
Christian Grothoff 41d87442e6 Trying to fix the issue reported on the mailinglist at
http://lists.gnu.org/archive/html/libmicrohttpd/2009-10/msg00013.html
2009-10-14 12:39:50 +00:00
Christian Grothoff 9da66fe9cd dual licensing 2009-10-11 13:01:59 +00:00
Christian Grothoff f6f79e051a Dear Christian Grothoff
Thanks for libmicrohttpd! It's really useful for writing unit tests
for http clients and code interacting with http servers.

I mostly write code for Symbian, so I ported the library to Symbian
OS. You can see the patch at http://codereview.appspot.com/130056/show
. I'm not sure if you agree with how the changes have been structured,
but hopefully we can work towards a version that can be integrated.
Note that Symbian doesn't have autoconf and only a partial C library.

Best regards,

   Mika Raento
2009-10-11 09:31:57 +00:00
Christian Grothoff fe971e29c0 check for pthread return vals 2009-10-09 13:22:23 +00:00
Christian Grothoff b99f8207ec limit sockets to < FD_SETSIZE 2009-10-08 08:43:52 +00:00
Christian Grothoff f0ca101e22 add 2009-10-05 19:17:51 +00:00
Christian Grothoff 35723abc67 document defaults as suggested by
Michael Lenaghan <michaell@dazzit.com>
2009-10-05 06:29:41 +00:00
Christian Grothoff 2acd5451ce release 2009-08-29 10:41:18 +00:00
Christian Grothoff e19500f02b feature 2009-08-26 09:12:48 +00:00
Christian Grothoff 07e48b90fc fixing double-read issue 2009-08-03 22:21:33 +00:00
Christian Grothoff 767fae2710 bumping version for release 2009-05-17 09:31:58 +00:00
Christian Grothoff 8f4deef998 grow buffer earlier 2009-05-15 17:53:25 +00:00
Christian Grothoff 6d8b462082 fixing issue with completed notification being called multiple times 2009-05-15 03:22:33 +00:00
Christian Grothoff 1fb2f7354f docu 2009-05-11 19:01:21 +00:00
Nils Durner fce83360ae add MHD_get_version() 2009-04-01 19:34:19 +00:00
Christian Grothoff 18e82626c7 rel 2009-03-19 05:01:19 +00:00
Christian Grothoff c8a1be0f87 release 2009-03-19 04:49:16 +00:00
Christian Grothoff e9128f7887 various bugfixes and docu updates 2009-03-17 07:34:32 +00:00
Christian Grothoff 74cb555978 64-bit and unknown response size fix 2009-03-03 06:53:03 +00:00
Christian Grothoff a02c0ea361 ack 2009-02-18 15:15:03 +00:00
Christian Grothoff 2c53619aff always define connection_info 2009-02-17 04:12:49 +00:00
Christian Grothoff 553b57e1ad bldfx 2009-02-09 04:22:26 +00:00
Christian Grothoff b90c37b2f3 incompatible API change to allow 64-bit uploads and downloads on 32-bit systems 2009-02-06 06:12:33 +00:00
Christian Grothoff 8c8db696a0 allow clients to get address information later 2009-02-06 03:22:00 +00:00
Christian Grothoff b96f4c727b fixing 1447 2009-02-03 05:22:32 +00:00