diff --git a/plugin/protocol/http/src/http_entry.cpp b/plugin/protocol/http/src/http_entry.cpp index 44348ba..e29e6b4 100644 --- a/plugin/protocol/http/src/http_entry.cpp +++ b/plugin/protocol/http/src/http_entry.cpp @@ -392,6 +392,12 @@ enum tfe_stream_action http_connection_entry(const struct tfe_stream * stream, e hs_private->release_lock--; hs_private->suspend_counter++; + /* Retrieve the user's stream action, because the user may set request/response at resume's callback */ + if(hf_private_in->is_user_stream_action_set) + { + hf_private_in->stream_action = hf_private_in->user_stream_action; + } + /* Call user callback, tell user we resume from suspend */ assert(hs_private->resume_tag_singal); hs_private->resume_tag_singal = false;