Commit Graph
702 Commits
Author SHA1 Message Date
Christian Grothoff ec00668fa3 code cleanup, finding issues 2010-08-22 19:24:12 +00:00
Christian Grothoff f0faeef43a avoid mallocing buffer 2010-08-22 19:11:29 +00:00
Christian Grothoff d6ede65851 more code cleanup 2010-08-22 16:16:13 +00:00
Christian Grothoff 91cac4d324 de-gcryptifing 2010-08-22 16:04:23 +00:00
Christian Grothoff daa1e7fa97 indentation 2010-08-22 15:03:32 +00:00
Christian Grothoff 9e7a668f09 some cleanup 2010-08-22 14:57:21 +00:00
Christian Grothoff 7b221e3a6a initial draft for digest authentication (based on patch R3) 2010-08-22 14:49:48 +00:00
Matthias Wachs 53d412023b Added timeout testcase 2010-08-20 16:26:12 +00:00
Christian Grothoff 2a034dfadb simplifying tests by not using file on disk for test data 2010-08-19 13:55:26 +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 c04fb9d426 fix 2010-08-19 12:36:15 +00:00
Christian Grothoff 72b1990a0c move plibc to prefer system-wide plibc.h over our version 2010-08-19 12:10:50 +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
Matthias Wachs 24687543ab FIXED: wrong time arithmetic preventing incoming connections 2010-08-17 14:02:00 +00:00
Christian Grothoff 7a60acb345 document problem DV had 2010-08-16 12:33:19 +00:00
Christian Grothoff 37351b1556 log 2010-08-14 13:44:17 +00:00
Christian Grothoff 2dc0e963e7 avoid a few strlen calls 2010-08-14 13:23:35 +00:00
Christian Grothoff 43886eea41 fixing potential leak 2010-08-14 13:10:44 +00:00
Christian Grothoff 67ecb45b53 fix leak 2010-08-14 13:04:35 +00:00
Christian Grothoff dda12c4274 ignore 2010-08-07 21:55:10 +00:00
Christian Grothoff fba10f365d fix 2010-08-06 11:34:25 +00:00
Christian Grothoff d728fa1b45 fixing memory leak 2010-08-06 10:52:44 +00:00
Christian Grothoff d33dea21fe fix 2010-08-06 10:51:55 +00:00
Christian Grothoff 09666c65f6 fixing time underflow bug 2010-08-05 20:41:23 +00:00
Christian Grothoff bdf374b29a fixing Mantis 1594 2010-07-30 04:53:42 +00:00
Christian Grothoff cf17555746 picky 2010-07-27 13:09:38 +00:00
Christian Grothoff 0f0f7fb623 fix 2010-07-27 13:04:16 +00:00
Christian Grothoff 837986c67b cleaning 2010-07-27 12:55:20 +00:00
Christian Grothoff 036178a547 add libgcrypt, Mantis 1588 2010-07-27 05:04:59 +00:00
Christian Grothoff 14f9e81936 stuff 2010-07-26 20:03:04 +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 eaba29f571 dead 2010-07-25 10:30:29 +00:00
Christian Grothoff 3b17bb4814 docu updates, API extensions, version bump 2010-07-25 10:25:22 +00:00
Christian Grothoff 63b5f01682 getting gnutls tests to pass: 2010-07-25 09:47:50 +00:00
Christian Grothoff 67851b280e GHM hacking 2010-07-25 07:17:26 +00:00
Christian Grothoff 58d06b2255 towards using libgnutls directly 2010-07-24 15:24:50 +00:00
Christian Grothoff 29529aefd1 fix 2010-07-09 11:11:00 +00:00
Christian Grothoff 7b0a0ab132 code cleanup 2010-07-07 17:34:47 +00:00
Christian Grothoff 690283f92f ignor 2010-06-20 12:46:40 +00:00
Christian Grothoff f1f125ec8d fix NPE 2010-06-13 15:11:44 +00:00
Christian Grothoff ee092d7c12 fix 2010-06-13 09:50:07 +00:00
Christian Grothoff fbb52177e2 more 2010-06-13 09:14:50 +00:00
Christian Grothoff 9ced8cdf8b use unsigned char 2010-06-13 09:08:24 +00:00
Christian Grothoff b6ed288d26 better 2010-06-13 09:06:34 +00:00
Christian Grothoff 0b23a93cb2 better 2010-06-13 09:05:57 +00:00
Christian Grothoff a90ce65429 better 2010-06-13 09:04:38 +00:00
Christian Grothoff 2ff4a9d580 voidcasts 2010-06-13 08:51:33 +00:00
Christian Grothoff f710701c82 clean up example code 2010-06-13 08:47:17 +00:00
Christian Grothoff 2dedef2d86 cleaner 2010-06-13 08:07:01 +00:00