summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Preparation for v0.6.0 release.v0.6.0Alan Antonuk2015-02-225-12/+21
|
* Add methods to get frame_max and heartbeat of the connectionBogdan Padalko2015-02-112-0/+40
|
* Update rabbitmq-users list linkAlan Antonuk2015-01-301-1/+1
|
* Give the docs section its own headerDave Rolsky2015-01-121-0/+2
|
* Add test for amqp_error_string2() for new values.Alan Antonuk2015-01-065-2/+70
| | | | | Add a tests that ensures that we add error message strings as we add new amqp_status_enum values.
* Add error strings for new AMQP_STATUS values.Alan Antonuk2015-01-062-1/+5
|
* Enable SSL verification of hostname using certificates with Subject ↵Yevhen Kyriukha2015-01-061-29/+75
| | | | | | | | Alternate Names DNS entries. Additional check for entries in SSL certificate. Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com>
* Check for closed socket in amqp_ssl_socket_send().Alan Antonuk2015-01-061-0/+4
|
* Remove extra line from docs.Alan Antonuk2015-01-021-1/+0
| | | | | Remove extra text from documentation of amqp_basic_publish that was left there from an earlier edit.
* Alloc an struct when decoding methods w/o fieldsAlan Antonuk2014-12-292-24/+39
| | | | | | | For consistency sake, allocate and return a struct when decoding methods that don't have fields. Fixes #225
* Add blocks to allow compilation with C89 compilers.Alan Antonuk2014-12-291-77/+87
| | | | C89 compilers can't do mixed definitions and code.
* Check for double close/open in socket implAlan Antonuk2014-12-293-15/+41
| | | | | | | Check to state of socket when doing open/read/write/close to prevent double-open and double-close issues with the socket implementation. Fixes #228
* Enable auto_delete & internal for exchange.declaredeclare_xchg_parmsAlan Antonuk2014-10-195-7/+10
| | | | | | | | Enable auto_delete and internal parameters of amqp_exchange_declare() in codegen. These were once not generated because RabbitMQ did not support these parameters. The broker now supports these and so should we. This fixes #218
* Regen amqp_framing.[ch] to include autogend docs.framing_docsAlan Antonuk2014-10-192-346/+921
| | | | Doing this because the next change will cause a ton of diffs otherwise.
* Enable SSL support for tools too.Michael Fladischer2014-10-171-0/+4
| | | | | In tools/common.c `#ifdef WITH_SSL` is used but never defined if SSL support is desired.
* Fix spelling in comment for amqp_socket_writev()Eddy Jansson2014-10-141-1/+1
|
* Bumping revision for development.Alan Antonuk2014-09-133-5/+5
|
* Preparation for v0.5.2 release.v0.5.2Alan Antonuk2014-09-135-6/+14
|
* amqp-consume: support consuming N messages at a timeAntonio Terceiro2014-09-032-3/+45
| | | | | | | | | | | | | | | If you have a single consumer C₁ and 10 messages are published, all 10 will be streamed to that one customer. Assume each message takes a few minutes to be handled. If a second consumer C₂ comes up before C₁ is able to process its first message, it will stay idle until new messages are published, while C₁ will still have to process the other 9 messages after finishing with the first one. If both consumers were started with `--messages 1`, C₁ would only fetch a single message, and start handling it; C₂ would start and already receive the second message .
* Revert "Stop CMake warning about @rpath on Mac OS X."Alan Antonuk2014-09-021-1/+0
| | | | | This reverts commit c9f00dfb9f5ce306398f18cafa143988a4f61515. Because it breaks under CMake versions that don't know what CMP0042 is.
* Stop CMake warning about @rpath on Mac OS X.Alan Antonuk2014-09-021-0/+1
|
* CMake: check for PKG_CONFIG_FOUND in FindPOPT.cmakeAlan Antonuk2014-09-021-2/+4
|
* Print message body in amqp[s]_listen[q] examples.Alan Antonuk2014-09-015-3/+12
| | | | This fixes #199.
* Update copyright on files changed in 2014.Alan Antonuk2014-08-2612-12/+34
|
* Add platform, version, copyright client propertiesAlan Antonuk2014-08-254-2/+26
| | | | | | | | | Add 'platform' 'version', 'copyright' client-properties to start-ok method during connection handshake. Adapted from: https://github.com/synety-jdebp/rabbitmq-c/commit/e3c76e1887ff50378f6146167daa024dbd7d4eeb by: Jonathan de Boyne Pollard <jonathan.de.boyne.pollard@synety.com>
* Enable compiler warnings with ClangAlan Antonuk2014-08-251-0/+2
|
* Suppress OpenSSL deprecation warnings on OSXAlan Antonuk2014-08-254-4/+12
|
* ssl: Fix a bug that host name verification failure isn't reportedKouhei Sutou2014-08-251-2/+2
| | | | | | | | There is an unexpected local variable shadowing in amqp_ssl_socket_open(). So the following code is meaningless unexpectedly. status = AMQP_STATUS_SSL_HOSTNAME_VERIFY_FAILED
* Add usable YCM configuration file.Alan Antonuk2014-08-162-1/+156
|
* autoconf: look for htonll in arpa/inet.hAlan Antonuk2014-08-131-1/+20
| | | | | | | htonll maybe defined as a macro, look for it in the arpa/inet.h. CMake build system already does the right thing. Fixes #206
* Bumping version for development.Alan Antonuk2014-08-112-3/+3
|
* Preparation for v0.5.1 release.v0.5.1Alan Antonuk2014-08-115-6/+30
|
* FIX: don't range-check channel_ids.Alan Antonuk2014-08-021-4/+0
| | | | | | | | | | | Even if a channel_max is specified, channel_ids can be any number, so don't range-check channel_ids received. At present this gets rabbitmq-c back into compliance with the way the RabbitMQ broker works. See issue #187, #195 To correctly enforce channel_max from the client side, rabbitmq-c would need to track open channels, which is a bit more involved to do correctly.
* Fix: remove superfulous assignment in amqp_socket.cAlan Antonuk2014-07-271-1/+0
| | | | | sockfd is assigned, then assigned again unconditionally without being read from. There's no point in this statement, so lets get rid of it.
* Ignore build directories.Alan Antonuk2014-07-271-0/+1
|
* Correct htonll macro detection in CMake.Alan Antonuk2014-07-261-1/+1
| | | | | | | | | CMake's check_function_exists() only checks for a symbol being defined in a library, and does not cover the instance where a function may be defined as a macro a header. Use check_symbol_exists() to check arpa/inet.h header for symbol existance of htonll. This fixes #200
* Add clang-format configuration file.Alan Antonuk2014-07-201-0/+47
|
* FIX: Improve invalid frame detection code.Alan Antonuk2014-07-142-3/+13
| | | | | | | | Improve detection of invalid AMQP frame header before allocating frame buffer. This fixes #187. Thanks to Mike Stitt <mikes@spindance.com> for the inspiration on this.
* Remove unused INITIAL_DECODING_POOL_PAGE_SIZE defAlan Antonuk2014-07-111-4/+0
| | | | | AMQP_INITIAL_DECODING_POOL_PAGE_SIZE isn't used anywhere in the code. Getting rid of it.
* Allow INITIAL bufffer and page size configurationMike Stitt2014-07-111-6/+15
| | | | Signed-off-by: Mike Stitt <mikes@spindance.com>
* FIX: incorrect OOM for 0-len xchg in amqp_consume.Alan Antonuk2014-07-111-3/+10
| | | | | | | This fixes a bug in amqp_consume where the function would incorrectly return an OOM condition when a 0-length exchange name was returned. Fixes #192
* Correct #include <sys/uio.h> location.Alan Antonuk2014-05-072-1/+1
| | | | | | | | | sys/uio.h should be included in amqp_private.h and not amqp.h, it also should not be protected by a test for the GCC compiler. This should fix the issue with compiling rabbitmq-c on HP-UX using aCC. This fixes #183.
* Use gethrtime() on HP-UX for timers.Alan Antonuk2014-05-071-0/+4
| | | | | | | HP-UX does not have clock_gettime(CLOCK_MONOTONIC), instead use platform-specific gethrtime() function. Thanks to zhongk for this fix.
* Fixed timeval to milliseconds calculation errorjestor2014-05-081-1/+1
| | | milliseconds = seconds * 1000 + microseconds / 1000
* Use poll(2) for timeouts on socketAlan Antonuk2014-04-142-17/+35
| | | | | | | Use poll(2) instead of select(2) to do timeout operations on sockets. This helps with the situation where the fd is larger than FD_MAXSIZE. Fixes #168
* CMake: Add -DHAVE_CONFIG_H to tests/*.cAlan Antonuk2014-04-131-0/+2
| | | | | test_hostcheck includes a file which includes amqp_private.h which needs config.h.
* Mingw: specify WINVER 0x0502 when unspecified.Alan Antonuk2014-04-134-6/+18
| | | | WINVER 0x0502 is WinXP SP2
* MinGW : missing ssize_t typedefemazv722014-04-131-2/+4
|
* Fixes for travis-ci configuration.Alan Antonuk2014-04-131-5/+17
|
* Add coverity_scan coverage to travis configAlan Antonuk2014-04-131-11/+26
|