Patrick Pelletier
0c6ec5d816
use FormatMessage for winsock errors
...
as discussed here:
http://archives.seul.org/libevent/users/Feb-2013/msg00004.html
2013-02-14 20:26:38 -08:00
Patrick Pelletier
729651260d
a program to print out the error strings for winsock errors
2013-02-14 18:22:12 -08:00
Nick Mathewson
9709461457
Merge remote-tracking branch 'origin/patches-2.0'
2013-02-14 14:13:11 -05:00
Greg Hazel
b618204216
fix #73 and fix http_connection_fail_test to catch it
2013-02-14 09:54:56 -08:00
Nick Mathewson
96150dd0c6
Unit test for event_remove_timer with EV_PERSIST.
...
Patch from dcicppin on sourceforge.
2013-02-13 11:41:11 -05:00
Nick Mathewson
5623e80371
Make event_remove_timer behave correctly with persistent timers
2013-02-13 11:41:11 -05:00
Nick Mathewson
74e52db45d
Merge remote-tracking branch 'ppelleti/nmake-clean-exes'
2013-02-11 11:25:25 -05:00
Nick Mathewson
2863c83700
Avoid using $(top_srcdir) in TESTS.
...
Newer automakes don't like this.
2013-02-08 22:10:05 -05:00
Nick Mathewson
ebf278b28d
Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat
...
Patch from cazfi.
2013-02-08 22:09:56 -05:00
Nick Mathewson
d670e3bd35
Merge remote-tracking branch 'origin/patches-2.0'
...
This is an "ours" commit: I'm not taking the recent autotools changes
from patches-2.0, since they'd conflict with master.
2013-02-08 22:09:00 -05:00
Nick Mathewson
a55514eeed
Avoid using top_srcdir in TESTS-new automakes do not like this
2013-02-08 22:08:18 -05:00
Nick Mathewson
0c79787a97
Rename configure.in to configure.ac to appease newer autoconfs
2013-02-08 22:07:47 -05:00
Nick Mathewson
817ea36924
Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat
...
Patch from cazfi.
2013-02-08 13:03:29 -05:00
Patrick Pelletier
a452811e41
"buffer" spelling
2013-02-07 17:55:36 -08:00
Patrick Pelletier
974bfa0782
remove all exes on "make clean", not just regress.exe
2013-02-07 17:55:36 -08:00
Nick Mathewson
2901542714
Merge remote-tracking branch 'origin/patches-2.0'
2013-02-05 15:09:31 -05:00
Nick Mathewson
0a5eb2eb5c
Fix a locking error in bufferevent_socket_get_dns_error.
...
Patch from Ka-Hing Cheung.
2013-02-05 15:07:32 -05:00
Nick Mathewson
19583a5ffe
Merge pull request #30 from ppelleti/valgrind-epoll
...
avoid valgrind false positive by zeroing epoll_event
2013-02-04 13:50:58 -08:00
Nick Mathewson
2ecd894725
Merge pull request #39 from azat/fix-http-for-ipv6
...
Fix ipv6 support for http. When URL contain domain, not IP address.
2013-02-04 13:49:08 -08:00
Nick Mathewson
f0a68a25ca
Merge pull request #37 from ppelleti/fix-indentation
...
fix some hinky indentation in evhttp_make_request
2013-02-04 13:33:10 -08:00
Nicholas Heath
0dda56a48e
Preliminary changes for Minix3.
2013-02-04 13:21:05 -05:00
Azat Khuzhin
9ec88bdf5f
Add regress test ipv6_for_domain.
...
Written for commit 71e709c7829275a594f767b27468b1b52e8b5bb9.
Fix ipv6 support for http. When URL contain domain, not IP address.
2013-01-27 02:17:02 +04:00
Nick Mathewson
42aaf4dcf7
Implement EVUTIL_ERR_IS_EAGAIN on windows.
2013-01-23 16:55:09 +00:00
Azat Khuzhin
71e709c782
Fix ipv6 support for http. When URL contain domain, not IP address.
...
Before this patch socket created before domain was resolved, and it
always create with AF_INET (ipv4), but we must create socket only after
domain was resolved to understad which protocol family have domain
address.
Thank to Patrick Pelletier, who found this bug.
2013-01-23 02:45:32 +04:00
Nick Mathewson
f324b1dffc
Merge remote-tracking branch 'origin/patches-2.0'
2013-01-22 17:10:07 +00:00
Gyepi Sam
c322c2077e
Fix a mistake in evbuffer_remove() arguments in example http server code
...
(commit message by nickm)
2013-01-22 16:59:07 +00:00
Patrick Pelletier
80e220eef7
fix some hinky indentation in evhttp_make_request
2013-01-18 20:25:41 -08:00
Volker Lendecke
0c2bacca43
Fix typo : Dispatching instead of Dispaching
2013-01-17 10:22:33 -05:00
Kevin Bowling
74d4c44cf2
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
...
This is a backport of ad03952.
2013-01-16 01:22:05 +08:00
Tay Ray Chuan
9ab2b3f749
Fix missing AC_PROG_SED on older Autoconfs
...
For pre-2.59b Autoconfs, AC_PROG_SED is not available [1]; on such
systems, avoid calling AC_PROG_SED, while providing a sensible SED.
This aids backporting to Autoconf 2.59.
[1] http://lists.gnu.org/archive/html/autotools-announce/2004-08/msg00002.html
2013-01-16 00:47:02 +08:00
Nick Mathewson
bf7a0ff268
When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it
...
Acording to http://stackoverflow.com/questions/7003234/which-systems-define-eagain-and-ewouldblock-as-different-values
there are some older unixes that distinguish these error.s
2013-01-11 16:37:34 -08:00
Sebastian Hahn
b452a43450
Fix harmless clang enum warning
2012-12-31 18:29:56 +01:00
Sebastian Hahn
9e8cdf3d65
Fix comment to refer to sample/include.am correctly
2012-12-23 18:41:00 +01:00
Nick Mathewson
21c962e087
Merge remote-tracking branch 'origin/patches-2.0'
2012-12-20 11:50:23 -05:00
Nick Mathewson
0a822a640e
Avoid double-close on getsockname error in evutil_ersatz_socketpair
...
Found by coverity; CID 739726
2012-12-20 11:48:05 -05:00
Nick Mathewson
69db2610be
Avoid leaking fds on evconnlistener with no callback set
...
There's no way to retrieve an fd from an evconnlistener whose
callback has been cleared, so we had better close any such fd.
Found by coverity; CID 739725.
2012-12-20 11:47:09 -05:00
Nick Mathewson
49905ac328
Fix cut-and-paste err in whatsnew-2.1
2012-12-11 12:53:09 -05:00
Patrick Pelletier
809586a9c3
minor documentation typos
2012-12-08 02:32:17 -08:00
Nick Mathewson
5cc7806cc4
Merge remote-tracking branch 'origin/patches-2.0'
2012-12-04 12:32:26 -05:00
Nick Mathewson
7e45739e26
Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
...
Reported by Xiuqiang Jiang
2012-12-04 12:01:58 -05:00
Nick Mathewson
f5b3ff20d3
Merge remote-tracking branch 'origin/patches-2.0'
2012-11-19 10:58:04 -05:00
Nick Mathewson
f7d92c6392
Increment version to 2.0.21-stable-dev
2012-11-19 10:56:16 -05:00
Nick Mathewson
40b95ae26d
Increment version to 2.1.2-alpha-dev
2012-11-19 10:53:25 -05:00
Nick Mathewson
c142069098
Fix a bug when running "make verify" out-of-tree
release-2.1.2-alpha
2012-11-19 09:07:13 -05:00
Nick Mathewson
dc0287c473
Clean up and clarify a little more documentation
2012-11-18 19:32:41 -05:00
Nick Mathewson
060c409e8b
Make the argument to bufferevent_get_priority const
2012-11-18 19:32:11 -05:00
Nick Mathewson
96584866cd
Avoid defining recommended functions in terms of deprecated ones
2012-11-18 18:59:19 -05:00
Nick Mathewson
3db0737ae6
Update "what's new in Libevent 2.1"
2012-11-18 11:25:13 -05:00
Nick Mathewson
ffdad1dcbc
Bump versions to 2.1.2-alpha
2012-11-18 10:53:52 -05:00
Nick Mathewson
143cb613bd
Update changelog for 2.1.2-alpha
2012-11-18 10:53:26 -05:00