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, 2:08 AM

Moving to 3.3.2

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak