Nick Mathewson
3eb21c0d33
r15226@tombo: nickm | 2008-04-17 15:25:25 -0400
...
Fix a couple of gcc warnings on 64-bit platforms
svn:r719
2008-04-17 19:25:35 +00:00
Nick Mathewson
8863ff7625
r15224@tombo: nickm | 2008-04-17 15:19:24 -0400
...
Oops. We need to make sure that strdup wasn't oom.
svn:r718
2008-04-17 19:19:36 +00:00
Nick Mathewson
ae09ac4ae0
r15220@tombo: nickm | 2008-04-17 15:16:02 -0400
...
Use new includes in more files still
svn:r717
2008-04-17 19:18:40 +00:00
Nick Mathewson
3f3a16757f
r15219@tombo: nickm | 2008-04-17 15:12:17 -0400
...
Use new includes in epoll.c
svn:r716
2008-04-17 19:17:50 +00:00
Nick Mathewson
beb39f5770
r15218@tombo: nickm | 2008-04-17 15:10:13 -0400
...
Add a missing #include <stdarg.h>
svn:r715
2008-04-17 19:16:30 +00:00
Nick Mathewson
e688a88a82
r15216@tombo: nickm | 2008-04-17 13:55:05 -0400
...
Add new thread-safe interfaces to evdns functions. Needs review.
svn:r714
2008-04-17 17:55:35 +00:00
Nick Mathewson
fc41ffde4d
r15214@tombo: nickm | 2008-04-17 11:47:10 -0400
...
Make name_from_addr() threadsafe in http.c
svn:r713
2008-04-17 15:50:28 +00:00
Nick Mathewson
963ae2cf42
r15212@tombo: nickm | 2008-04-16 17:01:21 -0400
...
Remove some needless includes
svn:r712
2008-04-16 21:01:31 +00:00
Nick Mathewson
0ac73078ed
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
...
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
svn:r711
2008-04-16 20:01:51 +00:00
Nick Mathewson
f560198e45
r15192@tombo: nickm | 2008-04-16 15:59:51 -0400
...
Fix a compilation error on OSX.
svn:r710
2008-04-16 20:01:27 +00:00
Nick Mathewson
f9f4d4fe17
r19309@catbus: nickm | 2008-04-11 16:02:07 -0400
...
Fix for epoll-on-linux bug (#1908866 ) where timeout values over (LONG_MAX-999)/HZ) (35 for me, or maybe 6 hours 50 min for some people, or maybe 3 hours 25 minutes for a special few) get treated as "wait forever". This actually deserves to be fixed in the kernel, but even if it is we will need to support Linux versions with this bug.
svn:r709
2008-04-11 20:02:50 +00:00
Nick Mathewson
44ceb945a3
r19305@catbus: nickm | 2008-04-10 15:34:10 -0400
...
Fix bug 1938754: do not warn when epoll_create() fails with ENOSYS.
svn:r706
2008-04-10 19:34:50 +00:00
Nick Mathewson
0c843507ab
r19301@catbus: nickm | 2008-04-10 14:54:46 -0400
...
Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464.
svn:r705
2008-04-10 19:25:11 +00:00
Niels Provos
812d2fd8fd
proxy one more generator
...
svn:r701
2008-04-03 14:27:01 +00:00
Niels Provos
a7e395512e
slight refactoring
...
svn:r700
2008-04-03 03:33:07 +00:00
Niels Provos
193c06a7ed
fix a bug in which evbuffer_add_vfprintf would loop forever; avoid
...
fragmentation in evbuffer_expand by increasing the size of the last buffer
in the chain; as a result with have to keep track of the previous_to_last
chain; provide a evbuffer_validate() function in the regression test to
make sure that all evbuffer are internally consistent.
svn:r699
2008-03-31 02:04:34 +00:00
Niels Provos
3ef1f50415
do not delete uninitialized timeout event in evdns
...
svn:r697
2008-03-31 00:33:46 +00:00
Niels Provos
502929cdf2
add a check that base != NULL for threading; might want to drop this later
...
svn:r696
2008-03-31 00:31:53 +00:00
Niels Provos
8920ac4ddf
make RPC replies use application/octet-stream
...
svn:r694
2008-03-30 21:06:33 +00:00
Niels Provos
ca42671a14
make event methods static so that they are not exported; from Andrei Nigmatulin
...
svn:r692
2008-03-29 01:45:45 +00:00
Niels Provos
cb50f615d4
rename lock create callback functions; as suggested by nick
...
svn:r691
2008-03-11 05:26:30 +00:00
Niels Provos
c182baca10
switch thread support so that locks get allocated as they are needed.
...
svn:r690
2008-03-10 03:17:20 +00:00
Nick Mathewson
6a92ec0b0f
r18547@catbus: nickm | 2008-03-04 14:46:42 -0500
...
Fix compilation with --enable-gcc-warnings
svn:r689
2008-03-04 19:47:01 +00:00
Niels Provos
0c49e456f1
document thread functions
...
svn:r688
2008-03-04 05:42:20 +00:00
Niels Provos
d5c15b2ebb
make event_rpcgen.py generate code include event-config.h
...
svn:r686
2008-03-03 03:36:51 +00:00
Niels Provos
968fd5c06f
forgot this header file
...
svn:r685
2008-03-02 21:39:49 +00:00
Niels Provos
558de9b377
Provide OpenSSL style support for multiple threads accessing the same event_base
...
svn:r684
2008-03-02 21:18:33 +00:00
Niels Provos
19dad16699
Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
...
svn:r682
2008-03-02 01:46:00 +00:00
Nick Mathewson
593b5f99b3
r18492@catbus: nickm | 2008-02-29 17:32:55 -0500
...
Add another missing _REENTRANT.
svn:r681
2008-02-29 22:33:01 +00:00
Niels Provos
00382110b2
address nick's comments and make evbuffer_pullup more efficient
...
svn:r680
2008-02-29 05:23:49 +00:00
Nick Mathewson
7210592777
r18490@catbus: nickm | 2008-02-28 15:56:55 -0500
...
Replace www.google.com with google.com; fix EVDNS_MAIN code.
svn:r679
2008-02-28 20:57:01 +00:00
Nick Mathewson
697177306f
r18488@catbus: nickm | 2008-02-28 15:41:27 -0500
...
Define reentrant in evdns.c so that we get a declaration for strtok_r
svn:r678
2008-02-28 20:41:34 +00:00
Nick Mathewson
0322ce0a3b
r18486@catbus: nickm | 2008-02-28 13:35:53 -0500
...
Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas.
svn:r677
2008-02-28 18:36:03 +00:00
Nick Mathewson
d71da6f737
r18484@catbus: nickm | 2008-02-28 12:47:20 -0500
...
Use event_warn() function, not fprintf-to-stderr.
svn:r676
2008-02-28 17:47:30 +00:00
Nick Mathewson
0e7cbe6508
r18482@catbus: nickm | 2008-02-28 12:38:40 -0500
...
Fix GCC 4.2 warnings; fix includes in subdirs.
svn:r675
2008-02-28 17:38:52 +00:00
Niels Provos
5c70ea4c9d
improved code for evbuffer; avoids memcpy
...
svn:r674
2008-02-28 02:47:43 +00:00
Niels Provos
eb9b958089
add some basic tests for DELETE/PUT; from Josh Rotenberg
...
svn:r673
2008-02-27 06:20:48 +00:00
Nick Mathewson
e7ad549390
r14507@tombo: nickm | 2008-02-26 15:23:44 -0500
...
Patch from Tani Hosokawa: make some functions in http.c threadsafe. Also, note some functions in http.c that still are not threadsafe.
svn:r671
2008-02-26 20:24:29 +00:00
Niels Provos
bd31d00fc1
move signal callbacks closer to test code
...
svn:r670
2008-02-26 04:54:19 +00:00
Niels Provos
7470ce52c5
increase listen queue for http sockets to 128
...
svn:r669
2008-02-26 03:49:00 +00:00
Niels Provos
960be58869
deal correctly with http/1.0 and keep-alive
...
svn:r667
2008-02-26 03:29:36 +00:00
Niels Provos
0b114da2b6
introduce evhttp_accept_socket() to accept from an already created socket
...
svn:r666
2008-02-26 03:12:07 +00:00
Niels Provos
b14cd655d1
add support (without tests!) to PUT/DELETE requests; from Josh Rotenberg
...
svn:r662
2008-02-25 07:49:22 +00:00
Niels Provos
bb914ed9af
do not insert event into list when evsel->add fails
...
svn:r660
2008-02-25 07:34:07 +00:00
Nick Mathewson
5a2ece1895
r18370@catbus: nickm | 2008-02-23 14:04:00 -0500
...
clean up some corner cases in evutil.h.
svn:r655
2008-02-23 19:04:26 +00:00
Niels Provos
67bf29ad72
simplify evbuffer by removing orig_buffer
...
svn:r654
2008-02-23 06:02:04 +00:00
Niels Provos
87bef9e974
update event_base_loop documentation; from Tani Hosokawa
...
svn:r652
2008-02-20 21:49:09 +00:00
Nick Mathewson
0d26f1605f
r18169@catbus: nickm | 2008-02-18 15:13:20 -0500
...
Rebuild and re-run configure etc when configure.in or Makefile.am changes. Also, have automake do its dependency tracking.
svn:r651
2008-02-18 20:13:27 +00:00
Nick Mathewson
11230f7e16
r18145@catbus: nickm | 2008-02-18 15:02:20 -0500
...
Stop using deprecated autoconf code to set integer types; detect actual files to include more thoroughly. This should make us work on solaris 9 again. This should be a backport candidate, if it works. Also, make all libevent code use ev_uint32_t etc, rather than uint_32_t.
svn:r649
2008-02-18 20:04:01 +00:00
Niels Provos
506d4dbcf4
remove NDEBUG ifdefs from evdns.c
...
svn:r647
2008-02-17 01:31:31 +00:00