+ try
+ {
+ if ((data != "") && (this->Buffer.length() + data.length() < this->Buffer.max_size()))
+ this->Buffer.append(data);
+ }
+ catch (std::length_error)
+ {
+ log(DEBUG,"std::length_error exception caught while appending to socket buffer!");
+ return 0;
+ }