httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-test/flood flood.c
Date Sat, 17 Nov 2001 01:22:10 GMT
aaron       01/11/16 17:22:10

  Modified:    flood    flood.c
  Log:
  No reason to call these if we don't have SSL.
  
  Revision  Changes    Path
  1.7       +5 -0      httpd-test/flood/flood.c
  
  Index: flood.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/flood/flood.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- flood.c	2001/10/03 01:24:01	1.6
  +++ flood.c	2001/11/17 01:22:10	1.7
  @@ -68,7 +68,10 @@
   #include "flood_farm.h"
   #include "flood_farmer.h"
   #include "flood_config.h"
  +
  +#if FLOOD_HAS_OPENSSL
   #include "flood_net_ssl.h" /* For ssl_init_socket */
  +#endif /* FLOOD_HAS_OPENSSL */
   
   /* Win32 doesn't have stdout or stderr. */
   apr_file_t *local_stdin, *local_stdout, *local_stderr;
  @@ -132,9 +135,11 @@
   
       apr_pool_create(&local_pool, NULL);
   
  +#if FLOOD_HAS_OPENSSL
       /* FIXME: HHAAAAAAAAAAAAAAACCCCCCCCCCCKKKKKKKKKKK! */
       /* Should be a run-time option with SSL, but Justin hates singleton. */
       ssl_init_socket(local_pool);
  +#endif /* FLOOD_HAS_OPENSSL */
      
       if (argc == 1)
           apr_file_open_stdin(&local_stdin, local_pool);
  
  
  

Mime
View raw message