summaryrefslogtreecommitdiff
path: root/librabbitmq
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'alanxz/master'HEADmasterAsk Solem2014-10-2416-402/+1063
|\
| * Enable auto_delete & internal for exchange.declareAlan Antonuk2014-10-193-5/+8
| | | | | | | | | | | | | | | | 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.Alan Antonuk2014-10-192-346/+921
| | | | | | | | Doing this because the next change will cause a ton of diffs otherwise.
| * Fix spelling in comment for amqp_socket_writev()Eddy Jansson2014-10-141-1/+1
| |
| * Bumping revision for development.Alan Antonuk2014-09-131-2/+2
| |
| * Preparation for v0.5.2 release.Alan Antonuk2014-09-131-1/+1
| |
| * Update copyright on files changed in 2014.Alan Antonuk2014-08-2612-12/+34
| |
| * Add platform, version, copyright client propertiesAlan Antonuk2014-08-252-2/+23
| | | | | | | | | | | | | | | | | | 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>
| * Suppress OpenSSL deprecation warnings on OSXAlan Antonuk2014-08-252-4/+5
| |
| * 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
| * Bumping version for development.Alan Antonuk2014-08-111-2/+2
| |
| * Preparation for v0.5.1 release.Alan Antonuk2014-08-111-1/+1
| |
| * 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.
| * 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
* | Merge branch 'alanxz/master'Ask Solem2014-04-1425-297/+3246
|\ \ | |/ | | | | | | | | Conflicts: Makefile.am codegen
| * 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
| |
| * [openssl] Support wildcard hostname verificationMichael Steinert2014-03-044-8/+244
| | | | | | | | Most of this code comes from version Curl 7.35.
| * Add missing amqp_get_server_properties() function.Alan Antonuk2014-02-171-0/+5
| | | | | | | | Fixes #170
| * Bumping version for developmentAlan Antonuk2014-01-291-2/+2
| |
| * Preparation for v0.5.0 releaseAlan Antonuk2014-01-291-1/+1
| |
| * amqp_tcp_socket: update documentationLuka Perkov2014-01-121-1/+1
| | | | | | | | | | | | The socket is closed when amqp_connection_close() is called. Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
| * Improve documentation for amqp_ssl_socket_* funcsAlan Antonuk2014-01-011-3/+6
| | | | | | | | | | | | | | | | Correctly document the return values that the amqp_ssl_socket_set_keys, amqp_ssl_socket_set_cert, and amqp_ssl_socket_set_key_buffer functions can return. This fixes #155
| * Initial connection.blocked/unblocked supportAlan Antonuk2013-12-152-0/+39
| | | | | | | | | | Add encode/decode support for connection.blocked, connection.unblocked RabbitMQ AMQP extension
| * Fix function amqp_get_monotonic_timestamp return zerowizjin2013-12-031-3/+3
| | | | | | | | | | | | On one of my PC (Intel Core2 Duo Processor E7500 2.93 GHz), QueryPerformanceFrequency return 2933330000. This value is greater than AMQP_NS_PER_S (1000000000).
| * Use CMAKE_INSTALL_* variables provided by GNUInstallDirs.Michael Fladischer2013-11-051-5/+5
| |
| * Right unexpected frames requeue in amqp_consumer.cOleg Blednov2013-11-053-5/+37
| |
| * Moved mutex initialization inside ENABLE_THREAD_SAFETY guards.woldan2013-10-291-1/+1
| |
| * amqp.h: delivery mode constantsAlexander Klauer2013-10-031-0/+11
| | | | | | | | | | | | | | RabbitMQ defines two delivery modes, persistent and non-persistent, see http://www.rabbitmq.com/amqp-0-9-1-reference.html#class.basic for more information. This commit adds enumeration constants for these delivery modes.
| * Documentation fixesAlexander Klauer2013-10-033-6/+6
| | | | | | | | | | | | | | * amqp.h: Fix link to amqp_destroy_envelope() * amqp_ssl_socket.h: Fix typo in parameter name * amqp_tcp_socket.h: Use correct parameter name * amqp.h: Typo in amqp_basic_ack() documentation
| * Fixed the library path for the x86_64 architectureViacheslav Dubrovskyi2013-10-031-3/+3
| |
| * Add amqp_basic_nack() API functionAlan Antonuk2013-08-252-0/+35
| |
| * Bumping version due to v0.4.1 releaseAlan Antonuk2013-08-251-3/+3
| |
| * Prep for v0.4.1 releaseAlan Antonuk2013-08-251-1/+1
| |
| * FIX: use correct buf/len when re-starting send()Alan Antonuk2013-08-231-1/+1
| | | | | | | | | | | | | | Fix a bug that manifested itself by the broker disconnecting the client with an invalid_frame_end_marker error. The cause was when send() returned less than the size of the buffer to be sent we weren't using the correct parameters when restarting the send call.
| * amqp_socket_close() should not be a public fnAlan Antonuk2013-08-231-2/+0
| |
| * Add amqp_get_broker_properties() functionAlan Antonuk2013-08-154-0/+27
| | | | | | | | | | Add function to return the properties table advertised by the broker on connection to the broker.
| * Bumping revision for developmentAlan Antonuk2013-08-131-2/+2
| |
| * Updating version numbers for release of v0.4.0Alan Antonuk2013-08-131-1/+1
| |
| * Document public APIAlan Antonuk2013-08-134-186/+1678
| |
| * Add compile and runtime library version functionsAlan Antonuk2013-07-232-1/+94
| |
| * Provide defaults values for amqp_loginAlan Antonuk2013-07-231-0/+15
| | | | | | | | | | | | | | Provide default values for: - channel-max as AMQP_DEFAULT_CHANNEL_MAX 0 = unlimited - frame-size as AMQP_DEFAULT_FRAME_SIZE 131072 = 128KB - heartbeat as AMQP_DEFAULT_HEARTBEAT 0 = disabled