tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r699698 - /tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Date Sat, 27 Sep 2008 17:37:57 GMT
Author: rjung
Date: Sat Sep 27 10:37:57 2008
New Revision: 699698

URL: http://svn.apache.org/viewvc?rev=699698&view=rev
Log:
Don't return error codes from GetLastError in init_jk,
since JK_TRUE or JK_FALSE is expected.

We shouldn't fail if watchdog thread could not be created,
to keep behaviour consistent with mod_jk in Apache httpd.

But increase log level of error to EMERG and log GetLastError.

Modified:
    tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c

Modified: tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c?rev=699698&r1=699697&r2=699698&view=diff
==============================================================================
--- tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
(original)
+++ tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Sat Sep 27 10:37:57 2008
@@ -1869,9 +1869,8 @@
             watchdog_handle = CreateThread(NULL, 0, watchdog_thread,
                                            NULL, 0, &wi);
             if (!watchdog_handle) {
-                rc = GetLastError();
-                jk_log(logger, JK_LOG_ERROR, "Error creating Watchdog thread");
-                return rc;
+                jk_log(logger, JK_LOG_EMERG, "Error %d (0x%08x) creating Watchdog thread",
+                       GetLastError(), GetLastError());
             }
         }
         jk_log(logger, JK_LOG_INFO, "%s initialized", (VERSION_STRING));



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message