Make sure to cleanup the buffer when processing each request or dirty data can be passed from one request to another.
Make sure to cleanup the buffer when processing each request or dirty data
can be passed from one request to another.

Add a barrier to make sure that the socket data are not bigger than the buffer
or we overflow somewhere at random.

These 2 changes should be backported to different stable branches.

asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents