Add more debug printing of reassembled data into the app layer api.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent 4c82c0e750
commit 121e9c72aa

@ -242,6 +242,13 @@ int AppLayerHandleTCPMsg(AlpProtoDetectThreadCtx *dp_ctx, StreamMsg *smsg)
{
SCEnter();
#ifdef PRINT
printf("=> Init Stream Data -- start %s%s\n",
smsg->flags & STREAM_TOCLIENT ? "toclient" : "",
smsg->flags & STREAM_TOSERVER ? "toserver" : "");
PrintRawDataFp(stdout, smsg->data.data, smsg->data.data_len);
printf("=> Init Stream Data -- end\n");
#endif
SCLogDebug("smsg %p", smsg);
BUG_ON(smsg->flow == NULL);

Loading…
Cancel
Save