Christopher Kohlhoff
7ad19f5693
Make thread constructors consistent across platforms.
2011-02-08 15:23:00 +11:00
Christopher Kohlhoff
a4e6078e88
Some gcc versions don't like these anonymous enums.
2011-02-08 15:13:19 +11:00
Christopher Kohlhoff
46e00e0479
Add support for using std::error_code when it's available.
2011-02-08 15:09:22 +11:00
Christopher Kohlhoff
c95c7e0e97
Fix autogen.sh so that it no longer depends on CVS.
2011-02-08 14:59:55 +11:00
Christopher Kohlhoff
55e9065371
Update copyright notices.
2011-02-08 13:13:20 +11:00
Christopher Kohlhoff
2f0c34246a
Use correct interrupt method when timerfd is not available.
2011-02-08 13:09:37 +11:00
Christopher Kohlhoff
0554900ad4
Fix out-of-bounds address_v4::broadcast() return value on 64-bit systems.
2011-02-08 13:07:40 +11:00
Christopher Kohlhoff
6f783835d4
Merge from asio-1-4-branch as of asio-1-4-7.
2011-02-08 13:06:20 +11:00
Christopher Kohlhoff
001d6e8d4d
Remove .cvsignore files.
2011-02-08 12:14:21 +11:00
Christopher Kohlhoff
834b57de83
Convert .cvsignore files to .gitignore files.
2011-02-08 12:13:58 +11:00
chris_kohlhoff
f390f8143e
asio version 1.4.0 released
2009-02-01 11:25:19 +00:00
chris_kohlhoff
4e7efa0a29
Regenerate documentation.
2009-02-01 10:56:39 +00:00
chris_kohlhoff
ab98b8e9a5
Add more documentation for asio::streambuf.
2009-02-01 10:52:43 +00:00
chris_kohlhoff
863363a95e
Fix scoped_ptr usage to work on Sun Studio 11.
2008-10-29 12:55:41 +00:00
chris_kohlhoff
9dc8e9b296
Fix reference link.
2008-10-29 12:35:30 +00:00
chris_kohlhoff
eafc4262dc
Fix problem in read_until's match_condition handling when the delimiter
...
lies at the end of the data.
2008-10-29 12:23:51 +00:00
chris_kohlhoff
f74b229a41
Fix typo.
2008-10-29 12:20:48 +00:00
chris_kohlhoff
d48c916ff0
Add a new POSIX-specific chat client showing how to use the
...
posix::stream_descriptor class.
2008-10-29 12:19:37 +00:00
chris_kohlhoff
5d79ded555
asio version 1.3.1 released
2008-10-13 21:52:05 +00:00
chris_kohlhoff
1e74cffa06
Apply patch for latest codegear compiler.
2008-10-09 05:57:24 +00:00
chris_kohlhoff
fc35b181da
Add example showing use of local::stream_protocol::iostream.
2008-10-08 12:05:51 +00:00
chris_kohlhoff
db281d4c0f
Fix basic_socket_streambuf to work with Protocol objects that don't
...
provide a resolver.
2008-10-08 12:02:59 +00:00
chris_kohlhoff
28797cec09
Make the service_registry's usage of typeid work when the default gcc
...
linker visibility is set to hidden.
2008-10-08 10:19:13 +00:00
chris_kohlhoff
9155ef673f
Add missing #include.
2008-10-08 10:11:06 +00:00
chris_kohlhoff
fde3b260c5
Fix compile errors in the two-lock implementation of the task_io_service.
2008-10-08 09:58:07 +00:00
chris_kohlhoff
920e45e967
Include windows example in boostification.
2008-10-08 09:52:06 +00:00
chris_kohlhoff
f10ab03183
Ensure the streambuf's egptr() is kept in sync the pptr(). Use std::memmove
...
rather than std::rotate to minimise data copying. Avoid unnecessary resizes
of the underlying vector.
2008-10-08 09:49:11 +00:00
chris_kohlhoff
60a099a934
Remove thread::purpose flags since they are no longer required.
2008-10-08 09:44:49 +00:00
chris_kohlhoff
19312f9d81
Only use TerminateThread when explicitly requested by the user by calling
...
asio::detail:🧵 :set_terminate_threads(true). This fixes a memory leak
that may occur with internally created threads.
2008-10-08 09:20:22 +00:00
chris_kohlhoff
0dcf7c711f
Perform lazy initialisation of the reactor task to reduce memory usage when
...
an io_service is used only as a message queue.
2008-09-23 23:45:04 +00:00
chris_kohlhoff
a3fec3a669
Add bounds checks as specified in TR2 proposal.
2008-09-11 23:42:00 +00:00
chris_kohlhoff
89428b5586
Regenerate documentation.
2008-09-10 09:22:38 +00:00
chris_kohlhoff
cfbbe3e0a7
Clarify which resolve function perform forward or reverse resolution.
2008-09-10 09:19:22 +00:00
chris_kohlhoff
2d49028c32
Handle SSL errors (e.g. bad certificates).
2008-09-08 08:22:05 +00:00
chris_kohlhoff
6e18b9b719
asio version 1.3.0 released
2008-09-05 05:21:37 +00:00
chris_kohlhoff
20426f82e4
Remove temporary tags file.
2008-09-05 02:51:46 +00:00
chris_kohlhoff
0c347712fe
Explicitly specify return type with bind to keep some compilers happy.
2008-09-03 05:53:00 +00:00
chris_kohlhoff
3a1a108be5
Add windows::overlapped_ptr to the reference index page.
2008-09-03 05:48:45 +00:00
chris_kohlhoff
e660d23bd9
Ignore generated tags file.
2008-09-03 04:31:01 +00:00
chris_kohlhoff
db5b77064b
Add workaround for possible g++ 4.3 optimiser bug.
2008-09-03 04:07:09 +00:00
chris_kohlhoff
9f9c8c2a7c
Add windows/transmit_file example.
2008-09-02 22:45:20 +00:00
chris_kohlhoff
f1b464c902
Regenerate documentation.
2008-09-02 22:42:09 +00:00
chris_kohlhoff
d754b59291
Update completion_condition documentation to match new signature.
2008-09-02 22:40:04 +00:00
chris_kohlhoff
a2b71faf7a
Document ASIO_DISABLE_EVENTFD macro.
2008-09-02 22:07:58 +00:00
chris_kohlhoff
5698a60884
Regenerate documentation.
2008-09-02 22:04:29 +00:00
chris_kohlhoff
3598d5df1e
Add const overloads of the lowest_layer member functions.
2008-09-02 11:03:30 +00:00
chris_kohlhoff
27b90590cc
Fix to compile on MSVC 7.1.
2008-09-02 00:27:48 +00:00
chris_kohlhoff
e8b47db82c
Fix error in comment.
2008-09-01 09:32:58 +00:00
chris_kohlhoff
9e60be2146
Add support for using an eventfd descriptor on linux to interrupt a blocked
...
epoll/select reactor.
2008-09-01 00:37:58 +00:00
chris_kohlhoff
67d51abb13
Ignore overlapped_ptr test executable.
2008-09-01 00:34:30 +00:00
chris_kohlhoff
fbc7ac292e
Sun CC wants to use strerror from the std namespace.
2008-08-31 13:21:48 +00:00
chris_kohlhoff
47ca4a94d9
Use templates to handle iovec structures that have an iov_base member of
...
type char*.
2008-08-31 13:05:08 +00:00
chris_kohlhoff
f12ba81bf9
Use templates to handle iovec structures that have an iov_base member of
...
type char*.
2008-08-31 12:55:06 +00:00
chris_kohlhoff
d618ef89ed
Add class to allow use of arbitrary Windows overlapped I/O operations.
2008-08-31 09:18:03 +00:00
chris_kohlhoff
407bdaafec
Don't build serial port test code when serial ports are not available.
2008-08-31 08:26:48 +00:00
chris_kohlhoff
cbd8945581
Refactor reactive socket implementation so that synchronous read, write,
...
accept and connect operations don't modify data associated with the socket.
2008-08-31 08:06:45 +00:00
chris_kohlhoff
fa486a0ed3
Ignore boostified directory.
2008-08-29 00:40:28 +00:00
chris_kohlhoff
851f808c3a
Add missing fullstop.
2008-08-29 00:32:09 +00:00
chris_kohlhoff
6d6821e689
Always generate into a directory called boostified.
2008-08-29 00:31:26 +00:00
chris_kohlhoff
1811e3c169
Add boost_asio release generation.
2008-08-29 00:25:19 +00:00
chris_kohlhoff
fc155da0a0
Add manifest for boost_asio 1.2.0.
2008-08-28 22:55:45 +00:00
chris_kohlhoff
a9cb9feec5
Initial checkin of script to automatically create a release.
2008-08-28 13:32:23 +00:00
chris_kohlhoff
64f7475c9e
Add manifest for asio 1.2.0.
2008-08-28 13:30:11 +00:00
chris_kohlhoff
8ed87eff78
More long lines fixes.
2008-08-28 09:00:08 +00:00
chris_kohlhoff
2fb9971805
Fix long lines.
2008-08-28 08:56:17 +00:00
chris_kohlhoff
598d424132
Change the CompletionCondition concept so that:
...
- It is now evaluated before the first call to the underlying
*_some() operation, as well as after every operation.
- The return value is a number of bytes, which indicates the maximum
length to be transferred on the subsequent *_some() operation. If
the return value is 0 then the composed operation completes.
2008-08-21 12:32:21 +00:00
chris_kohlhoff
c2faf4278d
Use get_io_service() rather than the deprecated io_service() call.
2008-08-21 12:26:46 +00:00
chris_kohlhoff
b0d52734c4
Add missing unit tests for read_at and write_at.
2008-08-20 23:11:52 +00:00
chris_kohlhoff
9ccd739cce
Copy new images to doc output directory.
2008-08-20 23:10:26 +00:00
chris_kohlhoff
8b21775455
Fix duplicate variable warning.
2008-08-20 23:08:54 +00:00
chris_kohlhoff
f8a4e620a5
Fix uninitialised event handles for external uses of asio::thread.
2008-08-20 22:54:29 +00:00
chris_kohlhoff
e539867bd4
asio version 1.2.0 released
2008-08-14 11:03:18 +00:00
chris_kohlhoff
8c4141dd08
Include CREAD and CLOCAL in the default flags for serial ports.
2008-08-09 01:14:16 +00:00
chris_kohlhoff
e60edd70c7
Fix automake version check.
2008-08-08 14:29:47 +00:00
chris_kohlhoff
9dd0bff608
Correct an array bounds error in the treatment of paths for UNIX domain sockets.
2008-08-08 13:37:04 +00:00
chris_kohlhoff
7f9c0597fd
QNX defines AI_V4MAPPED, AI_ALL and AI_ADDRCONFIG but does not implement
...
them.
2008-08-08 13:35:40 +00:00
chris_kohlhoff
d7e6724355
Fix a tight spin on epoll (or /dev/poll) that occurs when the EPOLLERR and
...
EPOLLHUP events are reported for a descriptor and there are no pending
operations.
2008-08-08 13:34:28 +00:00
chris_kohlhoff
2c8400e2db
Fix memory leak in use_tmp_dh_file().
2008-08-08 13:31:16 +00:00
chris_kohlhoff
1cfcc4693b
Improve wording.
2008-07-18 13:19:11 +00:00
chris_kohlhoff
8b70b85fe6
Add built-in networking protocols.
2008-07-18 12:36:50 +00:00
chris_kohlhoff
aa4fb79c2a
Add basics.
2008-07-18 11:54:09 +00:00
chris_kohlhoff
7415de4432
Update control flow images.
2008-07-18 10:26:10 +00:00
chris_kohlhoff
45d4a53af6
Add images for introductory section.
2008-07-18 00:03:19 +00:00
chris_kohlhoff
cb71652519
Need to use asio::error_code in non-boost documentation.
2008-07-17 23:56:32 +00:00
chris_kohlhoff
9c3f3ffdf2
Fix typos, links.
2008-07-17 23:13:34 +00:00
chris_kohlhoff
b6ef1d9767
Fix typo.
2008-07-17 14:22:12 +00:00
chris_kohlhoff
805746c6e6
More overview.
2008-07-17 14:03:53 +00:00
chris_kohlhoff
d421fa2e02
More overview.
2008-07-17 13:16:26 +00:00
chris_kohlhoff
51a503ec3f
No more two-comma sentences!
2008-07-17 12:23:46 +00:00
chris_kohlhoff
7a8297803d
More dead links and other fixes.
2008-07-17 12:04:10 +00:00
chris_kohlhoff
7986552cce
Fix link to ip::host_name.
2008-07-17 11:56:21 +00:00
chris_kohlhoff
39c2ce5f0b
More overview.
2008-07-17 11:38:49 +00:00
chris_kohlhoff
a7502027a1
More overview changes.
2008-07-17 10:11:36 +00:00
chris_kohlhoff
255dfef849
Update async and strand sections.
2008-07-16 13:42:12 +00:00
chris_kohlhoff
dab3f36c04
Add section on mapping from BSD socket API to Asio.
2008-07-16 13:32:33 +00:00
chris_kohlhoff
07b301921f
Fix typo.
2008-07-16 13:04:48 +00:00
chris_kohlhoff
c6e655fdfa
Add SSL overview.
2008-07-16 13:03:25 +00:00
chris_kohlhoff
32428ff077
Add mailing list info.
2008-07-16 12:35:12 +00:00
chris_kohlhoff
92458c57a4
Initial commit of new overview material.
2008-07-16 12:22:36 +00:00
chris_kohlhoff
c476f1ec49
Fix some links from the tutorial into the reference material.
2008-07-10 21:19:24 +00:00
chris_kohlhoff
845a94e725
Add new example directory "local". Update version number extraction to
...
match latest configure.ac.
2008-07-09 23:49:20 +00:00
chris_kohlhoff
66a1aab567
Don't build UNIX domain socket examples on Windows platforms.
2008-07-09 11:25:47 +00:00
chris_kohlhoff
cfcdb1b9c7
Add examples showing use of UNIX domain stream_protocol types.
2008-07-09 09:09:28 +00:00
chris_kohlhoff
e61c66baa1
Add example showing use of UNIX domain sockets with connect_pair().
2008-07-08 22:33:58 +00:00
chris_kohlhoff
521e64b5a8
Add new type requirements.
2008-07-08 12:45:06 +00:00
chris_kohlhoff
6c2a215b1a
Type requirements for random access devices.
2008-07-08 12:44:06 +00:00
chris_kohlhoff
118209177d
Add type requirements for serial port services.
2008-07-08 11:36:16 +00:00
chris_kohlhoff
1330211c94
Add type requirements for serial port options.
2008-07-08 11:15:47 +00:00
chris_kohlhoff
23b9829a30
Fix SSL thread ID function to work correctly on 64-bit Windows.
2008-07-08 09:00:59 +00:00
chris_kohlhoff
29fe1d65af
POSIX platforms are not required to define IOV_MAX, so if it's not
...
available default to the stipulated minimum of 16.
2008-07-08 08:53:59 +00:00
chris_kohlhoff
8a5f00a6d1
Add RawSocketService type requirements.
2008-07-06 11:36:10 +00:00
chris_kohlhoff
fc0e99a89c
asio version 1.1.1 released.
2008-07-02 22:44:46 +00:00
chris_kohlhoff
0f3451c96f
Remove incorrect index entries.
2008-07-02 11:05:30 +00:00
chris_kohlhoff
fb582f729a
Support long filenames in the tarball.
2008-07-02 03:47:48 +00:00
chris_kohlhoff
65be506bad
Add missing file serial_port_base.ipp.
2008-07-02 02:38:01 +00:00
chris_kohlhoff
54e98652a5
Regenerate documentation.
2008-07-01 10:55:22 +00:00
chris_kohlhoff
71e67145cd
Clarify behaviour of read_until/async_read_until with respect to leftover
...
data in the streambuf. Use separate brief descriptions for function groups.
2008-07-01 10:04:03 +00:00
chris_kohlhoff
99689315af
Documentation improvements.
2008-07-01 09:08:54 +00:00
chris_kohlhoff
bd43ec6f6d
Improve buffer() documentation. Fix vector overloads to match TR2 proposal.
2008-07-01 08:59:35 +00:00
chris_kohlhoff
3fe33a17c1
First cut of docbook index support.
2008-06-30 00:16:10 +00:00
chris_kohlhoff
c2c91f8dd9
Regenerate documentation.
2008-06-27 08:37:47 +00:00
chris_kohlhoff
839cb45330
Fix documentation on behaviour when a connect operation fails.
2008-06-27 08:30:49 +00:00
chris_kohlhoff
d18a145d47
Add missing copyright notices.
2008-06-27 05:36:33 +00:00
chris_kohlhoff
a6ea43cedf
Add more classes that were missing from the index.
2008-06-26 08:19:18 +00:00
chris_kohlhoff
55d4cba84f
Suppress link generation for template parameters for which there will be
...
no corresponding type requirements.
2008-06-26 08:18:15 +00:00
chris_kohlhoff
433d72b61b
Don't generate list of enumerators for empty enums.
2008-06-24 09:18:24 +00:00
chris_kohlhoff
942ad09b0f
Regenerate documentation.
2008-06-24 05:26:59 +00:00
chris_kohlhoff
be7d648ada
Mark up computeroutput text as code.
2008-06-24 05:00:10 +00:00
chris_kohlhoff
4a9ed3e841
Restructure reference index to include new content.
2008-06-24 04:55:46 +00:00
chris_kohlhoff
0650bd1ad5
Fix typos.
2008-06-24 04:53:37 +00:00
chris_kohlhoff
bed237a586
Fix name of parameter as referred to in documentation.
2008-06-24 00:24:26 +00:00
chris_kohlhoff
6b082432ed
Strip blank line from end of code snippets.
2008-06-23 04:39:23 +00:00
chris_kohlhoff
0e918faa34
One more place where a test for BSD serial port extensions is required.
2008-06-20 00:21:19 +00:00
chris_kohlhoff
3f9a66286f
Fix serial port support on POSIX platforms that don't provide the BSD
...
extensions cfmakeraw, cfsetspeed and CRTSCTS.
2008-06-19 10:24:40 +00:00
chris_kohlhoff
0ceac1ac8c
Fix UNICODE builds by using CreateFileA rather than CreateFile.
2008-06-19 10:23:11 +00:00
chris_kohlhoff
979e4764f0
Regenerate documentation.
2008-06-18 13:02:19 +00:00
chris_kohlhoff
0d5447dfbc
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.
2008-06-18 12:30:00 +00:00
chris_kohlhoff
8d12789c47
Add missing documentation of offset parameters.
2008-06-18 11:09:26 +00:00
chris_kohlhoff
4724f99024
Fix write_at function declaration.
2008-06-18 10:58:02 +00:00
chris_kohlhoff
ad85767a28
Ignore executables for newly added tests.
2008-06-14 22:48:12 +00:00
chris_kohlhoff
d1a597321b
Add an iterator for bytewise traversal of a buffer sequence.
2008-06-14 22:47:40 +00:00
chris_kohlhoff
0d5a4cce3a
Only perform check for a 0-byte receive meaning EOF on SOCK_STREAM sockets.
2008-06-11 12:51:20 +00:00
chris_kohlhoff
1edfaee394
Remove repeated typedef of reactor_type.
2008-06-11 11:26:08 +00:00
chris_kohlhoff
a5f59cafb8
Fix macro test.
2008-06-11 11:06:47 +00:00
chris_kohlhoff
d2341446c2
Allow error code and macro on same line.
2008-06-11 08:26:34 +00:00
chris_kohlhoff
59512bccaf
Add tests for random-access handles.
2008-06-11 08:22:08 +00:00
chris_kohlhoff
f743a4c3b2
Add random-access handles on windows for use with regular files.
2008-06-10 23:27:04 +00:00
chris_kohlhoff
dd79f69ceb
Need to take ownership of the serial port descriptor once it has been
...
successfully initialised.
2008-06-09 12:05:59 +00:00
chris_kohlhoff
95b4b58dca
Add a const char* overload of the basic_serial_port constructor to prevent
...
the "assign" constructor overload being incorrectly used on Windows (where
the native type is a void pointer).
2008-06-09 11:32:28 +00:00
chris_kohlhoff
48ef7705b2
Add serial port support for POSIX platforms.
2008-06-08 12:46:00 +00:00
chris_kohlhoff
643719e6cf
Initial commit of serial port classes and Windows backend.
2008-06-08 06:56:18 +00:00
chris_kohlhoff
2412984d92
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 an object with
global lifetime.
2008-05-30 08:21:46 +00:00
chris_kohlhoff
a6ba602067
Fix unused variable warnings.
2008-05-27 07:20:42 +00:00
chris_kohlhoff
fb4f83d903
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).
2008-05-27 00:23:16 +00:00
chris_kohlhoff
596e733ed4
Some Windows platforms don't define IPPROTO_ICMPV6.
2008-05-21 09:37:51 +00:00
chris_kohlhoff
0303f72667
Add custom allocation support to timer operations.
2008-05-21 00:00:42 +00:00
chris_kohlhoff
396032f48f
Add missing files.
2008-05-20 23:55:42 +00:00
chris_kohlhoff
df9541e0d1
Set the "no delay" socket option.
2008-05-19 23:41:14 +00:00
chris_kohlhoff
7d27454f6b
Add check for empty heap when determining the minimum wait duration for a
...
timer queue.
2008-05-14 10:20:54 +00:00
chris_kohlhoff
fc36afcf83
Use a custom allocator in the performance tests.
2008-05-05 23:45:12 +00:00
chris_kohlhoff
cc091595bc
Use an atomic counter for strand reference counting.
2008-05-05 23:39:57 +00:00
chris_kohlhoff
a2070d010e
Implement custom memory allocation support for reactor-based asynchronous operations.
2008-05-04 22:35:45 +00:00
chris_kohlhoff
d440ab0c21
Add link to null_buffers.
2008-05-04 22:33:18 +00:00
chris_kohlhoff
1c53c649cc
Add fast-pathing of speculative reads and writes to the kqueue_reactor.
2008-05-03 10:15:49 +00:00
chris_kohlhoff
4617563e45
Don't use the names readv and writev for functions defined inside asio as
...
these names seem to be macros on Tru64.
2008-05-02 08:30:30 +00:00
chris_kohlhoff
09f249d8c4
Fully qualify uses of asio's placeholders to resolve ambiguity with C++0x's
...
placeholders namespace.
2008-05-02 07:51:35 +00:00
chris_kohlhoff
fa1fbea352
A memory barrier is needed on some platforms to ensure that all updates
...
to the node occur before the tail pointer is updated.
2008-05-01 22:14:22 +00:00
chris_kohlhoff
0534d828f1
Add a fast path for some speculative read and write operations in the
...
epoll_reactor.
2008-05-01 00:10:14 +00:00
chris_kohlhoff
64eb69c4d5
Add an experimental two-lock queue implementation for the task_io_service.
2008-04-28 13:45:35 +00:00
chris_kohlhoff
ec7369cf5c
Add new icmp.hpp header.
2008-04-28 13:27:40 +00:00
chris_kohlhoff
bc4b34926b
Add raw sockets support.
2008-04-28 13:00:14 +00:00
chris_kohlhoff
a0936c0bae
asio version 1.1.0 released.
2008-04-23 12:38:16 +00:00
chris_kohlhoff
cf3bb74447
Ignore correct exe name.
2008-04-23 09:17:00 +00:00
chris_kohlhoff
fb02d1b47f
Ignore descriptor_base test executable.
2008-04-22 11:57:42 +00:00
chris_kohlhoff
30724dc7a2
Fix or suppress MSVC level /W4 warnings.
2008-04-22 11:31:56 +00:00
chris_kohlhoff
03df12147a
Remove unused parameter names.
2008-04-21 13:35:40 +00:00
chris_kohlhoff
1fcfc4cfa0
Update boostify.pl to include new directories.
2008-04-21 11:02:18 +00:00
chris_kohlhoff
f1bb5b7419
Remove dead links from quickref.xml.
2008-04-21 06:36:02 +00:00
chris_kohlhoff
fc0f2294b9
Remove a local variable that was hiding the ec parameter and preventing
...
error codes from being correctly propagated.
2008-04-21 05:48:58 +00:00
chris_kohlhoff
8d787ec3a5
Add nonblocking and porthopper examples.
2008-04-21 05:41:15 +00:00
chris_kohlhoff
992b0a6f11
Fix a g++ warning about insufficient boost::array bracketing.
2008-04-21 05:40:56 +00:00
chris_kohlhoff
27d20fc39d
Fix up posix descriptor unit tests.
2008-04-21 04:54:42 +00:00
chris_kohlhoff
6a475cc58f
Fix long lines and search-and-replace errors.
2008-04-21 01:15:55 +00:00
chris_kohlhoff
82ac663ca9
Add requirements for handle and descriptor services. Add new classes to the
...
quickref index page.
2008-04-21 00:59:20 +00:00
chris_kohlhoff
aff9bc977d
Ensure that timer dispatching responsibility is correctly relinquished when
...
processing leftover interrupts from a previous run invocation.
2008-04-20 23:58:21 +00:00
chris_kohlhoff
8eeef7d177
Regenerate documentation.
2008-04-20 05:30:03 +00:00
chris_kohlhoff
fefab193b6
Ensure all non-friend related functions are included in the documentation.
2008-04-20 05:29:01 +00:00
chris_kohlhoff
454f66ef00
Fix to include the UNIX domain sockets classes in the generated
...
documenation.
2008-04-20 05:28:21 +00:00
chris_kohlhoff
802a132f71
Add UNIX domain sockets to the generated documentation.
2008-04-20 01:56:26 +00:00
chris_kohlhoff
186c94d6c8
For UNIX domain endpoints, regular paths should be NUL-terminated, and
...
paths in the abstract namespace should start with a NUL and not be
NUL-terminated.
2008-04-20 01:28:47 +00:00
chris_kohlhoff
c1fdb669f2
Fix boostified line wrapping.
2008-04-18 08:09:21 +00:00
chris_kohlhoff
293576a01b
Fix typo in template parameter name.
2008-04-13 08:04:55 +00:00
chris_kohlhoff
669a845924
Fix to include the stream-oriented descriptor and handle classes in the
...
documentation.
2008-04-12 13:18:43 +00:00
chris_kohlhoff
08a9a825a1
Regenerate reference documentation.
2008-04-12 11:00:36 +00:00
chris_kohlhoff
57743da1cd
Ensure the documentation includes protected member functions and data.
2008-04-12 10:46:38 +00:00
chris_kohlhoff
6c7eefb238
Add new directories.
2008-04-12 10:11:26 +00:00
chris_kohlhoff
47eb5689d4
Add documentation on the limits of the number of buffers that may be
...
transferred in individual operations.
2008-04-12 07:23:41 +00:00
chris_kohlhoff
4c6bd8f8f2
Fix typos.
2008-04-12 07:17:10 +00:00
chris_kohlhoff
fd82a96728
Add ability to disable the uses of the typeid operator by defining
...
BOOST_NO_TYPEID or ASIO_NO_TYPEID.
2008-04-12 07:10:59 +00:00
chris_kohlhoff
b4fa503368
Add compile-time tests for POSIX stream-oriented file descriptor support.
2008-04-07 12:20:38 +00:00
chris_kohlhoff
2ad5f71c47
Enhance example to make it clear that invocation hooking can be used with
...
asynchronous operations.
2008-04-07 10:15:30 +00:00
chris_kohlhoff
d16a622cb4
Add compile time tests for Windows stream-oriented handles.
2008-04-07 01:01:48 +00:00
chris_kohlhoff
cc31da1d1a
Add compile-time tests for the UNIX domain socket support.
2008-04-05 23:08:39 +00:00
chris_kohlhoff
129d0eb535
Add new wrapper classes for stream-oriented file descriptors on POSIX
...
platforms.
2008-04-05 13:26:37 +00:00
chris_kohlhoff
f75d65b72f
Add missing file win_iocp_handle_service.hpp.
2008-04-05 10:25:54 +00:00
chris_kohlhoff
cbbb254d22
Fix include guard names.
2008-04-05 07:43:52 +00:00
chris_kohlhoff
8f2faaeed0
Add missing #includes need to make file self-contained.
2008-04-05 06:58:38 +00:00
chris_kohlhoff
70a42f1a00
Ignore manifest files generated by MSVC.
2008-04-05 06:54:55 +00:00
chris_kohlhoff
53b779b7a5
File is no longer needed.
2008-04-05 06:54:11 +00:00
chris_kohlhoff
1bef47bd84
Add new wrapper classes for stream-oriented handles on Windows.
2008-04-05 06:47:36 +00:00
chris_kohlhoff
0d3390f757
Add porthopper example to demonstrate applications that mix synchronous and
...
asynchronous operations.
2008-04-05 06:41:54 +00:00
chris_kohlhoff
4d8687bb6d
Handle anonymous UNIX domain socket endpoints.
2008-04-03 12:11:48 +00:00
chris_kohlhoff
0ceb3df896
Add support for UNIX domain sockets.
2008-04-03 11:52:44 +00:00
chris_kohlhoff
c9960f6815
Ignore MSVC manifest files.
2008-04-01 23:50:29 +00:00
chris_kohlhoff
4d491c401f
Add compile-time tests for the null_buffers support.
2008-04-01 23:49:04 +00:00
chris_kohlhoff
2786514d4a
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.
2008-04-01 22:14:02 +00:00
chris_kohlhoff
e88cdf3204
Fix infinite recursion in the ssl::stream's shutdown() implementation.
2008-04-01 21:46:16 +00:00
chris_kohlhoff
cab2cb8bdc
Improve efficiency of basic_streambuf::consume() by using a single call to
...
gbump() rather than calling sbumpc() in a loop.
2008-04-01 21:43:40 +00:00
chris_kohlhoff
07565c1869
asio version 1.0.0 released
2008-03-30 08:01:08 +00:00
chris_kohlhoff
097513b58d
Fix doc jamfile to work with latest boost.
2008-03-30 02:35:11 +00:00
chris_kohlhoff
43c99e6a6d
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.
2008-03-27 14:16:36 +00:00
chris_kohlhoff
363e00a889
Fix incorrect use of sin_port with a sockaddr_in6 structure.
2008-03-13 06:52:47 +00:00
chris_kohlhoff
06fd93ffd2
Use unions to fix a sockaddr_storage aliasing problem that shows up with
...
g++ 4.3.0.
2008-03-12 13:19:37 +00:00
chris_kohlhoff
8785112b82
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.
2008-03-12 12:48:41 +00:00
chris_kohlhoff
61a9b5f212
Update copyright notices.
2008-03-03 13:46:10 +00:00
chris_kohlhoff
62d0c64c95
Regenerate documentation.
2008-03-03 13:35:55 +00:00
chris_kohlhoff
a416c8141c
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.
2008-03-03 12:34:19 +00:00
chris_kohlhoff
df3204bdb4
Fix error in string replacement of 'asio_handler_invoke_helpers'.
2008-03-03 12:28:36 +00:00
chris_kohlhoff
bd956c856c
Add support for building the SSL test and examples, and for specifying
...
which runtime library to use, the target version of Windows, etc.
2008-03-03 12:25:20 +00:00
chris_kohlhoff
ecf081b4af
Add missing tie().
2008-02-29 12:48:23 +00:00
chris_kohlhoff
87f1b82936
Use the correct vector of timer queues when dispatching timers.
2008-02-22 22:23:08 +00:00
chris_kohlhoff
34c5f68a30
Need to include socket_types.hpp for all ssl headers to compile standalone.
2008-02-11 13:41:10 +00:00
chris_kohlhoff
9febd60ab2
Fix error messages.
2008-02-11 13:36:23 +00:00
chris_kohlhoff
51f731c014
Fix "possible loss of data" warning when building for Windows 2000 targets.
2008-02-02 07:34:17 +00:00
chris_kohlhoff
8a90ce1045
The latest Windows SDKs don't support IPv6 when building for Windows 2000,
...
so we need to use the SDK emulation in that case.
2008-02-02 07:33:02 +00:00
chris_kohlhoff
21899133ea
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.
2008-02-02 07:31:00 +00:00
chris_kohlhoff
df61faa99b
Set the openssl callback function for getting a thread ID.
2008-01-16 13:24:49 +00:00
chris_kohlhoff
5531caafb6
The header file win_iocp_operation.hpp has been removed.
2008-01-14 13:05:40 +00:00
chris_kohlhoff
a314529da0
Keep track of the number of OVERLAPPED-derived operations to ensure that
...
they all get cleaned up when the io_service is destroyed.
2008-01-14 13:02:57 +00:00
chris_kohlhoff
6a982e260a
Try to fix possible thread-safety issues in SSL wrapper.
2008-01-14 12:50:15 +00:00
chris_kohlhoff
1cd3cb1b80
Don't call epoll_wait/kevent if there are no old operations (where old means
...
added prior to the last epoll_wait/kevent call) wneeding to be
demultiplexed.
2008-01-14 12:20:42 +00:00
chris_kohlhoff
6e96d07db7
Don't include sys/time.h when compiling with aCC, as that header does not
...
supply pselect(), which is needed for HP-UX/aCC to work correctly.
2008-01-14 12:18:03 +00:00
chris_kohlhoff
227a9c4627
Enable /Wp64 compiler flag so that we can check whether its warnings have
...
been correctly suppressed.
2008-01-14 12:15:14 +00:00
chris_kohlhoff
2be28e8b9b
Only perform the windows-bug workaround where we use a short timeout with
...
GetQueuedCompletionStatus from one thread, i.e. the time thread.
2008-01-14 12:13:34 +00:00
chris_kohlhoff
c600d66207
Silence some integer truncation warnings.
2008-01-14 12:09:48 +00:00
chris_kohlhoff
24814c6c08
Add missing broken pipe error.
2008-01-14 11:54:06 +00:00
chris_kohlhoff
665fcfc9b0
Silence some integer truncation warnings.
2008-01-14 11:52:37 +00:00
chris_kohlhoff
7b4f386153
Disable noisy and incorrect /Wp64 warnings generated by MSVC.
2008-01-14 11:51:21 +00:00
chris_kohlhoff
97e452dec4
Check for truncation when converting buffer size from size_t to openssl's
...
int argument.
2008-01-14 11:40:52 +00:00
chris_kohlhoff
2be103d536
Fixes for older versions of HP-UX.
2007-12-12 12:10:26 +00:00