httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/server connection.c
Date Tue, 19 Mar 2002 19:01:50 GMT
ianh        02/03/19 11:01:50

  Modified:    server   connection.c
  Log:
  forgot the actual change
  
  Revision  Changes    Path
  1.103     +0 -22     httpd-2.0/server/connection.c
  
  Index: connection.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/connection.c,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- connection.c	13 Mar 2002 20:47:59 -0000	1.102
  +++ connection.c	19 Mar 2002 19:01:50 -0000	1.103
  @@ -108,28 +108,6 @@
   #define MAX_SECS_TO_LINGER 30
   #endif
   
  -#ifdef USE_SO_LINGER
  -#define NO_LINGCLOSE /* The two lingering options are exclusive */
  -
  -static void sock_enable_linger(int s)
  -{
  -    struct linger li;
  -
  -    li.l_onoff = 1;
  -    li.l_linger = MAX_SECS_TO_LINGER;
  -
  -    if (setsockopt(s, SOL_SOCKET, SO_LINGER,
  -                   (char *)&li, sizeof(struct linger)) < 0) {
  -        ap_log_error(APLOG_MARK, APLOG_WARNING, errno, server_conf,
  -                     "setsockopt: (SO_LINGER)");
  -        /* not a fatal error */
  -    }
  -}
  -
  -#else
  -#define sock_enable_linger(s) /* NOOP */
  -#endif /* USE_SO_LINGER */
  -
   AP_CORE_DECLARE(void) ap_flush_conn(conn_rec *c)
   {
       apr_bucket_brigade *bb;
  
  
  

Mime
View raw message