httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Time for 2.0.53?
Date Tue, 01 Feb 2005 16:39:20 GMT
Brad Nicholes wrote:
>    I have already added a new directive to util_ldap called
> LDAPConnectionTimeout (
> http://httpd.apache.org/docs-2.1/mod/mod_ldap.html#ldapconnectiontimeout
> ) which allows util_ldap to set the network timeout through
> 
> rc = apr_ldap_set_option(p, NULL, LDAP_OPT_NETWORK_TIMEOUT,
>                                  (void *)&timeOut, &(result_err));
> 

IMO this does not exists on WIN32 (at least PSDK does not
declare that), thus mod_ldap breaks on build.

The code should be enclosed inside:
#if defined(LDAP_OPT_NETWORK_TIMEOUT)
....
#endif

Regards,
Mladen

Mime
View raw message