apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/network_io/unix sockets.c
Date Tue, 16 Dec 2003 18:24:03 GMT
trawick     2003/12/16 10:24:03

  Modified:    .        CHANGES
               network_io/unix sockets.c
  Log:
  apr_socket_connect(): allow app to make subsequent call on
  non-blocking socket.  (and find it is connected, not get unexpected
  EISCONN retval)
  
  Revision  Changes    Path
  1.447     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.446
  retrieving revision 1.447
  diff -u -r1.446 -r1.447
  --- CHANGES	5 Dec 2003 01:02:31 -0000	1.446
  +++ CHANGES	16 Dec 2003 18:24:03 -0000	1.447
  @@ -100,6 +100,9 @@
   
   Changes with APR 0.9.5
   
  +  *) apr_socket_connect(): allow app to make subsequent call on 
  +     non-blocking socket.  [Jeff Trawick]
  + 
     *) Add apr_os_pipe_put_ex(), which allows the caller to tell APR
        to establish a cleanup on the pipe.  [Jeff Trawick, Brad Nicholes]
   
  
  
  
  1.118     +1 -1      apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sockets.c,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- sockets.c	30 Nov 2003 16:47:29 -0000	1.117
  +++ sockets.c	16 Dec 2003 18:24:03 -0000	1.118
  @@ -294,7 +294,7 @@
   #endif /* SO_ERROR */
       }
   
  -    if (rc == -1) {
  +    if (rc == -1 && errno != EISCONN) {
           return errno;
       }
   
  
  
  

Mime
View raw message