view mod_candy/www_files/index.html @ 2491:5fbca7de2088

mod_smacks: Send out more ack requests where needed Under some circumstances it was possible that more than "max_unacked_stanzas" where left in the outgoing stanza queue without forcing an ack. This could happen, when more stanzas entered the queue while the last ack request was still unanswered. Now the test "#queue > max_unacked_stanzas" is done upon receiving an ack as well as when sending out stanzas, which fixes this bug.
author tmolitor <thilo@eightysoft.de>
date Sun, 12 Feb 2017 19:27:50 +0100
parents 51cf82d36a8a
children
line wrap: on
line source

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Candy - Powered by Prosŏdy</title>
	<link rel="shortcut icon" href="res/img/favicon.png" type="image/gif" />
	<link rel="stylesheet" type="text/css" href="res/default.css" />

	<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
	<script type="text/javascript" src="libs.min.js"></script>
	<script type="text/javascript" src="candy.min.js"></script>
	<script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy -->
	<script type="text/javascript">
		$(document).ready(function() {
			Candy.init(Prosody.connect_path, {
				core: {
					// only set this to true if developing / debugging errors
					debug: Prosody.debug,
					// autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
					//   true
					//     -> fetch info from server (NOTE: does only work with openfire server)
					//   ['test@conference.example.com']
					//     -> array of rooms to join after connecting
					autojoin: Prosody.autojoin
				},
				view: { assets: 'res/' }
			});

			if(Prosody.anonymous) {
				Candy.Core.connect(Prosody.host);
			} else {
				Candy.Core.connect();
			}

			/**
			 * Thanks for trying Candy!
			 *
			 * If you need more information, please see here:
			 *   - Setup instructions & config params: http://candy-chat.github.io/candy/#setup
			 *   - FAQ & more: https://github.com/candy-chat/candy/wiki
			 *
			 * Mailinglist for questions:
			 *   - http://groups.google.com/group/candy-chat
			 *
			 * Github issues for bugs:
			 *   - https://github.com/candy-chat/candy/issues
			 */

			document.title += " " + Prosody.version;
		});
	</script>
</head>
<body>
	<div id="candy"></div>
</body>
</html>