patch for SA_RESETHAND and commSetTcpNoDelay()

From: Duane Wessels <wessels>
Date: Tue, 02 Jul 96 06:45:48 -0700

Index: comm.c
===================================================================
RCS file: /surf1/CVS/squid/src/comm.c,v
retrieving revision 1.30.4.50
diff -w -c -r1.30.4.50 comm.c
*** comm.c 1996/07/01 22:00:02 1.30.4.50
--- comm.c 1996/07/02 13:26:53
***************
*** 125,130 ****
--- 125,133 ----
  static void commSetNoLinger _PARAMS((int));
  static void comm_select_incoming _PARAMS((void));
  static int commBind _PARAMS((int s, struct in_addr, u_short port));
+ #ifdef TCP_NODELAY
+ static void commSetTcpNoDelay _PARAMS((int));
+ #endif
  
  static int *fd_lifetime = NULL;
  static struct timeval zero_tv;
Index: squid.h
===================================================================
RCS file: /surf1/CVS/squid/src/squid.h,v
retrieving revision 1.19.4.36
diff -w -c -r1.19.4.36 squid.h
*** squid.h 1996/07/01 22:00:35 1.19.4.36
--- squid.h 1996/07/02 13:40:03
***************
*** 154,159 ****
--- 154,168 ----
  #define SA_NODEFER 0
  #endif
  
+ #ifndef SA_RESETHAND
+ #ifdef SA_ONESHOT
+ #define SA_RESETHAND SA_ONESHOT
+ #else
+ #define SA_RESETHAND 0
+ #define HAVE_SIGACTION 0
+ #endif /* SA_ONESHOT */
+ #endif /* SA_RESETHAND */
+
  typedef struct sentry StoreEntry;
  typedef struct mem_hdr *mem_ptr;
  typedef struct _edge edge;
Received on Tue Jul 02 1996 - 06:45:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:34 MST