提交 1fbc512b 编写于 作者: K Kohsuke Kawaguchi

shut down DNS multicast uncleanly but a lot more quickly

上级 a4dc8db2
......@@ -57,6 +57,8 @@ Upcoming changes</a>
<ul class=image>
<li class=bug>
Fixed a bug where SSH public key authentication for CLI wasn't working for username/password based security realm.
<li class=rfe>
Improved the speed of shutdown
<li class=rfe>
Added a dignosis CLI command to report the current granted authorities.
</ul>
......
......@@ -429,7 +429,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci</groupId>
<artifactId>jmdns</artifactId>
<version>3.4.0-jenkins-2</version>
<version>3.4.0-jenkins-3</version>
</dependency>
<dependency>
<groupId>com.sun.winsw</groupId>
......
......@@ -52,12 +52,12 @@ public class DNSMultiCast implements Closeable {
public void close() {
if (jmdns!=null) {
try {
jmdns.close();
// try {
jmdns.abort();
jmdns = null;
} catch (final IOException e) {
LOGGER.log(Level.WARNING,"Failed to close down JmDNS instance!",e);
}
// } catch (final IOException e) {
// LOGGER.log(Level.WARNING,"Failed to close down JmDNS instance!",e);
// }
}
}
......
......@@ -47,7 +47,7 @@ complete {
rewriteLicense([],license("BSD License","http://dom4j.sourceforge.net/dom4j-1.6.1/license.html"))
}
match(["org.codehaus.groovy:*","*:jmdns"]) {
match(["org.codehaus.groovy:*"]) {
// see http://groovy.codehaus.org/License+Information
// see http://jmdns.sourceforge.net/license.html
rewriteLicense([],apacheLicense)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册