View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004068 | libmicrohttpd | external API | public | 2015-11-24 07:42 | 2016-05-02 09:15 |
| Reporter | mvalle | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | Windows | OS | Windows | OS Version | 7 64 bits |
| Product Version | 0.9.46 | ||||
| Target Version | 0.9.46 | Fixed in Version | 0.9.46 | ||
| Summary | 0004068: Do not define MHD_USE_SSL if ENABLE_HTTPS not defined at compilation time | ||||
| Description | Is 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 Reproduce | Compile 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 | ||||
| Tags | No tags attached. | ||||
|
|
Meaning HTTPS_SUPPORT when I wrote ENABLE_HTTPS |
|
|
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. |
| 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 |