/[monit]/monit/http/cervlet.c
ViewVC logotype

Diff of /monit/http/cervlet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by martinp, Sun Nov 3 21:50:30 2002 UTC revision 1.31 by chopp, Tue Nov 5 09:04:02 2002 UTC
# Line 672  static void do_process(HttpRequest req, Line 672  static void do_process(HttpRequest req,
672    
673        if ( n->family == AF_INET ) {        if ( n->family == AF_INET ) {
674    
675          out_print(res,          if ( n->ssl != NULL ) {
676                  "<tr><td>Host:Port</a></td><td>%s:%d%s [%s]</td></tr>",  
677                  n->hostname, n->port, n->request?n->request:"",            out_print(res,
678                    n->protocol->name);                      "<tr><td>Host:Port</a></td><td>%s:%d%s [%s via SSL]</td></tr>",
679                        n->hostname, n->port, n->request?n->request:"",
680                        n->protocol->name);
681              
682              if ( n->certmd5 != NULL ) {
683    
684                out_print(res,
685                          "<tr><td>Server certificate md5 sum</a></td><td>%s</td></tr>",
686                          n->certmd5);
687    
688              }
689    
690    
691            } else {
692    
693              out_print(res,
694                        "<tr><td>Host:Port</a></td><td>%s:%d%s [%s]</td></tr>",
695                        n->hostname, n->port, n->request?n->request:"",
696                        n->protocol->name);
697    
698            }
699    
700        } else if ( n->family == AF_UNIX ) {        } else if ( n->family == AF_UNIX ) {
701    

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26