View Issue Details

IDProjectCategoryView StatusLast Update
0003784libmicrohttpdexternal APIpublic2021-09-02 17:54
Reporterasherkin Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.41 
Target Version0.9.42Fixed in Version0.9.42 
Summary0003784: MHD_get_connection_info missing MHD_CONNECTION_INFO_SOCKET_CONTEXT
Descriptiondiff --git a/libmicrohttpd/microhttpd/connection.c b/libmicrohttpd/microhttpd/connection.c
index 6c71aeb..d000076 100644
--- a/libmicrohttpd/microhttpd/connection.c
+++ b/libmicrohttpd/microhttpd/connection.c
@@ -2832,6 +2832,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;
     };
TagsNo tags attached.

Activities

Christian Grothoff

2015-05-06 18:06

manager   ~0009113

Fixed as suggested in 35712.

Christian Grothoff

2021-09-02 17:54

manager   ~0018197

Fix committed to master branch.

Related Changesets

libmicrohttpd: master b27bee6e

2015-05-06 20:05

Christian Grothoff


Details Diff
fix 0003784 Affected Issues
0003784
mod - ChangeLog Diff File
mod - src/include/microhttpd.h Diff File
mod - src/microhttpd/connection.c Diff File

Issue History

Date Modified Username Field Change
2015-05-05 22:15 asherkin New Issue
2015-05-06 18:06 Christian Grothoff Note Added: 0009113
2015-05-06 18:06 Christian Grothoff Status new => resolved
2015-05-06 18:06 Christian Grothoff Fixed in Version => 0.9.42
2015-05-06 18:06 Christian Grothoff Resolution open => fixed
2015-05-06 18:06 Christian Grothoff Assigned To => Christian Grothoff
2015-05-06 18:06 Christian Grothoff Product Version => 0.9.41
2015-05-06 18:06 Christian Grothoff Target Version => 0.9.42
2015-05-13 13:56 Christian Grothoff Status resolved => closed
2021-09-02 17:54 Christian Grothoff Changeset attached => libmicrohttpd master b27bee6e
2021-09-02 17:54 Christian Grothoff Note Added: 0018197
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd API => external API