summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-01-11 15:21:49 +0800
committeryangwei <[email protected]>2024-01-11 15:21:49 +0800
commit3761b190f045f9005e78c5166b1e7b8d47bc51a0 (patch)
treee3fe3a50e8d9bcb1b3a43d8598205356632fa85a
parent8b887bbe2ba0d05286d20fe23f64f1e037a58028 (diff)
🐞 fix(stellar on sapp): update active when stream close with pkt
-rw-r--r--src/stellar_on_sapp/stellar_on_sapp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stellar_on_sapp/stellar_on_sapp.c b/src/stellar_on_sapp/stellar_on_sapp.c
index b2b2cf8..634b0bf 100644
--- a/src/stellar_on_sapp/stellar_on_sapp.c
+++ b/src/stellar_on_sapp/stellar_on_sapp.c
@@ -149,6 +149,10 @@ static unsigned char loader_transfer_stream_entry(struct streaminfo *pstream, UC
}
break;
case OP_STATE_CLOSE:
+ if(a_packet)
+ {
+ entry_ret=adapter_session_state_update(pstream, ctx->sess, a_packet, SESSION_STATE_ACTIVE);
+ }
FREE(*pme);
break;
default: