} elseif (empty($rawData)) {
// The peer did send nothing to us which is now being ignored
return;
+ } else {
+ /*
+ * All is fine at this point. So it is okay to add the raw data to
+ * the stacker. Here it doesn't matter if the raw data is a
+ * well-formed BASE64-encoded message with start and markers. This
+ * will be checked later on.
+ */
+ $this->addRawDataToStacker($rawData);
}
-
- // Add the raw data to the stacker
- $this->addRawDataToStacker($rawData);
}
}