Commits

Roger Light committed ecd396e

Don't drop all messages for disconnected durable clients when
max_queued_messages=0. Thanks to Paul Diston.

Comments (0)

Files changed (3)

   and password.
 - The queue_qos0_messages option wasn't working correctly, this has now been
   fixed. Closes bug #1125200.
+- Don't drop all messages for disconnected durable clients when
+  max_queued_messages=0.
 
 Client library:
 - Fix building on Android NDK.
 Nicholas Humfrey
 Nicholas O'Leary
 Nithin Kumar
+Paul Diston
 Peter George
 Rob Pridham
 Robin Gingras
 			return 2;
 		}
 	}else{
-		if(msg_count >= max_queued){
+		if(max_queued > 0 && msg_count >= max_queued){
 			g_msgs_dropped++;
 			return 2;
 		}else{