2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-25 14:32:08 +00:00
Commit Graph

216 Commits

Author SHA1 Message Date
Christopher Kohlhoff
39f9567e78 Fix documentation on behaviour when a connect operation fails.
[SVN r46944]
2008-07-01 11:52:54 +00:00
Christopher Kohlhoff
03fc0e7dd6 One more check needed for BSD serial port extensions.
[SVN r46535]
2008-06-20 00:25:50 +00:00
Christopher Kohlhoff
ffe21c73a2 Fix serial port support on POSIX platforms that don't provide the BSD
extensions cfmakeraw, cfsetspeed and CRTSCTS.


[SVN r46507]
2008-06-19 12:50:02 +00:00
Christopher Kohlhoff
6e1c421d72 Fix for unicode builds.
[SVN r46506]
2008-06-19 12:41:32 +00:00
Christopher Kohlhoff
43e62310b6 Add new overloads for read_until and async_read_until that invoke a
user-defined function object to determine when a match has been found.


[SVN r46475]
2008-06-18 13:03:46 +00:00
Christopher Kohlhoff
2d5f24d6ae Fix write_at declaration. Add missing documentation for offset parameters.
[SVN r46473]
2008-06-18 11:22:21 +00:00
Christopher Kohlhoff
1539f2c8a1 Add an iterator for bytewise traversal of a buffer sequence.
[SVN r46415]
2008-06-16 00:41:29 +00:00
Christopher Kohlhoff
2d4504e512 Only perform check for a 0-byte receive meaning EOF on SOCK_STREAM sockets.
[SVN r46327]
2008-06-11 13:07:41 +00:00
Christopher Kohlhoff
cac7fe6350 Remove repeated typedef of reactor_type.
[SVN r46325]
2008-06-11 12:41:48 +00:00
Christopher Kohlhoff
fa82af9e16 Add random-access handles for use on Windows.
[SVN r46319]
2008-06-11 11:17:53 +00:00
Christopher Kohlhoff
7e062f298d Add support for serial ports.
[SVN r46272]
2008-06-09 12:54:55 +00:00
Christopher Kohlhoff
f3ee6627d8 Fix a deadlock that can occur when destroying a thread object with global
lifetime in a dynamically loaded DLL on Windows. Note that deadlock can
still occur if the thread is launched by the constructor of an object with
global lifetime.


[SVN r45935]
2008-05-30 08:39:19 +00:00
Christopher Kohlhoff
56b93eea3a Fix a crash that can occur when destroying a handler object that owns its
own memory (as is the case when destroying handlers in an orphaned strand).


[SVN r45811]
2008-05-27 07:54:12 +00:00
Christopher Kohlhoff
ac762e87b9 Some Windows platforms don't define IPPROTO_ICMPV6.
[SVN r45633]
2008-05-21 22:56:49 +00:00
Christopher Kohlhoff
e011561170 Implement custom allocation support for timer operations.
[SVN r45600]
2008-05-21 09:25:12 +00:00
Christopher Kohlhoff
db608c4370 Add check for empty heap when determining the minimum wait duration for a
timer queue.


[SVN r45355]
2008-05-14 12:17:26 +00:00
Christopher Kohlhoff
40fd64673f Use an atomic counter for strand reference counting.
[SVN r45179]
2008-05-06 22:09:47 +00:00
Christopher Kohlhoff
f4b17b0fda Implement custom memory allocation support for reactor-based asynchronous operations.
[SVN r45122]
2008-05-05 06:30:13 +00:00
Christopher Kohlhoff
09272f1402 Add fast-pathing of speculative reads and writes to the kqueue_reactor.
[SVN r45059]
2008-05-03 11:36:16 +00:00
Christopher Kohlhoff
a89f7596cf Don't use the names readv and writev for functions defined inside asio as
these names seem to be macros on Tru64.


[SVN r45010]
2008-05-02 08:38:15 +00:00
Christopher Kohlhoff
7acfc68a3a A memory barrier is needed on some platforms to ensure that all updates
to the node occur before the tail pointer is updated.


[SVN r44998]
2008-05-01 22:27:21 +00:00
Christopher Kohlhoff
ee366184d6 Add a fast path for some speculative read and write operations in the
epoll_reactor.


[SVN r44997]
2008-05-01 22:00:26 +00:00
Christopher Kohlhoff
a34a1413ca Add an experimental two-lock queue implementation for task_io_service.
[SVN r44851]
2008-04-28 13:56:07 +00:00
Christopher Kohlhoff
23c4f7061d Add raw socket support.
[SVN r44849]
2008-04-28 13:36:18 +00:00
Christopher Kohlhoff
bfda1481e0 Update asio version number.
[SVN r44848]
2008-04-28 13:35:27 +00:00
Christopher Kohlhoff
8768d9dff1 Fix or suppress MSVC level 4 warnings. Fixes #1703.
[SVN r44727]
2008-04-22 23:46:15 +00:00
Christopher Kohlhoff
482e083b76 Remove a local variable that was hiding the ec parameter and preventing
error codes from being correctly propagated. Fixes #1820.


[SVN r44679]
2008-04-21 05:52:20 +00:00
Christopher Kohlhoff
ee449aa163 Add new wrapper classes for stream-oriented handles on Windows.
[SVN r44676]
2008-04-21 05:32:34 +00:00
Christopher Kohlhoff
1ef42e04c6 Add new wrapper classes for stream-oriented file descriptors on POSIX platforms.
[SVN r44675]
2008-04-21 05:16:15 +00:00
Christopher Kohlhoff
f784e54ced Add support for UNIX domain sockets.
[SVN r44674]
2008-04-21 04:43:05 +00:00
Christopher Kohlhoff
a277af13a5 Add a special null_buffers type that allows read and write operations to
be used to indicate the socket's readiness to read or write without
blocking.


[SVN r44673]
2008-04-21 04:02:37 +00:00
Christopher Kohlhoff
5d44c01796 Improve documentation for the protected functions and data in basic_io_object<>.
[SVN r44670]
2008-04-21 02:01:34 +00:00
Christopher Kohlhoff
2ae65fbd27 Fix infinite recursion in the ssl::stream's shutdown() implementation.
[SVN r44668]
2008-04-21 01:42:10 +00:00
Christopher Kohlhoff
1a12b931f9 Update version number to match release.
[SVN r44667]
2008-04-21 01:41:29 +00:00
Christopher Kohlhoff
9af5979e38 Improve efficiency of basic_streambuf::consume() by using a single call to
gbump() rather than calling sbumpc() in a loop.


[SVN r44666]
2008-04-21 01:39:06 +00:00
Christopher Kohlhoff
ee4e432de1 Ensure that timer dispatching responsibility is correctly relinquished when
processing leftover interrupts from a previous run invocation.


[SVN r44663]
2008-04-21 01:27:48 +00:00
Christopher Kohlhoff
64b08a01c4 Add ability to disable the uses of the typeid operator by defining
BOOST_NO_TYPEID or BOOST_ASIO_NO_TYPEID.


[SVN r44662]
2008-04-21 01:23:42 +00:00
Christopher Kohlhoff
5ba249c3d1 Fix double-free error that occurs when an exception is thrown from a
handler that has been dispatched (i.e. not posted) through a strand.


[SVN r43879]
2008-03-27 14:18:07 +00:00
Christopher Kohlhoff
adab7d88e0 Fix incorrect use of sin_port with a sockaddr_in6 structure.
[SVN r43586]
2008-03-13 06:59:02 +00:00
Christopher Kohlhoff
7c43ea9399 Use unions to fix a sockaddr_storage aliasing problem that shows up with
g++ 4.3.0.


[SVN r43570]
2008-03-12 13:26:41 +00:00
Christopher Kohlhoff
301f79a384 Revert to having the windows-bug workaround (short timeout on
GetQueuedCompletionStatus) on all threads as there are still scenarios
where threads can get stuck indefinitely.


[SVN r43569]
2008-03-12 13:25:49 +00:00
Christopher Kohlhoff
f99a3cb814 Update copyright notices.
[SVN r43472]
2008-03-03 14:05:35 +00:00
Christopher Kohlhoff
7df2a57eef Add missing 'boost_' prefix to helper namespace.
[SVN r43470]
2008-03-03 13:27:06 +00:00
Christopher Kohlhoff
002ebea1e3 Disable use of CancelIo by default, due to the possibility of silent
failure on some system configurations. Swallow error returned by CancelIoEx
if there are no operations to be cancelled.


[SVN r43469]
2008-03-03 13:21:05 +00:00
Christopher Kohlhoff
61bcc0b5ec Add missing tie().
[SVN r43437]
2008-02-29 12:57:57 +00:00
Christopher Kohlhoff
5b09097082 Use the correct vector of timer queues when dispatching timers.
[SVN r43377]
2008-02-22 22:43:54 +00:00
Christopher Kohlhoff
8e218007b0 Add missing #include of socket_types.hpp needed for the SSL unit tests
to compile successfully on Windows.


[SVN r43303]
2008-02-18 13:35:15 +00:00
Christopher Kohlhoff
697ef44e1c The latest Windows SDKs don't support IPv6 when building for Windows 2000,
so we need to use the SDK emulation in that case.


[SVN r43056]
2008-02-02 12:02:23 +00:00
Christopher Kohlhoff
57f75e9a24 Fix "possible loss of data" warning when building for Windows 2000 targets.
[SVN r43055]
2008-02-02 11:39:17 +00:00
Christopher Kohlhoff
f50757120a Ensure that the workaround for the MSVC secure iterator problem is only
used when compiling with MSVC. The workaround causes g++'s library debug
mode to report errors due to the assignment from a singular iterator.


[SVN r43054]
2008-02-02 11:37:45 +00:00