~ubuntu-branches/ubuntu/trusty/libapache2-mod-rpaf/trusty

« back to all changes in this revision

Viewing changes to debian/patches/100_apache-2.2.patch

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Roszatycki
  • Date: 2007-10-30 13:38:58 UTC
  • Revision ID: james.westby@ubuntu.com-20071030133858-sfv7z02qxkr8chjr
Tags: 0.5-3
* Rename source package name from libapache-mod-rpaf to libapache2-mod-rpaf.
* Dropped Apache 1.3 support. Closes: #429131.
* Resolved problem with keepalive requests. Closes: #345648.
* Support for IPv6-enabled webservers. Closes: #409521, #414450.
* Support for multiple hostnames in X-Forwarded-Host header. Closes: #416387.
* Get last address in the header which is not in RPAFproxy_ips. Closes: #377190.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ru mod_rpaf-0.5/mod_rpaf-2.0.c mod_rpaf-0.5.new/mod_rpaf-2.0.c
 
2
--- mod_rpaf-0.5/mod_rpaf-2.0.c 2007-10-30 14:47:05.000000000 +0100
 
3
+++ mod_rpaf-0.5.new/mod_rpaf-2.0.c     2007-10-30 14:47:46.000000000 +0100
 
4
@@ -72,6 +72,36 @@
 
5
 
 
6
 #include <arpa/inet_addr.h>
 
7
 
 
8
+/* starting with apache 2.2 the backward-compatibility defines for
 
9
+ * 1.3 APIs are not available anymore. Define them ourselves here.
 
10
+ */
 
11
+#ifndef ap_copy_table
 
12
+
 
13
+#define ap_copy_table apr_table_copy
 
14
+#define ap_cpystrn apr_cpystrn
 
15
+#define ap_destroy_pool apr_pool_destroy
 
16
+#define ap_isspace apr_isspace
 
17
+#define ap_make_array apr_array_make
 
18
+#define ap_make_table apr_table_make
 
19
+#define ap_null_cleanup apr_pool_cleanup_null 
 
20
+#define ap_palloc apr_palloc
 
21
+#define ap_pcalloc apr_pcalloc
 
22
+#define ap_psprintf apr_psprintf
 
23
+#define ap_pstrcat apr_pstrcat
 
24
+#define ap_pstrdup apr_pstrdup
 
25
+#define ap_pstrndup apr_pstrndup
 
26
+#define ap_push_array apr_array_push
 
27
+#define ap_register_cleanup apr_pool_cleanup_register
 
28
+#define ap_snprintf apr_snprintf
 
29
+#define ap_table_add apr_table_add
 
30
+#define ap_table_do apr_table_do
 
31
+#define ap_table_get apr_table_get
 
32
+#define ap_table_set apr_table_set
 
33
+#define ap_table_setn apr_table_setn
 
34
+#define ap_table_unset apr_table_unset
 
35
+
 
36
+#endif /* defined(ap_copy_table) */
 
37
+
 
38
 module AP_MODULE_DECLARE_DATA rpaf_module;
 
39
 
 
40
 typedef struct {