Commit bd559af
authored
Moved minimal libmicrohttpd dep to v0.9.74 (#259)
This resolves the warnings on deprecated collections.
* http_utils: Remove 'http_unordered_collection'
That HTTP status code was removed from RFC and marked deprecated in
libmicrohttpd from v0.9.64 onwards. MHD throws a deprecation warning
now when using MHD_HTTP_UNORDERED_COLLECTION, leading to build failures
if -Werror is set (as with libhttpserver debug builds).
Fixes: #176
Suggested-by: Sebastiano Merlino <electrictwister2000@gmail.com>
Signed-off-by: Alexander Dahl <ada@thorsis.com>
* http_utils: Redefine deprecated MHD definitions
libmicrohttpd deprecated those two definitions, and replaced them with
new ones for the same numeric codes with version v0.9.74.
Compiler throws a warning when using those definitions in libhttpserver,
and thus debug build fails due to -Werror.
Fixes: #258
Signed-off-by: Alexander Dahl <ada@thorsis.com>
* Bump libmicrohttpd for CI builds
We are about to update the minimal required version of libmicrohttpd to
0.9.64 and depend on that in configure.ac and CI should not fail then.
* github: codeql: Move building libmicrohttpd before analyze init
Previously analyze init came before building libmicrohttpd which let
CodeQL analyze libmicrohttpd as well. Since libmicrohttpd is not under
our control, each change in that could introduce distracting analyze
warnings/errors.
Apparently CodeQL analyzes everything built after that init step for
compiled languages. Moving dependencies before init seems to solve that.
* Bump libmicrohttpd required version to 0.9.64
libmicrohttpd deprecated the definition of
MHD_HTTP_UNORDERED_COLLECTION with 0.9.64 without alternative.
Thus `http_utils::http_unordered_collection` was removed from
libhttpserver and the requirement bump reflects those changes.
Goal is to get rid of the deprecation warnings
reported with #176 and #258.
libmicrohttpd 0.9.64 was released in June 2019 (2019-06-09), almost
three years ago.1 parent 6e58cd0 commit bd559af
File tree
7 files changed
+31
-27
lines changed- .github/workflows
- src
- httpserver
7 files changed
+31
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
104 | | - | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
109 | | - | |
| 115 | + | |
110 | 116 | | |
111 | 117 | | |
112 | | - | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
0 commit comments