* fhandler_socket.cc (address_in_use): Improve comment readability.
This commit is contained in:
parent
3bd3027c34
commit
adef8606bd
@ -1,3 +1,7 @@
|
|||||||
|
2011-01-31 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_socket.cc (address_in_use): Improve comment readability.
|
||||||
|
|
||||||
2011-01-30 Corinna Vinschen <corinna@vinschen.de>
|
2011-01-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_socket.cc (address_in_use): Disable. Add comment.
|
* fhandler_socket.cc (address_in_use): Disable. Add comment.
|
||||||
|
@ -873,9 +873,10 @@ fhandler_socket::link (const char *newpath)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* This doesn't work correctly. It has been called in bind to check if a
|
/* This function doesn't work correctly. It has been called in bind to check
|
||||||
loca address is still in use, but it disables bind in the SO_REUSEADDR
|
if a local address is still in use, but it disables to bind in the
|
||||||
case even if only an accepted socket is still using the local address.
|
SO_REUSEADDR case even if only an accepted socket is still using the
|
||||||
|
local address, and even if said accepted socket is already in CLOSE_WAIT.
|
||||||
I keep this function in the code for later reference only. */
|
I keep this function in the code for later reference only. */
|
||||||
static inline bool
|
static inline bool
|
||||||
address_in_use (const struct sockaddr *addr)
|
address_in_use (const struct sockaddr *addr)
|
||||||
|
Loading…
Reference in New Issue
Block a user