From 4de130b558e134f93b57b90b988193b2b32d0792 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Jan 2009 23:23:32 +0000 Subject: *** empty log message *** --- Changes | 4 ++-- ev_win32.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index eac9d3f..4088981 100644 --- a/Changes +++ b/Changes @@ -3,8 +3,8 @@ Revision history for libev, a high-performance and full-featured event loop. - actually verify that local and remote port are matching in libev's socketpair emulation, which makes denial-of-service attacks harder (but not impossible - it's windows). Make sure - it even works under vista, which thinks that getpeername should - return some fantasy port number. + it even works under vista, which thinks that getpeer/sockname + should return fantasy port numbers. 3.51 Wed Dec 24 23:00:11 CET 2008 - fix a bug where an inotify watcher was added twice, causing diff --git a/ev_win32.c b/ev_win32.c index c85c1ad..fbc8a5f 100644 --- a/ev_win32.c +++ b/ev_win32.c @@ -84,7 +84,7 @@ ev_pipe (int filedes [2]) if ((sock [1] = accept (listener, 0, 0)) < 0) goto fail; - /* windows vista returns fantasy port numbers for getpeername. + /* windows vista returns fantasy port numbers for sockets: * example for two interconnected tcp sockets: * * (Socket::unpack_sockaddr_in getsockname $sock0)[0] == 53364 -- cgit v1.2.3