summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_api.c
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2013-06-14 17:48:05 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2013-06-25 16:10:51 -0700
commitdaa0e663ed6ae6d49ed3cc0da3043e3d4e8b2252 (patch)
treec4f85982841a272f3f1a0b76708755adde52c378 /librabbitmq/amqp_api.c
parent3866433fe273eded1e601b3274028684c3e77919 (diff)
downloadrabbitmq-c-daa0e663ed6ae6d49ed3cc0da3043e3d4e8b2252.tar.gz
Add partial support for heartbeats in wait_frame
Diffstat (limited to 'librabbitmq/amqp_api.c')
-rw-r--r--librabbitmq/amqp_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/librabbitmq/amqp_api.c b/librabbitmq/amqp_api.c
index e6c9a0d..bdd7d80 100644
--- a/librabbitmq/amqp_api.c
+++ b/librabbitmq/amqp_api.c
@@ -70,7 +70,8 @@ static const char *base_error_strings[] = {
"table too large for buffer", /* AMQP_STATUS_TABLE_TOO_BIG -0x000B */
"unexpected method received", /* AMQP_STATUS_WRONG_METHOD -0x000C */
"request timed out", /* AMQP_STATUS_TIMEOUT -0x000D */
- "system timer has failed" /* AMQP_STATUS_TIMER_FAILED -0x000E */
+ "system timer has failed", /* AMQP_STATUS_TIMER_FAILED -0x000E */
+ "heartbeat timeout, connection closed"/* AMQP_STATUS_HEARTBEAT_TIMEOUT -0x000F */
};
static const char *tcp_error_strings[] = {