+2004-11-17 Helge Hess <helge.hess@skyrix.com>
+
+ * handler.c (_connectInstance): fixed apr_sleep for Apache 2 which now
+ requires milliseconds (thanks Christophe Bernard for pointing that
+ out!)
+
2004-09-20 Helge Hess <helge.hess@skyrix.com>
* scanhttp.c (NGScanResponseLine): changed char types to unsigned char
product = mod_ngobjweb$(SHARED_LIBEXT)
-all : $(product)
+all :: $(product)
clean :
rm -f *.o $(product) *.so *~
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_Adaptors_apache_H__
#define __NGObjWeb_Adaptors_apache_H__
ap_log_error(__FILE__, __LINE__, APLOG_INFO, 0, r->server,
"sleeping %is ..", delay);
- apr_sleep(delay);
+#ifdef AP_VERSION_1
+ apr_sleep(delay); /* should be in seconds for Apache 1? */
+#else
+ apr_sleep(delay * 1000 /* in ms now! */);
+#endif
ap_log_error(__FILE__, __LINE__, APLOG_INFO, 0, r->server,
"retry connect ..");