Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Jan 31, 2025
1 parent 422e7ac commit 12b90f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/handler/httpsession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,11 @@ class HttpSession::Private : public QObject

void sendQueueDone()
{
// response mode may have switched the state (to Closing). in that
// case we want to leave the state alone and do nothing else
if(state != SendingQueue)
return;

state = Holding;

if(instruct.holdMode == Instruct::StreamHold)
Expand Down

0 comments on commit 12b90f5

Please sign in to comment.