Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
cca0c50ca1 Documentation fixes.
[SVN r40345]
2007-10-23 08:09:46 +00:00
Christopher Kohlhoff
4915994d7c Only use pselect() when compiling with aCC.
[SVN r40344]
2007-10-23 08:09:21 +00:00
Christopher Kohlhoff
1122c04976 Fix address_v6::operator<.
[SVN r40263]
2007-10-21 08:13:21 +00:00
Christopher Kohlhoff
34a91ea73c Seems that the watermark socket options are supported on HP-UX 11i v3.
[SVN r40262]
2007-10-21 07:59:53 +00:00
Christopher Kohlhoff
46191ad216 Use an unsigned char for the enable_loopback socket option on HP-UX.
[SVN r40261]
2007-10-21 07:30:04 +00:00
Christopher Kohlhoff
9df40d565a On HP-UX use pselect() rather than select() to avoid weirdness where
different select() prototypes are declared depending on the order the
system headers are included.


[SVN r40259]
2007-10-21 07:09:19 +00:00
Christopher Kohlhoff
a694fc7ba7 Documentation fixes.
[SVN r40256]
2007-10-21 05:46:47 +00:00
Christopher Kohlhoff
827c767b80 HP-UX fails to declare if_nametoindex and if_indextoname as extern "C".
Added declarations for them with correct linkage to avoid linker errors.


[SVN r40255]
2007-10-21 05:46:15 +00:00
Christopher Kohlhoff
9f6bab9893 Ensure the buffers and completion condition objects are destroyed before
the completion handler is invoked.


[SVN r40241]
2007-10-21 01:48:03 +00:00
Christopher Kohlhoff
811d967f52 Add get_io_service() synonym for io_service() to match TR2 proposal.
[SVN r40176]
2007-10-19 08:09:55 +00:00
Christopher Kohlhoff
b4384805aa Assume that Tru64 also needs SIGPIPE to be blocked.
[SVN r40149]
2007-10-18 08:34:03 +00:00
Christopher Kohlhoff
14d49a688a Add dummy enum for ssl errors. Change to static const references to error
category objects to be consistent with boost.system.


[SVN r40119]
2007-10-17 14:04:42 +00:00
Christopher Kohlhoff
4010cfe9de Add define to disable /dev/poll support.
[SVN r40109]
2007-10-17 08:20:30 +00:00
Christopher Kohlhoff
5af39ab4ef Make Windows XP the default target Windows version as the latest Windows
SDK doesn't support IPv6 for Windows 2000 targets.


[SVN r40108]
2007-10-17 07:58:38 +00:00
Christopher Kohlhoff
bd35039449 Throw an exception if unable to create a pipe for the pipe_select_interrupter.
[SVN r40107]
2007-10-17 07:25:03 +00:00
Christopher Kohlhoff
87cfb10267 Borland C++ wants friendship for the task_cleanup nested class.
[SVN r40106]
2007-10-17 05:22:26 +00:00
Christopher Kohlhoff
2865a15b93 Revert HP-UX/aCC change to select() wrapper as it breaks more than it fixes.
[SVN r40104]
2007-10-17 04:44:38 +00:00
Christopher Kohlhoff
9fc86e1351 Add a /dev/poll reactor implementation for Solaris.
[SVN r39913]
2007-10-10 23:12:06 +00:00
Christopher Kohlhoff
36edaaf006 Try changing the default target to Windows XP rather than Windows 2000 to see
effect on borland-5.9.2.


[SVN r39865]
2007-10-09 21:59:38 +00:00
Christopher Kohlhoff
96a6faa937 HP-UX with aCC uses a variant of select() that takes int* arguments rather
than fd_set*.


[SVN r39864]
2007-10-09 21:47:40 +00:00
Christopher Kohlhoff
4fa7155b45 Assume that HP-UX and AIX both need to have SIGPIPE blocked.
[SVN r39863]
2007-10-09 21:47:07 +00:00
Christopher Kohlhoff
ddbb696058 The epoll_wait function can produce EPOLLHUP events for a descriptor even
if not specifically requested, resulting in a tight loop of calls to
epoll_wait. Delete a descriptor from epoll if an EPOLLHUP event is
received and there are no registered operations for the descriptor.


[SVN r39752]
2007-10-07 00:11:25 +00:00
Christopher Kohlhoff
27ad77577b Try using an unsigned char for the multicast::enable_loopback socket option
when compiling for Tru64.


[SVN r39665]
2007-10-03 01:43:08 +00:00
Christopher Kohlhoff
e52d0569e1 Add missing #include needed for MinGW.
[SVN r39664]
2007-10-03 01:40:55 +00:00
Christopher Kohlhoff
7825a45960 Add missing "lib ipv6 ;" that's needed for HP-UX.
[SVN r39517]
2007-09-25 01:56:46 +00:00
Christopher Kohlhoff
0987067acc Add extra library 'ipv6' needed on HP-UX.
[SVN r39509]
2007-09-24 13:32:47 +00:00
Christopher Kohlhoff
fe53d29503 Fix warning on AIX about omitted 'private' keyword when deriving from noncopyable.
[SVN r39507]
2007-09-24 13:29:12 +00:00
Christopher Kohlhoff
2cd240ee88 Output error codes and error messages when a test fails.
[SVN r39505]
2007-09-24 13:21:49 +00:00
Christopher Kohlhoff
331beee1a6 Check whether exceptions are enabled on the output iostream and throw or not
throw errors accordingly.


[SVN r39504]
2007-09-24 13:21:03 +00:00
Christopher Kohlhoff
e5c82d221a Try making the ip::multicast::enable_loopback socket option an unsigned char on AIX.
[SVN r39503]
2007-09-24 13:19:31 +00:00
Christopher Kohlhoff
cad9b88130 Strict compilers don't like it when you pass a function with C linkage
as an argument when the parameter type has C++ linkage. Try using the type
of the msghdr::msg_namelen field as an alternative way of deducing the
socklen_t-equivalent type.


[SVN r39443]
2007-09-21 12:34:19 +00:00
Christopher Kohlhoff
7b6b09d2a2 Fix documentation generation.
[SVN r39436]
2007-09-21 05:42:55 +00:00
Christopher Kohlhoff
8bd94f4e69 Regenerate documentation.
[SVN r39433]
2007-09-20 22:44:33 +00:00
Christopher Kohlhoff
1837283e91 Eliminate use of types and structure members that may not be present when
build for non-XOPEN targets.


[SVN r39432]
2007-09-20 22:33:29 +00:00
Christopher Kohlhoff
7e67ec6336 Some compilers require namespace-scope declarations of use_service,
has_service and add_service.


[SVN r39431]
2007-09-20 22:30:54 +00:00
Christopher Kohlhoff
ae79df6318 Move handler queue management to a separate class.
[SVN r39430]
2007-09-20 22:26:55 +00:00
Christopher Kohlhoff
d61cf1e0b8 Larger storage size needed for Windows x64.
[SVN r39429]
2007-09-20 22:20:57 +00:00
Christopher Kohlhoff
50e479d4ab Fix unused argument warning.
[SVN r39364]
2007-09-18 13:13:40 +00:00
Christopher Kohlhoff
520f11ff1b AIX seems to have the socket address family as an unsigned char rather than unsigned short.
[SVN r39211]
2007-09-12 12:24:21 +00:00
Christopher Kohlhoff
3e05da91c1 Use enum-based error code constants.
[SVN r39189]
2007-09-11 11:17:56 +00:00
Christopher Kohlhoff
9f53a075ff Define _WIN32_WINNT to suppress warnings. Add define necessary
for building with cygwin.


[SVN r39100]
2007-09-01 07:32:28 +00:00
Christopher Kohlhoff
a79f4c70ea Fix problem where a thread can go idle even if there are handlers that are
ready to be dispatched.

Remove need to have a mutex per idle thread.

Remove need to have a mutex per idle thread.


[SVN r39098]
2007-09-01 06:41:15 +00:00
Christopher Kohlhoff
2a61b8a501 Add #include needed for IOV_MAX.
[SVN r39097]
2007-09-01 06:33:44 +00:00
Christopher Kohlhoff
817fe44ac4 Ensure that a strand is kept alive as long as there are wrapped handlers
for it.


[SVN r39096]
2007-09-01 06:28:40 +00:00
Christopher Kohlhoff
992d80498d Add AIX-specific compile time test for whether sockaddr_storage's family
field is called ss_family or __ss_family.


[SVN r39095]
2007-09-01 06:25:55 +00:00
Christopher Kohlhoff
71d9f010a8 Enable buffer() overload workaround for Sun C++.
[SVN r39094]
2007-09-01 06:20:19 +00:00
Christopher Kohlhoff
ff67d39c15 Ignore errors from shutdown().
[SVN r39093]
2007-09-01 06:13:02 +00:00
Christopher Kohlhoff
df83f01414 Need to try binding the acceptor to test whether IPv6 is supported.
[SVN r39092]
2007-09-01 06:08:45 +00:00
Vladimir Prus
00be9349dc Revive V1 Jamfiles at Christopher's request
[SVN r38822]
2007-08-21 13:55:41 +00:00
Christopher Kohlhoff
9df7f38577 Fix unused argument warnings.
[SVN r38791]
2007-08-20 14:32:05 +00:00