Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lib: add methods to set timeout of AMQP RPCsrpc-timeout | Alan Antonuk | 2017-03-15 | 4 | -19/+104 |
| | | | | Fixes #403 | ||||
* | Lib: close socket when amqp_login fails. | Alan Antonuk | 2017-03-15 | 1 | -4/+2 |
| | |||||
* | Lib: simplify reply generation in simple_rpc_inner | Alan Antonuk | 2017-03-01 | 1 | -9/+3 |
| | |||||
* | Doc: fix typo in amqp_get_handshake_timeout comment | Alan Antonuk | 2017-03-01 | 1 | -1/+1 |
| | |||||
* | CI: use appveyor's OpenSSL install. | Alan Antonuk | 2017-02-20 | 1 | -15/+0 |
| | |||||
* | Win32: use SRWLOCK instead of CRITIAL_SECTION | Alan Antonuk | 2017-02-20 | 3 | -46/+16 |
| | | | | | | | | | | SRWLOCK allows for static-initialization of the lock, matching the semantics of pthread_mutex that is used in OpenSSL bits, simplifying the code somewhat. Note that this API only became available in Windows Vista and newer. Given Windows XP and Windows Server 2003 are no longer supported by Microsoft, using this newer API is an acceptable tradeoff. | ||||
* | ssl: Add OpenSSL BIO that passes MSG_NOSIGNALssl_bio | Alan Antonuk | 2017-02-20 | 5 | -4/+209 |
| | | | | | | | Add an OpenSSL BIO that ignores SIGPIPE by passing MSG_NOSIGNAL to the send() and recv() calls on platforms that support it. Fixes #401 | ||||
* | ci: Update OpenSSL package on appveyor to v1.0.1k. | Alan Antonuk | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | Add platform directory to YCM config. | Alan Antonuk | 2017-02-20 | 1 | -0/+1 |
| | |||||
* | Lib: re-order NULL check in empty_blocklist | Alan Antonuk | 2016-12-04 | 1 | -3/+3 |
| | | | | | | | NULL check in empty_blockless was happening after its used. This would've likely resulted in crashes if it was hit. Found with PVS Studio run. | ||||
* | Lib: add timeout for amqp_login and friendspr383 | Haster | 2016-11-27 | 6 | -72/+205 |
| | | | | | | | | | | | By default the RabbitMQ broker sets a tunable timeout of 10 seconds from socket-open to successful handshake. This introduces a similar login timeout on the client side. If the login does not complete within this timeout, amqp_login and friends will return AMQP_STATUS_TIMEOUT and the connection will be considered dead. Two new functions amqp_set_handshake_timeout and amqp_get_handshake_timeout are introduced to tune this behavior. | ||||
* | Fix link to rabbitmq-c-users link in README.md | Alan Antonuk | 2016-11-15 | 1 | -1/+1 |
| | | | Fixes #388 | ||||
* | CI: disable tsan, appears to be broken | Alan Antonuk | 2016-11-10 | 1 | -0/+4 |
| | |||||
* | Fix: add ABI AMQP_CALL decorator on public functionsmissing_call | Alan Antonuk | 2016-11-10 | 1 | -0/+3 |
| | | | | | amqp_get_socket, amqp_get_server_properties, amqp_get_client_properites were missing AMQP_CALL decorator. | ||||
* | CI: bump OpenSSL version on appveyor to 1.0.2j | Alan Antonuk | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | ci: add 'make dist' to autotools travis build | Alan Antonuk | 2016-10-14 | 1 | -0/+1 |
| | |||||
* | automake: fix make dist due to missing files. | Alan Antonuk | 2016-10-14 | 1 | -7/+1 |
| | | | | Files were removed as a part of a cleanup, and this was not caught. | ||||
* | - Modified to enable cross-compilation with mingw-w64 cross compiler. | Darmawan Salihun | 2016-10-14 | 6 | -11/+11 |
| | |||||
* | CI: install openssl on travis/osx.fix_osx | Alan Antonuk | 2016-10-14 | 1 | -1/+4 |
| | | | | | MacOSX 10.11 no longer supplies headers for openssl. Install OpenSSL using homebrew, and tell cmake where to find it. | ||||
* | removed /Z7 key when using non-Microsoft compilerpr373 | EvilBeaver | 2016-09-18 | 1 | -3/+8 |
| | |||||
* | Add ability to specify headers on the command line for amqp-publish | Andrew Gough | 2016-09-11 | 2 | -0/+48 |
| | |||||
* | Lib: simplify empty-bytes assignment in amqp_login.ub-fix | Alan Antonuk | 2016-08-20 | 1 | -2/+1 |
| | |||||
* | Lib: fix undefined behavior in amqp_encode_bytes | Alan Antonuk | 2016-08-20 | 1 | -0/+7 |
| | | | | | | Passing a NULL pointer to the src parameter of memcpy results in undefined behavior even if the len parameter is 0. Fix is to check for the length before attempting to memcpy. | ||||
* | Docs: add AMQP_SASL_METHOD_EXTERNAL documentation.sasl-docs | Alan Antonuk | 2016-08-20 | 1 | -8/+16 |
| | | | | | | | Add docs to amqp_login* functions on how to correctly use AMQP_SASL_METHOD_EXTERNAL to authenticate to the broker. Fixes #349 | ||||
* | Tools: fix --url parameter processing issues.tools-flags | Alan Antonuk | 2016-08-19 | 1 | -23/+20 |
| | | | | | | | | --url parameter should not be specified with the --server --port --username and --password parameters. Correct parameter processing routines to correctly enforce this. Fixes #364 | ||||
* | Docs: add link to new mailing list for rabbitmq-c-users.readme-update | Alan Antonuk | 2016-08-19 | 1 | -1/+2 |
| | |||||
* | CI: Update to latest OpenSSL version in appveyor.openssl-version | Alan Antonuk | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | Add NORETURN macro for MSVC | Jakub Stefański | 2016-04-21 | 1 | -0/+4 |
| | |||||
* | Fix duplicate WIN32_LEAN_AND_MEAN definition | Jakub Stefański | 2016-04-21 | 1 | -1/+3 |
| | |||||
* | Bumping revision for development.ver_bump | Alan Antonuk | 2016-04-10 | 3 | -5/+5 |
| | |||||
* | Preparation for v0.8.0 release.v0.8.0release_080 | Alan Antonuk | 2016-04-09 | 5 | -9/+39 |
| | |||||
* | Lib: correct types in ENFORCE_STATE macro.win32_warn2 | Alan Antonuk | 2016-04-09 | 1 | -9/+9 |
| | |||||
* | Fix: small warning fixes. | Alan Antonuk | 2016-04-09 | 4 | -6/+8 |
| | |||||
* | Test: correct overflow in constant. | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | Test: use correct printf for unsigned. | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | Lib: remove unreachable return statements | Alan Antonuk | 2016-04-09 | 3 | -4/+2 |
| | |||||
* | Lib: correct format string in amqp[s]_consumer.c | Alan Antonuk | 2016-04-09 | 2 | -2/+2 |
| | |||||
* | Lib: correct sign conversion issue in amqp_url.c | Alan Antonuk | 2016-04-09 | 1 | -2/+3 |
| | |||||
* | Lib: add bounds check on amqp_login inputs | Alan Antonuk | 2016-04-09 | 1 | -13/+35 |
| | | | | | Check bounds on channel_max, frame_max, and heartbeat arguments to amqp_login* functions. | ||||
* | Lib: check out of range args in amqp_*_close() fn. | Alan Antonuk | 2016-04-09 | 1 | -2/+10 |
| | | | | | Check for code parameter being between 0 -> UINT16_MAX in amqp_connection_close() and amqp_channel_close() functions. | ||||
* | Lib: add amqp_rpc_reply_error convenience function | Alan Antonuk | 2016-04-09 | 1 | -0/+7 |
| | | | | | Add internal function to construct amqp_rpc_reply_t that are library errors. | ||||
* | Lib: correct input type to ioctlsocket on win32 | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | Lib: fix shadowed variable in wait_frame_inner | Alan Antonuk | 2016-04-09 | 1 | -2/+0 |
| | |||||
* | Lib: use for(;;) for infinite loop | Alan Antonuk | 2016-04-09 | 8 | -9/+9 |
| | |||||
* | Examples: fix incorrect shadowing of loop variable | Alan Antonuk | 2016-04-09 | 1 | -3/+3 |
| | |||||
* | Examples: use correct format specifier for uint16_t | Alan Antonuk | 2016-04-09 | 1 | -2/+2 |
| | |||||
* | Lib: add missing type info on win32 in socket_init | Alan Antonuk | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | CMake: Remove install_pdb macro. | Alan Antonuk | 2016-04-09 | 2 | -49/+0 |
| | |||||
* | Win32: embed debug info in static-library | Alan Antonuk | 2016-04-09 | 1 | -2/+6 |
| | | | | | Use /Z7 with MSVC to embed debug information in the static library instead of generating a .pdb file. | ||||
* | CI: bump OpenSSL version to 1.0.2g. | Alan Antonuk | 2016-03-07 | 1 | -1/+1 |
| |