view README @ 14177:67b68147ed1d 13.0

util.ringbuffer: find(): Fix find logic bugs If the buffer was full, find() would return earlier (wpos == rpos). Checking blen is the better way to test if the buffer is empty. Secondly, the loop scanned for blen - l, but if l (length of needle) was larger than the buffer length, this calculation would underflow and cause a lot of spinning. New tests have been added to cover various edge cases of :find().
author Matthew Wild <mwild1@gmail.com>
date Mon, 25 May 2026 14:44:20 +0100
parents a68f1617721b
children
line wrap: on
line source

# Prosody IM Server

## Description

Prosody is a server for Jabber/XMPP written in Lua. It aims to be easy to use
and light on resources. For developers, it aims to give a flexible system on
which to rapidly develop added functionality or rapidly prototype new
protocols.

## Useful links

Homepage:        https://prosody.im/
Download:        https://prosody.im/download
Documentation:   https://prosody.im/doc/
Issue tracker:   https://issues.prosody.im/

Jabber/XMPP Chat:
               Address:
                 prosody@conference.prosody.im
               Web interface:
                 https://chat.prosody.im/

Mailing lists:
               User support and discussion:
                 https://groups.google.com/group/prosody-users

               Development discussion:
                 https://groups.google.com/group/prosody-dev

## Installation

See the accompanying INSTALL file for help on building Prosody from source.
Alternatively see our guide at https://prosody.im/doc/install