View Issue Details

IDProjectCategoryView StatusLast Update
0004068libmicrohttpdexternal APIpublic2016-05-02 09:15
Reportermvalle Assigned ToChristian Grothoff  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionwon't fix 
PlatformWindowsOSWindowsOS Version7 64 bits
Product Version0.9.46 
Target Version0.9.46Fixed in Version0.9.46 
Summary0004068: Do not define MHD_USE_SSL if ENABLE_HTTPS not defined at compilation time
DescriptionIs it possible to not define MHD_USE_SSL if ENABLE_HTTPS not defined during library build?
This way I don't receive an error from MHD_start_daemon if I ask for it with a library compiled without SSL enabled (I'm speaking about tlsauthentication.c example).
Steps To ReproduceCompile the library without ENABLE_HTTPS
Compile the tlsauthentication.c example
Run it
You receive a dump of the PEM file, but no message about SSL not enabled in the library code
TagsNo tags attached.

Activities

mvalle

2015-11-24 07:47

reporter   ~0009945

Meaning HTTPS_SUPPORT when I wrote ENABLE_HTTPS

Christian Grothoff

2015-11-28 22:27

manager   ~0009956

Not really, you should use MHD_is_feature_supported() to test for SSL support. Note that changing the header really doesn't help, as you may be compiled against one version but linked against another at runtime.

What we recommend is that distributions should only ship with a "full-featured" MHD, and that reduced feature sets should only be used for embedded systems. But of course, we cannot control this. So MHD_is_feature_supported() allows you to test.

Issue History

Date Modified Username Field Change
2015-11-24 07:42 mvalle New Issue
2015-11-24 07:47 mvalle Note Added: 0009945
2015-11-28 22:27 Christian Grothoff Note Added: 0009956
2015-11-28 22:27 Christian Grothoff Assigned To => Christian Grothoff
2015-11-28 22:27 Christian Grothoff Status new => feedback
2016-05-02 09:15 Christian Grothoff Status feedback => closed
2016-05-02 09:15 Christian Grothoff Resolution open => won't fix
2016-05-02 09:15 Christian Grothoff Fixed in Version => 0.9.46
2016-05-02 09:15 Christian Grothoff Target Version => 0.9.46
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd API => external API