|
|
@ -35,6 +35,7 @@ |
|
|
#include "http_config.h" |
|
|
#include "http_config.h" |
|
|
#include "http_core.h" |
|
|
#include "http_core.h" |
|
|
#include "http_log.h" |
|
|
#include "http_log.h" |
|
|
|
|
|
#include "ap_release.h" |
|
|
#include "apu.h" |
|
|
#include "apu.h" |
|
|
#include "apr_general.h" |
|
|
#include "apr_general.h" |
|
|
#include "apr_sha1.h" |
|
|
#include "apr_sha1.h" |
|
|
@ -98,7 +99,7 @@ entropy_filter_in( |
|
|
/** |
|
|
/** |
|
|
* add client ip to sha1 |
|
|
* add client ip to sha1 |
|
|
*/ |
|
|
*/ |
|
|
#if 4 > HTTP_VERSION_MINOR(number) |
|
|
|
|
|
|
|
|
#if 4 > AP_SERVER_MINORVERSION_NUMBER |
|
|
remote_ip = connection->remote_ip; |
|
|
remote_ip = connection->remote_ip; |
|
|
#else |
|
|
#else |
|
|
remote_ip = connection->client_ip; |
|
|
remote_ip = connection->client_ip; |
|
|
|