~schuster/mysql-proxy/remove_unix_socket

« back to all changes in this revision

Viewing changes to src/network-address.h

  • Committer: michael.schuster at oracle
  • Date: 2010-04-29 13:23:08 UTC
  • Revision ID: michael.schuster@oracle.com-20100429132308-mqtz5rkrt031un13
remove unix socket at shutdown: remove race window, make logic for "remove the once we created only" better

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
        GString *name; 
66
66
        network_socklen_t len;
67
 
        int             fail_errno;             /* != 0: don't remove ... I guess */
 
67
        gboolean can_unlink_socket; /* set TRUE *only* after successful bind */
68
68
} network_address;
69
69
 
70
70
NETWORK_API network_address *network_address_new(void);