libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit b27bee6e179e583cbec414e5dfc5e8b535376d03
parent 4d24fb764b7fc0e2edf60a6bba7dc9280f81b667
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  6 May 2015 16:05:43 +0000

fix #3784

Diffstat:
MChangeLog | 3+++
Msrc/include/microhttpd.h | 2+-
Msrc/microhttpd/connection.c | 2++
3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Wed May 6 18:07:38 CEST 2015 + Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin + Thu Apr 30 00:03::49 CEST 2015 Releasing libmicrohttpd 0.9.41. -CG diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -130,7 +130,7 @@ typedef intptr_t ssize_t; * Current version of the library. * 0x01093001 = 1.9.30-1. */ -#define MHD_VERSION 0x00094100 +#define MHD_VERSION 0x00094101 /** * MHD-internal return code for "YES". diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2799,6 +2799,8 @@ MHD_get_connection_info (struct MHD_Connection *connection, return (const union MHD_ConnectionInfo *) &connection->daemon; case MHD_CONNECTION_INFO_CONNECTION_FD: return (const union MHD_ConnectionInfo *) &connection->socket_fd; + case MHD_CONNECTION_INFO_SOCKET_CONTEXT: + return (const union MHD_ConnectionInfo *) &connection->socket_context; default: return NULL; };