billbarker    2003/08/20 22:14:39

  Modified:    util/java/org/apache/tomcat/util/net/jsse Tag: coyote_10
                        JSSESupport.java
  Log:
  Port patch from HEAD, since the user list is complaining about the size of their 
logfiles
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.2   +6 -2      
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
  
  Index: JSSESupport.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSESupport.java,v
  retrieving revision 1.3.2.1
  retrieving revision 1.3.2.2
  diff -u -r1.3.2.1 -r1.3.2.2
  --- JSSESupport.java  27 Apr 2003 05:36:50 -0000      1.3.2.1
  +++ JSSESupport.java  21 Aug 2003 05:14:39 -0000      1.3.2.2
  @@ -108,9 +108,13 @@
       }
   
       protected java.security.cert.X509Certificate [] 
  -     getX509Certificates(SSLSession session) throws IOException {
  +        getX509Certificates(SSLSession session) throws IOException {
           X509Certificate jsseCerts[] = null;
  -     jsseCerts = session.getPeerCertificateChain();
  +        try {
  +            jsseCerts = session.getPeerCertificateChain();
  +        } catch(Exception iex) {
  +            // swallow to avoid inflating logs
  +        }
   
        if(jsseCerts == null)
            jsseCerts = new X509Certificate[0];
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to