AMQP-CPP/src/linux_tcp
Peter A. Bigot a6930f5c36 linux_tcp/poll: fix undefined behavior in select
The select(2) system call on Linux now includes the restrict qualifier
on the fd_set pointers passed in, causing a diagnostic in gcc9 for the
call blocking for both read and write.  Pass a pointer to a temporary
copy of the set when two references are required.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-05-30 10:53:09 -05:00
..
CMakeLists.txt Make sure ssl files are included in the library and add missing libraries for linking the examples 2018-03-12 10:46:32 +01:00
addressinfo.h linux tcp is now opt-out instead of opt-in(to keep compatibility with the original lib). 2018-01-23 19:15:10 +01:00
function.h added ability to set the handle to the openssl library (so that programs that load openssl via dlopen() can still use amqp-cpp) 2018-03-09 15:08:52 +01:00
includes.h work in progress on refactored tcp handling, to solve various issues, like the one that lost connections do not trigger operations to fail 2018-11-04 23:34:31 +01:00
openssl.cpp should be in working order now 2019-01-08 12:58:38 +01:00
openssl.h should be in working order now 2019-01-08 12:58:38 +01:00
pipe.h Check pipe writes in linux_tcp to suppress Wunused-result in GCC 2019-02-05 08:33:28 +13:00
poll.h linux_tcp/poll: fix undefined behavior in select 2019-05-30 10:53:09 -05:00
sslconnected.h slightly prettified the code 2019-01-10 08:25:31 +01:00
sslcontext.h should be in working order now 2019-01-08 12:58:38 +01:00
sslhandshake.h fixed a couple of todos, make sure that onError() is always called 2018-11-12 12:12:04 +01:00
sslshutdown.h removed support for TcpConnection::flush() and removed internal TcpShutdown state 2018-11-06 18:11:27 +01:00
sslwrapper.h work in progress on setting up tls connections to rabbitmq 2018-03-08 14:00:44 +01:00
tcpclosed.h added TcpConnection::closed() 2018-11-14 14:15:52 +01:00
tcpconnected.h handle case when tcp connection is lost during reading, that should report an error back to user-space too (fixes #266) 2018-12-03 08:29:17 +01:00
tcpconnection.cpp added TcpConnection::closed() 2018-11-14 14:15:52 +01:00
tcpextstate.h renamed onClosed to onLost to prevent confusion between TcpHandler::onClosed() and ConnectionHandler::onClosed() 2018-11-08 09:58:36 +01:00
tcpinbuffer.h work in progress on ssl implementation 2018-03-06 22:03:53 +01:00
tcpoutbuffer.h should be in working order now 2019-01-08 12:58:38 +01:00
tcpresolver.h Check pipe writes in linux_tcp to suppress Wunused-result in GCC 2019-02-05 08:33:28 +13:00
tcpstate.h added TcpConnection::closed() 2018-11-14 14:15:52 +01:00