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:26:33 GMT
trawick     2003/12/16 10:26:33

  Modified:    .        Tag: APR_0_9_BRANCH CHANGES
               network_io/unix Tag: APR_0_9_BRANCH 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
  No                   revision
  No                   revision
  1.426.2.6 +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.426.2.5
  retrieving revision 1.426.2.6
  diff -u -r1.426.2.5 -r1.426.2.6
  --- CHANGES	24 Oct 2003 16:35:15 -0000	1.426.2.5
  +++ CHANGES	16 Dec 2003 18:26:33 -0000	1.426.2.6
  @@ -1,5 +1,8 @@
   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]
   
  
  
  
  No                   revision
  No                   revision
  1.110.2.1 +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.110
  retrieving revision 1.110.2.1
  diff -u -r1.110 -r1.110.2.1
  --- sockets.c	8 Jul 2003 12:53:11 -0000	1.110
  +++ sockets.c	16 Dec 2003 18:26:33 -0000	1.110.2.1
  @@ -294,7 +294,7 @@
   #endif /* SO_ERROR */
       }
   
  -    if (rc == -1) {
  +    if (rc == -1 && errno != EISCONN) {
           return errno;
       }
   
  
  
  

Mime
View raw message