diff --git a/.gitignore b/.gitignore index d9e161f..1210b7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /mod_http2-1.*.tar.gz -/mod_http2-1.??.* +/mod_http2-1.[0-9]*.[0-9]*/ /clog diff --git a/mod_http2-1.14.1-buildfix.patch b/mod_http2-1.14.1-buildfix.patch new file mode 100644 index 0000000..25ff1fa --- /dev/null +++ b/mod_http2-1.14.1-buildfix.patch @@ -0,0 +1,14 @@ +diff -uap mod_http2-1.14.0/mod_http2/h2_from_h1.c.buildfix mod_http2-1.14.0/mod_http2/h2_from_h1.c +--- mod_http2-1.14.0/mod_http2/h2_from_h1.c.buildfix 2019-02-12 13:30:56.000000000 +0000 ++++ mod_http2-1.14.0/mod_http2/h2_from_h1.c 2019-03-14 10:35:46.365678537 +0000 +@@ -35,6 +35,10 @@ + #include "h2_task.h" + #include "h2_util.h" + ++#ifndef AP_STATUS_IS_HEADER_ONLY ++#define AP_STATUS_IS_HEADER_ONLY(x) ((x) == HTTP_NO_CONTENT || \ ++ (x) == HTTP_NOT_MODIFIED) ++#endif + + /* This routine is called by apr_table_do and merges all instances of + * the passed field values into a single array that will be further