Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 12 years ago
parent
commit
6eb40f5297
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Changes
  2. +1
    -1
      ev_win32.c

+ 2
- 2
Changes View File

@ -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


+ 1
- 1
ev_win32.c View File

@ -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


Loading…
Cancel
Save