Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.

This commit is contained in:
Simone Bordet 2016-05-03 10:54:32 +02:00
commit ad7c260869
1 changed files with 4 additions and 2 deletions

View File

@ -424,7 +424,8 @@ public abstract class AbstractEndPoint extends IdleTimeout implements EndPoint
name=c.getSimpleName(); name=c.getSimpleName();
} }
return String.format("%s@%x{%s<->%s,%s,%s|%s,%d/%d,%s}", Connection connection = getConnection();
return String.format("%s@%x{%s<->%s,%s,%s|%s,%d/%d,%s@%x}",
name, name,
hashCode(), hashCode(),
getRemoteAddress(), getRemoteAddress(),
@ -434,6 +435,7 @@ public abstract class AbstractEndPoint extends IdleTimeout implements EndPoint
_writeFlusher.toStateString(), _writeFlusher.toStateString(),
getIdleFor(), getIdleFor(),
getIdleTimeout(), getIdleTimeout(),
getConnection()==null?null:getConnection().getClass().getSimpleName()); connection == null ? null : connection.getClass().getSimpleName(),
connection == null ? 0 : connection.hashCode());
} }
} }