Edit

kc3-lang/libevent/test

Branch :

  • Show log

    Commit

  • Author : Nick Mathewson
    Date : 2010-04-23 14:42:25
    Hash : b1c79500
    Message : Make evdns logging threadsafe The old logging code was littered with places where we stored messages in static char[] fields. This is fine in a single-threaded program, but if you ever tried to log evdns messages from two threads at once, you'd hit a race. This patch also refactors evdns's debug_ntop function into a more useful evutil_sockaddr_port_format() function, with unit tests.