Fix out of memory problem produced by XMLLightweightParser

Description

XMLLightweightParser will store in a buffer content of stanzas that are not complete. This includes heartbeats. Clients sending heartbeats for a long time will consume a big amount of memory and may end up consuming all the memory of the server.

Detect when the buffer just contains white spaces and proceed to empty the buffer.

Environment

None

Activity

Show:

Gaston Dombiak 
June 23, 2007 at 2:08 AM

Moving to 3.3.2

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 22, 2007 at 1:06 PM
Updated June 23, 2007 at 2:08 AM
Resolved June 23, 2007 at 2:08 AM