| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Signed-off-by: GitHub <noreply@github.com>
|
|
|
|
| |
Replaces what was turned down in travis-ci.
|
|
|
|
| |
Github Actions have been configured to replace travis-ci for CI.
|
| |
|
|
|
|
| |
This should allow the check-format step to work on Github Actions.
|
| |
|
|
|
|
| |
Adds a github actions config that builds using cmake.
|
|
|
|
| |
This directory seems to be created by vscode.
|
|
|
|
|
|
|
|
|
|
| |
to allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
Also use UTC to be independent of timezone.
|
|
|
|
|
|
| |
There is a small typo in librabbitmq/amqp.h.
Should read `thoroughly` rather than `throughly`.
|
|
|
| |
The current setup is broken, this should fix it, and *ideally* make the CI runs a bit faster.
|
|
|
|
|
|
|
|
| |
Set both the host and port when a ':' isn't found in in the --server
flag. The attempted fix in #622 was not complete as the host was not
properly set.
Fixes #621
|
|
|
|
|
|
|
| |
Set the port to 5672 and 5671 in SSL mode in the tools when the --server
flag is used, but does not specify a port.
Fixes: #621
|
| |
|
|
|
|
| |
popt is already in the default install and causes the build to fail.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change behavior of amqp_time_from_now to set to the current timestamp
when a struct timeval of {0, 0} is passed in instead of 0. This better
aligns with how one would expect the function to work.
As a byproduct this corrects an issue where amqp_consume_message would
not return AMQP_STATUS_HEARTBEAT_TIMEOUT when a tv of {0, 0} and the
heartbeat interval had passed.
Fixes #557 in a more concise way.
|
| |
|
| |
|
|
|
|
|
|
| |
Generating a -config.cmake or Config.cmake lets rabbitmq-c be
discoverable via cmake's `find_package`, and allows easier use in the
vcpkg ecosystem.
|
|
|
|
|
| |
Per guidance from the openssl project, this seems like it might be the more correct way to configure openssl with the default configuration files.
#603
|
|
|
|
|
|
|
|
|
| |
System tests require a RabbitMQ or other AMQP server to be running on
`localhost` at TCP port number 5672 and therefore fails if no such
server is running on the build machine.
This is surprising for everyone running the standard `make test`
to ensure the library is built correctly.
|
|
|
|
|
|
|
|
|
| |
Fixes #599
Private lib entries are currently separated by semicolon.
Replace semicolon by space and add -l prefix to libs.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
|
|
|
|
| |
Frees heap allocated memory in queuename.bytes on exit.
|
| |
|
|
|
|
|
|
| |
does not provide any sort of optimization help for win32.
Fixes #591
|
|
|
|
|
|
| |
'in' parameter was not referenced in amqp_time_tv_until as described in
the documentation. This brings the implementation inline with what is
intended.
|
|
|
|
| |
Make all struct timeval parameters that can be a const, a const.
|
|
|
|
|
|
|
|
| |
These warnings have been disabled in other parts of the code and are
generally harmless. Recent refactoring in the amqp_openssl.c file have
caused these warnings to appear.
Fixes: #588
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenSSL changed the default in v1.1.1 of SSL_MODE_AUTO_RETRY from off to
on. Because rabbitmq-c uses non-blocking calls internally, this must be
disabled.
Additionally turn on SSL_MODE_ENABLE_PARTIAL_WRITE to allow SSL_write to
return before a full frame is written. This is likely a latent bug that
hasn't been found until recently.
Fixes #586
|
|
|
| |
Fix a compile error on win32 where OpenSSL and Win32 X509_* errors collide
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When parsing a frame header, validate that the frame_size is less than
or equal to INT32_MAX. Given frame_max is limited between 0 and
INT32_MAX in amqp_login and friends, this does not change the API.
This prevents a potential buffer overflow when a malicious client sends
a frame_size that is close to UINT32_MAX, in which causes an overflow
when computing state->target_size resulting in a small value there. A
buffer is then allocated with the small amount, then memcopy copies the
frame_size writing to memory beyond the end of the buffer.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Exposes DLLs generated by the build in appveyor to be downloaded.
|
|
|
|
|
|
|
|
|
| |
RabbitMQ set a new default limit of 2048 channels to prevent buggy
clients from consuming too many broker resources with open channels.
This change matches the default set in the Java client. See:
https://github.com/rabbitmq/rabbitmq-server/issues/1593
Fixes: #513
|
|
|
|
|
|
|
| |
When initializing OpenSSL in v1.1.0 or later, tell OpenSSL to ignore
missing openssl.cnf.
Fixes #523
|
|
|
| |
The order of arguments were incorrect, --build must directly specify the directory afterwards.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #488
|
| |
|