tcp stream: don't move to LAST_ACK on toserver resent of FIN

pull/322/head
Victor Julien 12 years ago
parent 3163243a55
commit 4845631335

@ -3268,9 +3268,7 @@ static int StreamTcpPacketStateCloseWait(ThreadVars *tv, Packet *p,
SCReturnInt(-1);
}
StreamTcpPacketSetState(p, ssn, TCP_LAST_ACK);
ssn->client.flags |= STREAMTCP_STREAM_FLAG_CLOSE_INITIATED;
SCLogDebug("ssn %p: state changed to TCP_LAST_ACK", ssn);
/* don't update to LAST_ACK here as we want a toclient FIN for that */
ssn->server.window = TCP_GET_WINDOW(p) << ssn->server.wscale;

Loading…
Cancel
Save