tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Bergquist" <bbergqu...@snet.net>
Subject [PATCH] to jk_nt_service.c to fix a shutdown problem with jk_nt_service with the ajp12 protocol
Date Wed, 01 Nov 2000 01:35:28 GMT
There is a couple of bugs in jk_nt_service.c when using the ajp12 protocol
which causes tomcat to be shutdown with extreme prejudice instead of waiting
for it to be shutdown via the ajp12 shutdown message.  Basically the bug is
that the variable "rc" is defined in an outer code block and then defined
and used again in the code block dealing with the ajp12 shutdown.  The local
"rc" variable hides the outer "rc" variable, which is then check for
shutdown status.  I've fixed this problem and tested it and I've included a
patch file.


Mime
View raw message