Commit Graph
870 Commits
Author SHA1 Message Date
Christian Grothoff d7df013c79 logo 2011-07-25 14:13:09 +00:00
Christian Grothoff 0216a0f9b3 avoid asprintf 2011-07-18 06:46:18 +00:00
Christian Grothoff 0601a3bf71 fix nonce type 2011-07-16 20:43:02 +00:00
Christian Grothoff fe670ad8b5 counters 2011-07-13 09:25:38 +00:00
Christian Grothoff a6bfcb91f7 fix 2011-07-13 08:06:45 +00:00
Christian Grothoff 7c7952c9d3 bumps 2011-07-10 18:21:59 +00:00
Christian Grothoff 3a801de937 adding perf measurements 2011-07-07 08:25:55 +00:00
Christian Grothoff 1e865f76ca fix 2011-07-02 17:18:45 +00:00
Christian Grothoff 172aac8234 fixing connection close issue mentioned by Robert Varga on MHD mailinglist 2011-06-22 12:33:32 +00:00
Christian Grothoff a88ac9f2ec docu 2011-06-22 08:50:38 +00:00
Christian Grothoff 46649e53fe improve performance by using shutdown on client sockets instead of poll/select on listen socket 2011-06-22 08:38:48 +00:00
Christian Grothoff a84334b18d docu 2011-06-22 08:28:49 +00:00
Christian Grothoff 21bf15d021 only call MHD_get_timeout if not in thread-per-connection mode 2011-06-22 08:25:00 +00:00
Christian Grothoff 9b84b053cf must insert into DLL before creating thread 2011-06-22 08:08:07 +00:00
Christian Grothoff 3b0808ef21 race 2011-06-21 22:04:16 +00:00
Christian Grothoff 901090b07b fixing race condition, minor leak, O(n) shutdown is now O(1) 2011-06-21 13:00:30 +00:00
Christian Grothoff 94bb1bb839 moving monkey 2011-06-16 10:14:25 +00:00
Christian Grothoff 1975afb1ef fixing 1688 2011-06-11 11:15:53 +00:00
Christian Grothoff 2f9cdec6ae From:
Jim Meyering <jim@meyering.net>
  To: 
libmicrohttpd@gnu.org
  Date: 
Today 10:17:27
   
I sent this change before, along with the s/are/is/ change,
but I guess you didn't see it:

Index: doc/microhttpd.texi
===================================================================
--- doc/microhttpd.texi (revision 15482)
+++ doc/microhttpd.texi (working copy)
@@ -269,7 +269,7 @@
 @deftp {Enumeration} MHD_FLAG
 Options for the @mhd{} daemon.

-Note that if neither @code{MHD_USER_THREAD_PER_CONNECTION} nor
+Note that if neither @code{MHD_USE_THREAD_PER_CONNECTION} nor
 @code{MHD_USE_SELECT_INTERNALLY} is used, the client wants control over
 the process and will call the appropriate microhttpd callbacks.

Index: src/include/microhttpd.h
===================================================================
--- src/include/microhttpd.h    (revision 15482)
+++ src/include/microhttpd.h    (working copy)
@@ -306,7 +306,7 @@

 /**
  * Options for the MHD daemon.  Note that if neither
- * MHD_USER_THREAD_PER_CONNECTION nor MHD_USE_SELECT_INTERNALLY is
+ * MHD_USE_THREAD_PER_CONNECTION nor MHD_USE_SELECT_INTERNALLY is
  * used, the client wants control over the process and will call the
  * appropriate microhttpd callbacks.<p>
2011-06-09 15:53:14 +00:00
Christian Grothoff c95bec7b8d bump 2011-06-03 15:31:40 +00:00
Christian Grothoff 3bfdf879ca new MHD_CONNECTION_INFO_DAEMON 2011-06-03 15:31:09 +00:00
Christian Grothoff 01604d646a stuff 2011-06-01 07:47:03 +00:00
Christian Grothoff 14e83908bb trying to fix timeout issue 2011-05-25 14:25:00 +00:00
Christian Grothoff f0fce31fbf releasing 0.9.11 2011-05-20 20:16:56 +00:00
Christian Grothoff abd339daa9 Fixing 1668 2011-05-20 20:12:57 +00:00
Christian Grothoff 835e6c52c7 Fixing 1668 2011-05-20 20:12:36 +00:00
Christian Grothoff c60a0d6679 fixing Mantis 1680 2011-05-20 17:36:07 +00:00
Christian Grothoff 2d4212f257 fixthefix 2011-05-16 11:24:47 +00:00
Christian Grothoff e91e6d3a37 bugfix by hzm 2011-05-12 12:42:46 +00:00
Christian Grothoff 312fc9f812 warn users about pitfall with 32-bit vs. 64-bit off_t 2011-05-12 12:33:40 +00:00
Christian Grothoff fe8256cd97 cast 2011-05-12 12:32:19 +00:00
Christian Grothoff e58dc5b68c docu 2011-05-08 19:56:41 +00:00
Christian Grothoff ac3fe616d5 fixing 1679 2011-05-08 19:55:23 +00:00
Christian Grothoff 5b12d5bcb9 ignore 2011-05-07 09:09:36 +00:00
Christian Grothoff fe7472e6f1 1674 round II 2011-04-09 14:12:20 +00:00
Christian Grothoff 8515088370 mantis 1674 2011-04-08 09:49:41 +00:00
Christian Grothoff 73011c1020 fixing 1672 2011-04-03 12:04:38 +00:00
Christian Grothoff 6f957174c6 fixing 1672 2011-04-03 12:03:24 +00:00
Christian Grothoff 15043c6d6c possible fix for 1670 2011-03-30 11:03:33 +00:00
Christian Grothoff 5dd5385478 [libmicrohttpd] Cygwin PlibC dependency
From: 
Thomas Stalder <thomas@netsolux.ch>
  To: 
libmicrohttpd@gnu.org
  Date: 
Today 12:55:56
  Attachments: 
 cygwin_plibc.patch
   
  Spam Status: Spamassassin 0% probability of being spam.

Full report:
Probability=No, score=-2.6 required=7.0 tests=BAYES_00 autolearn=ham version=3.2.5-tuminfo_1  
Hello,

Cygwin provides POSIX emulation.

I think libmicrohttpd don't need PLIBC under cygwin.

I have removed the PLIBC dependency under cygwin with the attached patch.

I have made some tests and all seem to work fine.
2011-03-29 13:16:20 +00:00
Christian Grothoff 17461f1978 release 0.9.9 2011-03-29 12:22:48 +00:00
Christian Grothoff b41f753a6d fixes 2011-03-29 12:19:21 +00:00
Christian Grothoff 6a3f419f8b fixing leaks on error handling 2011-03-28 07:15:05 +00:00
Christian Grothoff a244273450 pollin issue 2011-03-23 22:30:47 +00:00
Christian Grothoff 2d15eceddf preliminary patch to poll race 2011-03-20 08:22:58 +00:00
Christian Grothoff 52cc71a8bc removing MSG_DONTWAIT as per discussion on ML 2011-03-18 12:34:34 +00:00
Christian Grothoff 8ba95f2eb5 simplify 2011-03-15 10:03:17 +00:00
Christian Grothoff cd8920a28d libmicrohttpd] bug in MHD_create_response_from_fd_at_offset()
From: 
Eivind Sarto <ivan@espial.com>
  To: 
"libmicrohttpd@gnu.org" <libmicrohttpd@gnu.org>
  Date: 
Today 09:32:21 pm
   
  Spam Status: Spamassassin 0% probability of being spam.

Full report:
Probability=No, score=-2.6 required=7.0 tests=BAYES_00 autolearn=ham version=3.2.5-tuminfo_1  
There appears to be a bug in  MHD_create_response_from_fd_at_offset().
Calling this function with anything other than a zero offset will cause wrong data
or no data (sendfile fails if length < 0).

If you use this call with any application that uses ranges, this bug will trigger.

In src/daemon/daemon.c: send_param_adapter()
      .....
      /* can use sendfile */
      offset = (off_t) connection->response_write_position + connection->response->fd_off;
#ifdef BUGFIX
      /* correct */
      left = connection->response->total_size -  connection->response_write_position;
#else
      left = connection->response->total_size - offset;
#endif
      if (left > SSIZE_MAX)
        left = SSIZE_MAX; /* cap at return value limit */
      ret = sendfile (connection->socket_fd,
                      fd,
                      &offset,
                      left);


-eivind
2011-03-11 21:30:24 +00:00
Christian Grothoff 4899ea8e77 undo 2011-03-07 10:41:00 +00:00
Matthias Wachs 50514ddec0 fixifx 2011-03-07 10:24:42 +00:00