Do not throw an exception if eCAP transaction had to deal with a virgin body
but was not consuming it at swangSong() time. This may happen if the eCAP
adapter throws an exception before the adapter requests the virgin body
transmission or after it stops the transmission. In other words, the
transaction wrapper consumes only if proxyingVb is on.
}
}
- {
+ if (proxyingVb == opOn) {
BodyPipe::Pointer body_pipe = theVirginRep.raw().body_pipe;
if (body_pipe != NULL) {
Must(body_pipe->stillConsuming(this));