Log

Author Commit Date CI Message
Nick Mathewson f13bede7 2009-01-28T20:31:19 Fix an unlikely degenerate case of evutil_vsnprintf svn:r1067
Nick Mathewson e3e696c8 2009-01-28T20:24:12 Use size_t for name length in DNS requests. Not that it matters much. svn:r1066
Nick Mathewson b85b710c 2009-01-27T22:34:36 Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065
Nick Mathewson 8889a770 2009-01-27T22:30:46 Replace all use of config.h with event-config.h. svn:r1064
Nick Mathewson 9993137c 2009-01-27T21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
Niels Provos 30653899 2009-01-27T16:35:28 make it so that test_persistent_timeout can call loopexit only once; reported by Alexander Drozdov svn:r1062
Niels Provos 1c927b7d 2009-01-27T16:29:48 fix memory leak whens etting up priorities; reported by Alexander Drozdov svn:r1061
Nick Mathewson 88f2b7a0 2009-01-27T13:37:09 Fix some warnings on linux gcc with --enable-gcc-warnings svn:r1060
Niels Provos 1757cf71 2009-01-27T06:21:12 use %zu for off_t svn:r1059
Niels Provos 8b5bd774 2009-01-27T06:18:45 make it compile on linux svn:r1058
Niels Provos fdf69493 2009-01-27T06:05:38 sendfile/mmap and memory reference implementation for evbuffers svn:r1057
Niels Provos b93e5054 2009-01-27T05:33:39 second argument to evbuffer_pullup should be ssize_t svn:r1056
Nick Mathewson 4f02a963 2009-01-26T18:04:18 More docs and example code in whatsnew svn:r1055
Nick Mathewson c0712b16 2009-01-26T17:29:45 Initial documentation for evdns server functions. Also deprecate the one that didn't take an event_base. svn:r1054
Nick Mathewson 2b1d535e 2009-01-26T17:29:27 Accept evutil_socket_t for evdns_server_ports. svn:r1053
Nick Mathewson bdbd5e0e 2009-01-26T17:09:37 For every deprecated function, explain why it is deprecated and what you should call instead. svn:r1052
Nick Mathewson 52a75f18 2009-01-26T17:09:22 Documentation (or more accurate documentation) for a few more functions. svn:r1051
Nick Mathewson dddd58ba 2009-01-26T17:09:09 Reformat util.h slightly so that it looks ok with 8-char tabs. svn:r1050
Niels Provos 0e779906 2009-01-26T06:13:24 fix memleak in evmap_signal_clear; from Alexander Drozdov svn:r1049
Niels Provos 765ff1b9 2009-01-24T17:38:27 really install the buffer_compat.h file svn:r1048
Nick Mathewson 81dd04a7 2009-01-23T18:04:34 Add a "flags" field to evbuffer callbacks. For now, there is just one: enabled. This lets us avoid lots of mallocs/frees/tailq-manipulations just to turn a callback on and off. The revised bufferevent code wants this. svn:r1047
Nick Mathewson de7f7a84 2009-01-23T18:03:45 Remove in_callbacks check: allow full recursion in evbuffer callbacks. If you get yourself in an infinite loop, that's not our fault. Note this in the docs. Also reindent some docs now that my tabs match Niels's. svn:r1046
Niels Provos b1495865 2009-01-23T02:04:41 also install the buffer_compat.h header file svn:r1044
Nick Mathewson ec2f4cbc 2009-01-23T01:35:57 Move obsolete evbuffer function into include/event2/buffer_compat.h svn:r1043
Nick Mathewson c735f2b4 2009-01-23T01:11:13 Code to allow multiple callbacks per evbuffer. svn:r1042
Nick Mathewson 86d526a0 2009-01-23T01:04:10 Start writing more of whatsnew-xx.txt, which will become whatsnew-2.0.txt svn:r1041
Nick Mathewson f20902a2 2009-01-22T17:56:15 Remove evperiodic_assign and its related parts: its functionality is subsumed by EV_PERSIST timeouts. svn:r1040
Nick Mathewson 5e6f6dcd 2009-01-22T17:48:55 Use EV_PERSIST on notify event for efficiency and simplicity. svn:r1039
Nick Mathewson 20c20466 2009-01-22T17:48:27 Use EV_PERSIST in bufferevents for efficiency and simplicity. svn:r1038
Nick Mathewson dc1526e0 2009-01-22T17:48:16 Fix warnings on compile: make static functions static. svn:r1037
Niels Provos fe72c885 2009-01-22T06:23:14 fix signal processing for non-kqueue backends; when a signal callback delivers a signal; from Alexander Drozdov svn:r1035
Niels Provos a077fb8c 2009-01-22T02:47:35 rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku svn:r1033
Niels Provos 56ea4687 2009-01-22T02:33:38 Change the semantics of timeouts in conjunction with EV_PERSIST; timeouts in that case will now repeat until deleted. svn:r1032
Nick Mathewson 309fc7c4 2009-01-21T07:51:25 New functions to provide sane threading callbacks with pthreads and win32 threading implementations. svn:r1031
Niels Provos 70405e3c 2009-01-21T07:18:31 fix freebsd compile; from Alexander Drozdov svn:r1030
Niels Provos fa1c9a6d 2009-01-19T23:52:21 rename the backend from "event ports" to "evport" - this will allow environment based disabling to work svn:r1027
Niels Provos ed7e0e77 2009-01-19T23:40:11 bug fix and potentital race condition from Alexander Drozdov svn:r1025
Nick Mathewson f6eb1f81 2009-01-19T21:53:03 Change evbuffer_read implementation to split data across chunks, and use readv when available. This should make us use less space. svn:r1024
Nick Mathewson a5901991 2009-01-19T20:37:24 Use eventfd for main-thread notification where available (i.e., linux). svn:r1023
Nick Mathewson c3e9fcf6 2009-01-19T20:22:47 Change the semantics of notify so we can implement it with eventfd or (given a different backend for win32) a windows Event. svn:r1022
Nick Mathewson 34d2fd06 2009-01-19T19:46:03 Debug and enable pipe notification svn:r1021
Niels Provos ddf3ee97 2009-01-19T07:00:51 make event ports compile again svn:r1020
Nick Mathewson ec4cfa33 2009-01-19T01:34:14 Make event_break threadsafe; make notify-thread mechanism a little more generic; let it use pipes where they work. svn:r1019
Nick Mathewson 2b7febc8 2009-01-18T01:33:18 Fix osx compile svn:r1018
Niels Provos fed2fd09 2009-01-17T07:50:34 try to make devpoll work again; i dont have access to a machine svn:r1017
Niels Provos 5e796901 2009-01-16T00:25:54 clean up buffered data on reset; reported by Brian O'Kelley svn:r1015
Niels Provos 83d2a34c 2009-01-15T06:15:24 rename time-test in comment to signal-test svn:r1013
Nick Mathewson 8278c9be 2009-01-14T22:17:46 Note the one restriction on what you can do with the evbuffers of a bufferevent. svn:r1011
Nick Mathewson 84031819 2009-01-14T22:17:31 Make some evbuffer functions const svn:r1010
Nick Mathewson 89fe3167 2009-01-14T21:13:58 Update win32 code to put indices in evmap. svn:r1009
Nick Mathewson 554e1493 2009-01-14T20:52:32 Move per-fd info from eventops into evmap. Not done for win32.c yet. svn:r1008
Nick Mathewson 3552ac1e 2009-01-14T19:39:17 Do not allow chain length to expand indefinitely. svn:r1007
Nick Mathewson ad7f1b4a 2009-01-14T18:45:42 The element size for our linear evmaps is a pointer, not the whole struct. svn:r1006
Nick Mathewson 6bb2f842 2009-01-14T18:38:03 Add initializer functions for evmap types. svn:r1005
Nick Mathewson 6d3ed065 2009-01-14T14:58:48 Simplify evbuffer_write logic: combine nearly all of WSASend and writev cases. svn:r1004
Nick Mathewson bab8f2e1 2009-01-13T22:02:32 Fix compilation on win32 WSASend evbuffer_write() code. Still not enabled until I make sure that the unit tests test this. They _do_ pass. svn:r1003
Nick Mathewson 9935d5b0 2009-01-13T21:39:32 Fix win32 compilation. Surprisingly, unit tests pass too. svn:r1002
Nick Mathewson 574d3202 2009-01-13T20:50:34 There is no WSAEAGAIN. There is only Zuul^WSAEWOULDBLOCK. svn:r1001
Nick Mathewson 169321c9 2009-01-13T20:26:37 Rename four internal headers to follow the -internal.h convention. svn:r1000
Nick Mathewson 822ca048 2009-01-13T19:34:50 Untested (and compiled-out) evbuffer_write backend to use WSASend on win32 where we use writev on unix. svn:r998
Nick Mathewson fbd5e820 2009-01-13T19:20:22 Stop linking backends into libevent_extra.la svn:r997
Nick Mathewson 55490942 2009-01-13T19:20:14 Move internal headers into noinst_HEADERS automake target where they belong. svn:r996
Nick Mathewson 81ab45ad 2009-01-13T19:20:04 Use new EVUTIL_ERR_*_RETRIABLE macros when we're testing an errno for blocking. Previously, we used inconsistent and incompletely ported ifdefs. (We don't use these macros in platform-specific files like evpoll.c, since they don't need to work on win32.) svn:r995
Nick Mathewson 5ebd23ad 2009-01-13T19:19:50 New EVUTIL_ERR_*_RETRIABLE macros to tell if an errno blocked or failed. svn:r994
Nick Mathewson 99db0e7f 2009-01-12T20:42:19 Add a new evbuffer_write_atmost() functino to write no more than a given number of bytes to an fd. svn:r993
Nick Mathewson f446f149 2009-01-12T20:42:06 Small cleanups to buffer.h documentation. svn:r992
Nick Mathewson 1df57d2b 2009-01-12T20:36:24 Move strlcpy.c into libevent-core, so that code built against libevent-core on platforms without strlcpy can link. svn:r991
Niels Provos 8a724410 2009-01-12T05:22:29 make it compile with USE_DEBUG again; reported by Alexander Drozdov svn:r990
Nick Mathewson 91e3ead8 2009-01-10T14:37:45 Improve the hashsocket function. svn:r989
Nick Mathewson 55bcd7d2 2009-01-09T13:42:21 On win32, use a hashtable to map sockets to events rather than using an array. svn:r988
Nick Mathewson 8f5777e6 2009-01-09T05:01:48 Document internal evmap functions, add a couple of asserts, and fix up some things that did not need to be void* any more svn:r987
Nick Mathewson 980bcd68 2009-01-02T21:21:58 Work better with platforms that do not have ipv6 structures, or that do not have sin_len fields, etc. svn:r986
Nick Mathewson 135591ae 2009-01-02T20:46:35 Change the type of nameserver.address from u32 to sockaddr_storage, so that we can handle nameservers at IPv6 addresses. svn:r985
Nick Mathewson cfbd1680 2009-01-02T20:46:26 Add another function to parse the common address:port combination formats into a sockaddr. svn:r984
Nick Mathewson 0d9d5cfe 2009-01-02T20:46:12 New functions in evutil to clone inet_pton and inet_ntop, with tests. Adapted from Tor code. svn:r983
Niels Provos 172b6575 2009-01-02T18:18:30 malloc fd only if it is needed. svn:r982
Nick Mathewson f37d1685 2009-01-02T04:56:56 Include http_compat.h in http.c so we do not get warnings about functions with no prototypes. svn:r981
Niels Provos 87be18da 2008-12-25T16:25:37 implement evdns_cancel_request; test one of the new evdns_base functions svn:r980
Niels Provos 49f4c0ef 2008-12-25T16:21:13 generate documentation for move dns header files svn:r979
Niels Provos eed23451 2008-12-25T16:20:45 forgot to re-enable dns tests svn:r978
Niels Provos 30cba6d0 2008-12-25T09:22:13 we cannot realloc memory used by TAILQ; instead malloc each slot individually svn:r977
Niels Provos 17bfc07e 2008-12-23T22:38:01 remove http_compat include svn:r976
Niels Provos b55ca7de 2008-12-23T22:31:27 reduce void *age a little bit svn:r975
Niels Provos b225e756 2008-12-23T22:24:32 remove unused variable svn:r974
Niels Provos d776f846 2008-12-23T22:23:37 deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat svn:r973
Niels Provos 02b2b4d1 2008-12-23T16:37:01 Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal. svn:r972
Niels Provos 97cebce8 2008-12-23T14:53:55 the switch of bufferevents for http connections did not handle the EVBUFFER_ERROR case correctly svn:r971
Niels Provos ebcf5efc 2008-12-19T22:42:51 fix memory leaks in the regression tools; add another close detection test that validates that there are no dangling connections on the server svn:r969
Niels Provos f1728d94 2008-12-19T22:41:07 fix the close detection problem correctly by not running close detection on the server svn:r968
Niels Provos f700566c 2008-12-19T21:31:43 Make the http connection close detection work properly with bufferevents and fix a potential memory leak associated with it svn:r963
Niels Provos 8c594168 2008-12-19T21:03:42 memory leak: forgot to free paused rpcs in server svn:r962
Niels Provos 77867244 2008-12-19T21:02:36 memory leak: forgot to free the configuration object svn:r961
Niels Provos 808f00e1 2008-12-13T06:11:12 constify structs; from Andrei Nigmatulin svn:r959
Nick Mathewson dd731685 2008-12-03T20:09:13 Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958
Niels Provos 1eeb96aa 2008-11-29T01:12:41 move cirular queue removal into its own function svn:r957
Niels Provos cdf9453a 2008-11-28T20:55:11 install the header files, too svn:r956
Niels Provos 1c765b78 2008-11-28T20:11:24 move dns header files into the include directory; move old functions into compat and structs into a struct header file svn:r955
Niels Provos 4fa4a562 2008-11-27T19:57:48 fix a typo in setting the global event base; reported by lance svn:r953
Niels Provos ffb3966e 2008-11-27T19:34:07 minor compilation and regresson fixes; from Frank Denis svn:r952
Niels Provos 4fe25cef 2008-11-27T19:27:33 Clear the timer cache when leaving the event loop; reported by Robin Haberkorn svn:r950