Christopher Kohlhoff
092171c193
Merge asio 1.10.5 from 'develop'
2014-10-18 09:49:08 +11:00
Christopher Kohlhoff
1fecaa9898
Version bump.
2014-10-17 22:49:55 +11:00
Christopher Kohlhoff
ea2c024b32
Revision history.
2014-10-17 22:49:14 +11:00
Christopher Kohlhoff
d109f120fa
Explicitly mark asio::strand as deprecated.
...
Use asio::io_service::strand instead.
2014-10-17 22:49:14 +11:00
Christopher Kohlhoff
2d4104f25b
Add metadata file.
2014-10-16 20:05:36 +11:00
Christopher Kohlhoff
b5b6c42cfe
Fix compile error in /dev/poll reactor.
...
Fixes boost trac tickets #10350 , #10572 .
2014-10-16 19:23:59 +11:00
Christopher Kohlhoff
83c88d6b7a
Make all kqueue event registration lazy.
...
Fixes the kqueue reactor so that it works on FreeBSD again.
Fixes boost trac ticket #10606 .
2014-10-16 19:23:59 +11:00
Christopher Kohlhoff
1890b2c488
Deregister EVFILT_WRITE to avoid spinning with serial ports.
...
Fixes boost trac ticket #10496 .
2014-10-16 19:23:59 +11:00
Christopher Kohlhoff
715ae947f2
Use correct type in byte order conversion of shorts.
...
Fixes boost trac ticket #10539 .
2014-10-16 19:23:59 +11:00
Christopher Kohlhoff
fa5673da56
Specify additional headers that don't have a convenience header.
...
Fixes boost trac ticket #10567 .
2014-10-16 19:23:58 +11:00
Christopher Kohlhoff
7c73af05e9
Fix shadow variable warnings.
2014-10-16 19:12:24 +11:00
Christopher Kohlhoff
d772ea8722
Add lazy kqueue EVFILT_WRITE registration.
...
This fixes support for read-only file descriptors, such as those
obtained from libpcap by calling pcap_get_selectable_fd.
Fixes boost trac ticket #10367 .
2014-10-16 19:10:29 +11:00
Christopher Kohlhoff
ee431b4a1f
Fix warnings reported by VS2013.
...
Fixes boost trac ticket #10376 .
2014-10-16 19:08:35 +11:00
Christopher Kohlhoff
504ff0474e
Explicitly use WSASocketW, as WSASocketA has been deprecated.
...
Fixes boost trac ticket #10534 .
2014-10-16 19:06:56 +11:00
Christopher Kohlhoff
4f11be277a
Merge asio 1.10.4 from 'develop'
2014-07-28 07:32:26 +10:00
Christopher Kohlhoff
2c24ee7dd0
Version bump.
2014-07-28 07:29:48 +10:00
Christopher Kohlhoff
2ab8462f29
Unit test workaround for AIX.
2014-07-26 19:49:22 +10:00
Christopher Kohlhoff
b857c146c0
Revision history.
2014-07-26 19:27:51 +10:00
Christopher Kohlhoff
cc9730e493
Avoid using newly-deprecated Winsock functions.
2014-07-26 19:23:29 +10:00
Christopher Kohlhoff
39fb24ea39
Fix shadow variable warning.
2014-07-26 19:23:04 +10:00
Christopher Kohlhoff
9108db61bc
Don't use EV_CLEAR when registering interrupter.
...
Fixes copy/paste error introduced in 660e9fe302
.
2014-07-26 19:22:13 +10:00
Christopher Kohlhoff
e818f88f95
Merge asio 1.10.3 from 'develop'
2014-06-30 14:13:03 +10:00
Christopher Kohlhoff
1f012a03eb
Fix wording in revision history.
2014-06-30 14:12:43 +10:00
Christopher Kohlhoff
cf2ff15857
Version bump.
2014-06-30 14:03:16 +10:00
Christopher Kohlhoff
7f3a87c81a
Revision history.
2014-06-30 14:02:40 +10:00
Christopher Kohlhoff
be64cc8ac9
The intel compiler doesn't provide the SSE2 intrinsics.
2014-06-29 20:55:21 +10:00
Christopher Kohlhoff
78ff082f0c
Use SSE2 intrinsics to allow the Cray compiler to work.
2014-06-28 22:37:20 +10:00
Christopher Kohlhoff
9ef094e650
Work around gcc problem to do with anonymous enums.
...
Fixes boost trac ticket #10042 .
2014-06-28 22:06:19 +10:00
Christopher Kohlhoff
80a3fb7a59
Return bytes transferred when ReadFile fails with ERROR_MORE_DATA.
...
Reverted the previous change to ignore ERROR_MORE_DATA. Instead,
the error will propagated as with any other (i.e. in an error_code
or thrown as a system_error). For code that needs to handle partial
messages, the error_code overload should be used.
Fixes boost trac ticket #10034 .
2014-06-28 22:04:43 +10:00
Christopher Kohlhoff
541d2d48a6
Fix off-by-one error in signal number check.
...
Fixes boost trac ticket #9324 .
2014-06-28 22:03:08 +10:00
Christopher Kohlhoff
ec9768daae
Use VerifyVersionInfo rather than GetVersionEx.
...
GetVersionEx has been deprecated.
2014-06-28 22:02:00 +10:00
Christopher Kohlhoff
c2d25de553
Don't assume SO_UPDATE_CONNECT_CONTEXT is defined.
...
Fixes boost trac ticket #10016 .
2014-06-28 22:00:39 +10:00
Christopher Kohlhoff
4e1e7d731f
Merge asio 1.10.2 from 'develop'.
2014-05-05 12:50:24 +10:00
Christopher Kohlhoff
4dc6f2c328
Version bump.
2014-05-05 12:48:38 +10:00
Christopher Kohlhoff
f769012dc3
Ignore generated html.
2014-05-05 11:48:23 +10:00
Christopher Kohlhoff
b66a114d89
Revision history.
2014-05-05 11:41:40 +10:00
Christopher Kohlhoff
f0e429f537
Defend against min/max macros.
2014-05-05 11:33:29 +10:00
Christopher Kohlhoff
4a0c1e5da2
Remove tab character.
2014-05-05 11:33:05 +10:00
Christopher Kohlhoff
683329556d
Use link-local multicast on other BSDs too.
2014-05-04 15:17:13 +10:00
Christopher Kohlhoff
2c9b017ccf
Put back the event::signal() member.
...
The asio::detail::event class seems to be being used by other
projects, so we'll keep the old function name to avoid unnecessary
breakage.
2014-05-04 10:57:08 +10:00
Christopher Kohlhoff
0356a567bd
Move event #include to correct location.
2014-05-04 10:35:34 +10:00
Christopher Kohlhoff
ba9f99216f
Regenerate documentation.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
2114f2d17b
Clarify that buffer_copy does not support overlapping memory regions.
...
Fixes boost trac ticket #8295 .
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
fd8471c5d6
Don't run the compile-time buffer test.
...
Fixes boost trac ticket #8295 .
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
e81c5c42c5
Use link-local multicast on Mac OS.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
b4bb504599
Support stringified scope ids for link-local multicast.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
208748a3b5
Use scope id as default IPv6 multicast interface.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
c1fa653a38
Use a single condition variable per io_service.
...
This change fixes a potential race condition when using run_one() from
multiple threads. It also paves the way for the future addition of
timed io_service::run() overloads.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
9fb6520f08
Remove unused data member.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
20544b9bca
Fix sprintf format warning in example.
2014-05-04 10:06:45 +10:00