Changes with Apache 2.0.18-dev
+ *) Get mod_tls to compile/work better on Windows. PR #7612
+ [Bernhard Schrenk <b.schrenk@improx.com>]
+
*) Fix shutdown/restart hangs in the threaded MPM.
[Jeff Trawick, Greg Ames, Ryan Bloom]
/* temp */
#include <assert.h>
-AP_DECLARE_DATA module tls_module;
+module AP_MODULE_DECLARE_DATA tls_module;
static const char s_szTLSFilterName[]="TLSFilter";
typedef struct
{
ap_log_error(APLOG_MARK,APLOG_ERR,ret,NULL,
"Read failed in tls_in_filter");
assert(eReadType == APR_NONBLOCK_READ);
- assert(ret == APR_SUCCESS || ret == APR_EAGAIN);
+ assert(ret == APR_SUCCESS || ret == APR_STATUS_IS_EAGAIN(ret));
/* In this case, we have data in the output bucket, or we were
* non-blocking, so returning nothing is fine.
*/
ap_hook_http_method(tls_method,NULL,NULL,APR_HOOK_MIDDLE);
}
-AP_DECLARE_DATA module tls_module = {
+module AP_MODULE_DECLARE_DATA tls_module = {
STANDARD20_MODULE_STUFF,
NULL, /* create per-directory config structure */
NULL, /* merge per-directory config structures */