summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Lib: add methods to set timeout of AMQP RPCsrpc-timeoutAlan Antonuk2017-03-154-19/+104
| | | | Fixes #403
* Lib: close socket when amqp_login fails.Alan Antonuk2017-03-151-4/+2
|
* Lib: simplify reply generation in simple_rpc_innerAlan Antonuk2017-03-011-9/+3
|
* Doc: fix typo in amqp_get_handshake_timeout commentAlan Antonuk2017-03-011-1/+1
|
* CI: use appveyor's OpenSSL install.Alan Antonuk2017-02-201-15/+0
|
* Win32: use SRWLOCK instead of CRITIAL_SECTIONAlan Antonuk2017-02-203-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_bioAlan Antonuk2017-02-205-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 Antonuk2017-02-201-1/+1
|
* Add platform directory to YCM config.Alan Antonuk2017-02-201-0/+1
|
* Lib: re-order NULL check in empty_blocklistAlan Antonuk2016-12-041-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 friendspr383Haster2016-11-276-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.mdAlan Antonuk2016-11-151-1/+1
| | | Fixes #388
* CI: disable tsan, appears to be brokenAlan Antonuk2016-11-101-0/+4
|
* Fix: add ABI AMQP_CALL decorator on public functionsmissing_callAlan Antonuk2016-11-101-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.2jAlan Antonuk2016-10-141-1/+1
|
* ci: add 'make dist' to autotools travis buildAlan Antonuk2016-10-141-0/+1
|
* automake: fix make dist due to missing files.Alan Antonuk2016-10-141-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 Salihun2016-10-146-11/+11
|
* CI: install openssl on travis/osx.fix_osxAlan Antonuk2016-10-141-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 compilerpr373EvilBeaver2016-09-181-3/+8
|
* Add ability to specify headers on the command line for amqp-publishAndrew Gough2016-09-112-0/+48
|
* Lib: simplify empty-bytes assignment in amqp_login.ub-fixAlan Antonuk2016-08-201-2/+1
|
* Lib: fix undefined behavior in amqp_encode_bytesAlan Antonuk2016-08-201-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-docsAlan Antonuk2016-08-201-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-flagsAlan Antonuk2016-08-191-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-updateAlan Antonuk2016-08-191-1/+2
|
* CI: Update to latest OpenSSL version in appveyor.openssl-versionAlan Antonuk2016-08-191-1/+1
|
* Add NORETURN macro for MSVCJakub Stefański2016-04-211-0/+4
|
* Fix duplicate WIN32_LEAN_AND_MEAN definitionJakub Stefański2016-04-211-1/+3
|
* Bumping revision for development.ver_bumpAlan Antonuk2016-04-103-5/+5
|
* Preparation for v0.8.0 release.v0.8.0release_080Alan Antonuk2016-04-095-9/+39
|
* Lib: correct types in ENFORCE_STATE macro.win32_warn2Alan Antonuk2016-04-091-9/+9
|
* Fix: small warning fixes.Alan Antonuk2016-04-094-6/+8
|
* Test: correct overflow in constant.Alan Antonuk2016-04-091-1/+1
|
* Test: use correct printf for unsigned.Alan Antonuk2016-04-091-1/+1
|
* Lib: remove unreachable return statementsAlan Antonuk2016-04-093-4/+2
|
* Lib: correct format string in amqp[s]_consumer.cAlan Antonuk2016-04-092-2/+2
|
* Lib: correct sign conversion issue in amqp_url.cAlan Antonuk2016-04-091-2/+3
|
* Lib: add bounds check on amqp_login inputsAlan Antonuk2016-04-091-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 Antonuk2016-04-091-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 functionAlan Antonuk2016-04-091-0/+7
| | | | | Add internal function to construct amqp_rpc_reply_t that are library errors.
* Lib: correct input type to ioctlsocket on win32Alan Antonuk2016-04-091-1/+1
|
* Lib: fix shadowed variable in wait_frame_innerAlan Antonuk2016-04-091-2/+0
|
* Lib: use for(;;) for infinite loopAlan Antonuk2016-04-098-9/+9
|
* Examples: fix incorrect shadowing of loop variableAlan Antonuk2016-04-091-3/+3
|
* Examples: use correct format specifier for uint16_tAlan Antonuk2016-04-091-2/+2
|
* Lib: add missing type info on win32 in socket_initAlan Antonuk2016-04-091-1/+1
|
* CMake: Remove install_pdb macro.Alan Antonuk2016-04-092-49/+0
|
* Win32: embed debug info in static-libraryAlan Antonuk2016-04-091-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 Antonuk2016-03-071-1/+1
|